From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,e4bedd1c437d6a83 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-03-31 06:26:09 PST Path: gmd.de!newsserver.jvnc.net!darwin.sura.net!udel!MathWorks.Com!yeshua.marcam.com!zip.eecs.umich.edu!umn.edu!mayonews.mayo.edu!paploo!glascock From: glascock@paploo.mayo.edu (Don Glascock) Newsgroups: comp.unix.osf.osf1 Subject: Re: Member name length in ar libraries Date: 31 Mar 1994 14:26:09 GMT Organization: SPPDG, Mayo Foundation, Rochester, MN, USA Sender: glascock@paploo (Don Glascock) Distribution: world Message-ID: <2nemi1$l83@fermat.mayo.edu> References: Reply-To: glascock@mayo.edu NNTP-Posting-Host: paploo.mayo.edu X-Newsreader: mxrn 6.18-9 In article , capkun@pluto.dev.promis.com (Joe Capkun) writes: |> ar can include member files which have filenames up to 15 characters long. In |> /usr/include/ar.h in the ar_hdr struct is defined ar_name[16]. So it looks |> like I can change the value to, say 33, and ar will use the new value. Wrong. |> Tried that and ar didn't change it's behaviour. |> |> My question is: Can I convince ar to accept filenames which could be up to |> 40 or 50 characters and not truncate them to 15? |> |> -- |> ------------------------------------------------------------------------------- |> Joe Capkun, capkun@promis.com |> Promis Systems Corp., Crown Life Place, North Tower, |> Toronto, Ontario, Canada, tel. +1 416 960-0960 x271 Some of the folks in our group ran into problems when using GNU make to fetch files out of archives on various platforms: GNU make was compiled with the supplied (say) fifteen character file name length, but because HPUX 9.01 had a different length compiled into "ar" of (say) fourteen, GNU make could not find the requested files in the archive. All I'm hoping to point out here is that changing the size of the names can have effects on other pieces of software. You may already have considered this, but just in case... Later & have a good one... don -- + + + + + + + + + + + + + Don Glascock + Mailstop GU-10 + Special Purpose Processor Development Group + Mayo Foundation + Rochester, MN 55905 + glascock@mayo.edu (507) 284-1850 + "No matter where you go, there you are." + + + + + + + + + + + + +