NetBSD/bin
christos d980bf3418 Keep track of the length of the gnu long name/link hack, so that
we can append to it. Modify the code so that file_write is re-entrant,
even in the gnu long name/link hack.

The old code assumed that the buffer already contained the necessary
blocks to satisfy the read file request that contained the long
filename. This is not always the case, specially when we are dealing
with pipes which do shorter reads, thus having more probability
that a long file name will fall across a buffer boundary.

To reproduce, create a tar archive with a lot of gnu-long-names
(pkgsrc/devel/libsigc++2 is a good example), do a tar -tf to get
a list of filenames, compress it and do a tar -tzf to get another
list of the filenames. Notice that the two lists differ.
2004-09-22 15:03:18 +00:00
..
cat Remove unused code left over from temporary printescaped functionality. 2004-01-04 03:31:28 +00:00
chio Sync usage with man page. Closes PR 25861 by Kouichirou Hiratsuka. 2004-06-25 14:27:57 +00:00
chmod Remove unused code left over from temporary printescaped functionality. 2004-01-04 03:34:00 +00:00
cp remove unused code left from printescaped() backput as pointed out by Jeff 2004-01-04 16:04:18 +00:00
csh Deal with RESCUE 2004-08-19 22:31:38 +00:00
date Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 09:05:01 +00:00
dd Spell the plural of suffix "suffixes", not "suffices". 2004-02-13 17:56:17 +00:00
df Drop LSBs when denominator is big. 2004-07-17 00:29:08 +00:00
domainname Drop extra space. 2004-06-15 14:08:33 +00:00
echo Put a few headers back so this compiles again. 2003-11-25 03:40:18 +00:00
ed use ${HOST_SH} instead of /bin/sh 2003-10-26 03:50:07 +00:00
expr Grammar improvement by Patrick Welche. 2004-04-23 13:28:58 +00:00
hostname Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 09:05:01 +00:00
kill Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 09:05:01 +00:00
ksh Handle RESCUEDIR 2004-08-19 23:00:22 +00:00
ln Add -v to usage. Closes PR 25862 by Kouichirou Hiratsuka. 2004-06-25 14:25:33 +00:00
ls If a files date is any time in the future (not six months or more), 2004-08-09 20:14:54 +00:00
mkdir remove unused code left from printescaped() backput as pointed out by Jeff 2004-01-04 16:04:18 +00:00
mt Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 09:05:01 +00:00
mv Deal with RESCUEDIR 2004-08-19 22:25:49 +00:00
pax Keep track of the length of the gnu long name/link hack, so that 2004-09-22 15:03:18 +00:00
ps Bump date for laddr. 2004-08-23 17:36:19 +00:00
pwd file system, not filesystem; e.g. is an abbreviation; use FAT instead of msdos 2003-10-30 14:58:23 +00:00
rcmd Bump date for removal of Kerberos option descriptions. 2004-09-05 08:48:32 +00:00
rcp Bump date for removal of Kerberos option descriptions. 2004-09-05 08:48:32 +00:00
rm Sort sections, bump date for previous, and add a comma after e.g.. 2004-03-24 11:37:07 +00:00
rmdir Fix rmdir -p x/y/z// 2003-09-29 21:11:15 +00:00
sh Add new builtin `wordexp' to support wordexp(3). 2004-07-13 15:05:59 +00:00
sleep Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 09:05:01 +00:00
stty Fix longstanding gap in stty functionality: while many operations had 2004-04-01 16:10:03 +00:00
sync Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 09:05:01 +00:00
systrace use native syscallnames[] array for 'aout' and 'aoutm68k' "emulations" - it's 2004-09-12 11:05:43 +00:00
test Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 09:05:01 +00:00
Makefile Add userland portion of systrace. 2002-06-17 16:29:07 +00:00
Makefile.inc Revert previous; the change that required it will be done differently. 2002-09-27 21:04:46 +00:00