freebsd-dev/contrib
Peter Wemm 13aee6bd41 Fix a serious bug in the recursion processor. When descending a tree,
the descend can jump several directories down in one hit, eg: when a user
mentions multiple directories on the command line, eg: "cvs diff
sys/i386/isa/snd sys/sys".  The problem is that the chdir()s are
pushed/popped to account for this, but the "full path" merely has
the last component chopped off on the way back up.  This busts lots
of things when the recursion is backing up more than one directory (such
as in the example).  This causes 'cvs diff' to emit bogus Index: lines,
'cvs update' to do really stupid things, 'cvs commit' to record incorrect
pathnames etc.  I'm not sure that what I've done is quite correct, there
seems to be a comment that implies some sort of problem with "." vs. ""
equivalence or not, perhaps this is a problem on some other OS's, but
I've not (yet) found any problems.  This bug has been present since
at least cvs-1.8.1.

This should fix problems noted by several people including asami and jmg.
1997-10-12 12:47:05 +00:00
..
bind This commit was generated by cvs2svn to compensate for changes in r26971, 1997-06-27 07:25:32 +00:00
bison Fix the location of the files in the FILES section. 1997-03-22 23:59:56 +00:00
cpio fix misspelling 1997-08-30 11:01:54 +00:00
cvs Fix a serious bug in the recursion processor. When descending a tree, 1997-10-12 12:47:05 +00:00
gcc spelling corrections. 1997-09-13 16:01:53 +00:00
gdb Removed most unused files (about 8M total). 1997-06-29 18:12:14 +00:00
global make a string longer so we can handle deeper source trees. 1997-10-11 01:07:42 +00:00
gperf Make this compile. they use a variable "abort" which is prototyped. 1996-09-10 13:58:10 +00:00
groff .Ox macro needs to support "OpenBSD 2.1" 1997-09-19 21:37:05 +00:00
ipfilter Import version 3.2alpha7 1997-05-25 15:49:17 +00:00
libg++ Add a genclass.1 manpage. 1997-09-15 19:18:59 +00:00
libgmp This commit was generated by cvs2svn to compensate for changes in r28896, 1997-08-29 13:48:36 +00:00
libpcap Merge libpcap 0.3 1997-05-27 00:05:23 +00:00
libreadline Merge with previous variant 1997-06-07 12:58:06 +00:00
nvi Polish message catalogs for vi. 1997-09-22 23:14:37 +00:00
opie Move locks from /etc/opielocks to /var/run/opielocks to keep 1997-10-01 13:02:20 +00:00
patch Add a blurb on how to import newer versions of patch(1) so 1997-06-29 07:20:16 +00:00
pnpinfo this is an import of Sujal M. Petal's pnpinfo.. it includes modifications 1997-09-19 15:36:00 +00:00
tcl Resolve conflicts. 1997-10-01 13:27:30 +00:00
tcpdump Get rid of the T2CHECK() macro, since it duplicates functionality 1997-05-27 02:20:36 +00:00
telnet PR: bin/771 and bin/1037 are resolved by this change 1997-10-08 03:14:34 +00:00
texinfo fix misspelling 1997-08-30 11:12:39 +00:00
top spelling corrections. 1997-09-13 16:01:53 +00:00
traceroute Fix a typo. Oops. 1996-10-08 19:16:24 +00:00