* Member name length in ar libraries
@ 1994-03-30 19:44 Joe Capkun
1994-03-31 14:26 ` Don Glascock
0 siblings, 1 reply; 2+ messages in thread
From: Joe Capkun @ 1994-03-30 19:44 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: Member name length in ar libraries
1994-03-30 19:44 Member name length in ar libraries Joe Capkun
@ 1994-03-31 14:26 ` Don Glascock
0 siblings, 0 replies; 2+ messages in thread
From: Don Glascock @ 1994-03-31 14:26 UTC (permalink / raw)
In article <capkun.765056641@news.promis.com>, 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."
+ + + + + + + + + + + + +
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1994-03-31 14:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-03-30 19:44 Member name length in ar libraries Joe Capkun
1994-03-31 14:26 ` Don Glascock
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox