1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-31 16:57:10 +00:00
freebsd/contrib
John Polstra ae5dbaf270 Fix a bug that shows up when checking out files by date with the
"-D date" command line option.  There is code in the original to
handle a special case.  If the date search finds revision 1.1 it
is supposed to check whether revision 1.1.1.1 has the same date
stamp, which would indicate that the file was originally brought
in with "cvs import".  In that case it is supposed to return the
vendor branch version 1.1.1.1.

However, there is a bug in the code.  It actually compares the date
of revision 1.1 for equality with the date given on the command
line -- clearly wrong.  This commit fixes the coding bug.

There is an additional bug which is _not_ fixed in this commit.
The date comparison should not be a strict equality test.  It should
allow a fudge factor of, say, 2-3 seconds.  Old versions of CVS
created the two revisions with two separate invocations of the RCS
"ci" command.  We have many old files in the tree in which the
dates of revisions 1.1 and 1.1.1.1 differ by 1 second.

Approved by:	peter
2000-10-29 03:56:49 +00:00
..
amd Document change to the default mount dir. 2000-09-01 01:17:18 +00:00
awk Fix bug that causes gawk to choke when parsing long source files. 2000-09-04 10:42:19 +00:00
bc
bind This commit was generated by cvs2svn to compensate for changes in r65016, 2000-08-23 09:25:05 +00:00
binutils Upgrade to Binutils 2.10.0. 2000-07-06 21:33:51 +00:00
com_err
cpio
cvs Fix a bug that shows up when checking out files by date with the 2000-10-29 03:56:49 +00:00
diff Also coerce diff(1) into working the other way (from no-\n to \n). 2000-09-15 11:35:16 +00:00
gcc Helper listing file specs to remove from a FSF/GCC anoncvs checkout 2000-10-13 11:35:53 +00:00
gdb This commit was generated by cvs2svn to compensate for changes in r64234, 2000-08-04 09:35:05 +00:00
gperf Helper to trim extracted files for use when importing new versions of 2000-10-13 12:36:13 +00:00
groff Cleaned up the .St macro. 2000-10-11 09:51:27 +00:00
ipfilter fix conflicts from rcsids 2000-10-26 12:47:40 +00:00
isc-dhcp Fix conflicts. 2000-08-09 18:38:26 +00:00
less Merge vendor changes onto mainline. 2000-07-14 09:57:37 +00:00
libf2c
libgmp
libio
libobjc
libpam
libpcap This commit was generated by cvs2svn to compensate for changes in r63696, 2000-07-20 21:26:45 +00:00
libreadline
libstdc++
ncurses Merge ncurses vendor changes (v5_1_20000701->v5_1_20001009) onto mainline 2000-10-11 07:33:47 +00:00
ntp
nvi Ukrainian message catalogs for vi. 2000-08-22 21:59:42 +00:00
opie Correct security hole in setproctitle(). We don't compile this code, but 2000-07-10 07:30:28 +00:00
patch
perl5 Resolve conflicts. 2000-08-20 09:51:08 +00:00
pnpinfo
sendmail Add FreeBSD-only options to the getopt string 2000-10-10 22:27:08 +00:00
tcp_wrappers - reject numeric address 2000-09-25 00:41:55 +00:00
tcpdump * Buffer-safe string function cleanup. There are a couple of strcpy() 2000-10-05 02:49:49 +00:00
tcsh
telnet Sync with usr.bin/telnet/telnet.c r1.9 - fix buffer overflow in DISPLAY 2000-10-29 00:10:14 +00:00
texinfo
top display.c: sprintf -> snprintf 2000-10-04 23:34:16 +00:00
traceroute Defining usage() "__dead" is just ridiculous. It also won't compile with 2000-10-27 05:51:59 +00:00