Home | History | Annotate | only in /src/usr.bin/rdist
History log of /src/usr.bin/rdist
RevisionDateAuthorComments
 1.15 03-Jun-2023  lukem bsd.own.mk: rename GCC_NO_* to CC_WNO_*

Rename compiler-warning-disable variables from
GCC_NO_warning
to
CC_WNO_warning
where warning is the full warning name as used by the compiler.

GCC_NO_IMPLICIT_FALLTHRU is CC_WNO_IMPLICIT_FALLTHROUGH

Using the convention CC_compilerflag, where compilerflag
is based on the full compiler flag name.
 1.14 13-Oct-2019  mrg introduce some common variables for use in GCC warning disables:

GCC_NO_FORMAT_TRUNCATION -Wno-format-truncation (GCC 7/8)
GCC_NO_STRINGOP_TRUNCATION -Wno-stringop-truncation (GCC 8)
GCC_NO_STRINGOP_OVERFLOW -Wno-stringop-overflow (GCC 8)
GCC_NO_CAST_FUNCTION_TYPE -Wno-cast-function-type (GCC 8)

use these to turn off warnings for most GCC-8 complaints. many
of these are false positives, most of the real bugs are already
commited, or are yet to come.


we plan to introduce versions of (some?) of these that use the
"-Wno-error=" form, which still displays the warnings but does
not make it an error, and all of the above will be re-considered
as either being "fix me" (warning still displayed) or "warning
is wrong."
 1.13 29-Sep-2019  mrg convert HAVE_GCC == 7 to HAVE_GCC >= 7.
 1.12 04-Feb-2019  mrg - use -Wno-error=format-truncation
 1.11 28-May-2007  tls branches: 1.11.76;
Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the
FORTIFY_SOURCE feature of libssp, thus checking the size of arguments to
various string and memory copy and set functions (as well as a few system
calls and other miscellany) where known at function entry. RedHat has
evidently built all "core system packages" with this option for some time.

This option should be used at the top of Makefiles (or Makefile.inc where
this is used for subdirectories) but after any setting of LIB.

This is only useful for userland code, and cannot be used in libc or in
any code which includes the libc internals, because it overrides certain
libc functions with macros. Some effort has been made to make USE_FORT=yes
work correctly for a full-system build by having the bsd.sys.mk logic
disable the feature where it should not be used (libc, libssp iteself,
the kernel) but no attempt has been made to build the entire system with
USE_FORT and doing so will doubtless expose numerous bugs and misfeatures.

Adjust the system build so that all programs and libraries that are setuid,
directly handle network data (including serial comm data), perform
authentication, or appear likely to have (or have a history of having)
data-driven bugs (e.g. file(1)) are built with USE_FORT=yes by default,
with the exception of libc, which cannot use USE_FORT and thus uses
only USE_SSP by default. Tested on i386 with no ill results; USE_FORT=no
per-directory or in a system build will disable if desired.
 1.10 03-Jul-2000  matt Make gcc 2.96 (and maybe earlier) happier. Include <stdlib.h>,<string.>,
etc. as appropriate to get exit,srncmp,abs,abort,etc.
Add -I${.CURDIR} to a few Makefiles
 1.9 09-Apr-1998  tv .y.c <sys.mk> rule fixes. Don't create a y.tab.h file unless asked for,
and use smarter creation of the header file.
 1.8 18-Oct-1997  mrg merge lite-2.
 1.7 08-Oct-1997  christos Don't need -I${.CURDIR}
 1.6 26-May-1997  mrg rdist is no longer setuid root.
 1.5 12-Jul-1996  thorpej branches: 1.5.2;
RCS id police.
 1.4 12-Jul-1996  thorpej From Christos: kill the last bits of sprintf(), and use regcomp/regexec
rather than re_comp/re_exec. (I committed my sprintf sweep-up before
I realized that Christos had already done it...)
 1.3 07-Mar-1994  cgd branches: 1.3.8;
update to newest rdist from berkeley (via uunet). No security fixes, but
general cleanup.
 1.2 31-Jul-1993  mycroft Add RCS indentifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 19-Jul-1993  mrg 4.4BSD-Lite2
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.3.8.1 16-Jul-1996  jtc Security fixes, pulled up by request from Jason Thorpe
 1.5.2.1 17-Feb-1997  mrg this program is not setuid in the new-rcmd-world-order
 1.11.76.2 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.11.76.1 10-Jun-2019  christos Sync with HEAD
 1.3 15-Feb-1999  hubertf RCS ID police
 1.2 07-Mar-1994  cgd update to newest rdist from berkeley (via uunet). No security fixes, but
general cleanup.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 10-Jun-1993  mrg 4.4BSD-Lite2
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.19 06-Sep-2011  joerg Use __dead and __printflike.
 1.18 13-Apr-2009  lukem Fix WARNS=4 issues (-Wshadow -Wcast-qual -Wsign-compare)
 1.17 18-Mar-2006  christos branches: 1.17.30;
Coverity CID 2341, 2342: Plug memory leak.
 1.16 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.15 06-Dec-2002  thorpej Avoid confict with reserved identifier "log".
 1.14 14-Jun-2002  wiz Remove #if __STDC__. De-__P() and ANSIfy.
 1.13 11-Oct-2000  is branches: 1.13.2;
More format string cleanup by sommerfeld.
 1.12 19-Dec-1998  christos branches: 1.12.2; 1.12.10;
de-ja-vous
This thing was still using <sys/dir.h> and struct direct.
Get rid of the time warp.
 1.11 02-Apr-1998  kleink Include <time.h>, needed for various definitions.
 1.10 19-Oct-1997  mycroft Use S_IS*(), not S_IF*.
 1.9 19-Oct-1997  mycroft Use S_IS*().
Use mode_t, uid_t, and gid_t as appropriate.
Don't use futimes(2) on a directory.
 1.8 18-Oct-1997  mrg merge lite-2.
 1.7 12-Jul-1996  thorpej RCS id police.
 1.6 12-Jul-1996  thorpej From Christos: kill the last bits of sprintf(), and use regcomp/regexec
rather than re_comp/re_exec. (I committed my sprintf sweep-up before
I realized that Christos had already done it...)
 1.5 07-Mar-1994  cgd branches: 1.5.8;
update to newest rdist from berkeley (via uunet). No security fixes, but
general cleanup.
 1.4 04-Dec-1993  jtc Use <dirent.h> instead of <sys/dir.h>.
 1.3 01-Aug-1993  mycroft Add RCS identifiers.
 1.2 19-Apr-1993  mycroft Cleanup for GCC 2.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 10-Jun-1993  mrg 4.4BSD-Lite2
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.5.8.1 16-Jul-1996  jtc Security fixes, pulled up by request from Jason Thorpe
 1.12.10.1 18-Oct-2000  tv Pullup usr.bin string format fixes [is].
See "cvs log" for explicit revision numbers per file, from sommerfeld.
 1.12.2.1 19-Oct-2000  he Pull up revision 1.13 (requested by he):
Format string cleanup.
 1.13.2.1 23-Jul-2004  tron Apply patch (requested by dbj in ticket 1724):
Fix problems when building the netbsd-1-6 branch with GCC 3.3.3.
 1.17.30.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.30 18-Oct-2013  christos more clobbering fixes.
 1.29 18-Oct-2013  christos fix clobbered variable
 1.28 13-Apr-2009  lukem branches: 1.28.6; 1.28.12;
Fix WARNS=4 issues (-Wshadow -Wcast-qual -Wsign-compare)
 1.27 18-Dec-2006  christos branches: 1.27.20;
From Anon Ymous:
Convert "(void)&" constructs to "volatile".
Check gid against (gid_t)-1 rather than >= 0; gid_t is unsigned.
Flag some parameters __unused so this will compile with -Werror.
 1.26 04-Aug-2004  ginsbach Append only '@host' to notify email addresses when the destination
host is of the format 'login@host'. Fixes PR 14412; reviewed by
<christos>.
 1.25 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.24 23-Jul-2003  itojun use bounded string op
 1.23 12-Jul-2003  itojun strlcpy
 1.22 06-Dec-2002  thorpej Avoid confict with reserved identifier "log".
 1.21 14-Jun-2002  wiz Remove #if __STDC__. De-__P() and ANSIfy.
 1.20 12-Jun-2000  mrg branches: 1.20.4;
apply patches in PR bin/9249: rdist doesn't remove temporary file, from
<Michael.Eriksson@era-t.ericsson.se> to ensure we always remove the tempfile
(broken since mkstemp() was introduced).
 1.19 20-Apr-1999  mrg branches: 1.19.6;
check some more syscall return values. use mkstemp.
 1.18 19-Dec-1998  christos de-ja-vous
This thing was still using <sys/dir.h> and struct direct.
Get rid of the time warp.
 1.17 24-Oct-1997  scottr Fix more borken compiler lossage, this time for m68k.
 1.16 19-Oct-1997  mrg branches: 1.16.2;
fix compile warnings on the alpha.
 1.15 19-Oct-1997  mycroft Output the right file name in an error message.
Also a cosmetic change; pass a null pointer to gettimeofday() for the
time zone info.
 1.14 19-Oct-1997  mycroft Use S_IS*().
Use mode_t, uid_t, and gid_t as appropriate.
Don't use futimes(2) on a directory.
 1.13 19-Oct-1997  lukem WARNSify, fix .Nm usage, deprecate register, s/[br]*/[ms]*/
 1.12 18-Oct-1997  mrg merge lite-2.
 1.11 08-Oct-1997  christos Pr/4180: Erik Bertelsen: rdist does not produce intelligible error messages
and core dumps when the remote host is down:
- avoid core dumps by checking lfp before using it.
- use rcmd's err descriptor to grab and print the message.
 1.10 13-Aug-1996  explorer call regfree() -- closes pr bin/2691.
Bug noticed and fixed by Charles Amos <amos@umiacs.umd.edu>
Submitted by Mike Grupenhoff
 1.9 12-Jul-1996  thorpej RCS id police.
 1.8 12-Jul-1996  thorpej From Christos: kill the last bits of sprintf(), and use regcomp/regexec
rather than re_comp/re_exec. (I committed my sprintf sweep-up before
I realized that Christos had already done it...)
 1.7 12-Jul-1996  thorpej Use snprintf() whenever feasible.
 1.6 07-Mar-1994  cgd branches: 1.6.8;
update to newest rdist from berkeley (via uunet). No security fixes, but
general cleanup.
 1.5 23-Jan-1994  cgd mixing setreuid and seteuid can really screw you, in terms of security
 1.4 04-Dec-1993  jtc Use <dirent.h> instead of <sys/dir.h>.
 1.3 07-Aug-1993  cgd merge in changes from netbsd-0-9-ALPHA2
 1.2 01-Aug-1993  mycroft Add RCS identifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 10-Jun-1993  mrg 4.4BSD-Lite2
 1.1.1.1 21-Mar-1993  cgd branches: 1.1.1.1.2;
initial import of 386bsd-0.1 sources
 1.1.1.1.2.1 01-Aug-1993  cgd args to regexec() were reversed, causing exclusion pattern matching to fail.
fix from root@packrat.vorpal.com
 1.6.8.1 16-Jul-1996  jtc Security fixes, pulled up by request from Jason Thorpe
 1.16.2.1 24-Oct-1997  thorpej Pull up from trunk: fix warning on m68k systems.
 1.19.6.1 23-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.20.4.1 23-Jul-2004  tron Apply patch (requested by dbj in ticket 1724):
Fix problems when building the netbsd-1-6 branch with GCC 3.3.3.
 1.27.20.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.28.12.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.28.6.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.19 03-Aug-2023  mrg avoid having addresses of local variable exist after a function returns.

found by GCC 12.
 1.18 14-Jul-2009  apb Delete unused static smatch() function.
Inspired by PR 41255 from Kurt Lidl (which used #if 0 instead of
deleting the function).
 1.17 13-Apr-2009  lukem Fix WARNS=4 issues (-Wshadow -Wcast-qual -Wsign-compare)
 1.16 07-Aug-2003  agc branches: 1.16.42;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.15 23-Jul-2003  itojun use bounded string op
 1.14 14-Jun-2002  wiz Remove #if __STDC__. De-__P() and ANSIfy.
 1.13 19-Dec-1998  christos de-ja-vous
This thing was still using <sys/dir.h> and struct direct.
Get rid of the time warp.
 1.12 25-Aug-1998  ross Add { and } to shut up egcs. Reformat the more questionable code.
 1.11 19-Oct-1997  mycroft Use S_IS*(), not S_IF*.
 1.10 19-Oct-1997  lukem WARNSify, fix .Nm usage, deprecate register, s/[br]*/[ms]*/
 1.9 18-Oct-1997  mrg merge lite-2.
 1.8 17-May-1997  pk NULL => 0 (Arne Juul; PR#3629)
 1.7 12-Jul-1996  thorpej RCS id police.
 1.6 12-Jul-1996  thorpej Use snprintf() whenever feasible.
 1.5 07-Mar-1994  cgd branches: 1.5.8;
update to newest rdist from berkeley (via uunet). No security fixes, but
general cleanup.
 1.4 04-Dec-1993  jtc Use <dirent.h> instead of <sys/dir.h>.
 1.3 01-Aug-1993  mycroft Add RCS identifiers.
 1.2 19-Apr-1993  mycroft Cleanup for GCC 2.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 10-Jun-1993  mrg 4.4BSD-Lite2
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.5.8.1 16-Jul-1996  jtc Security fixes, pulled up by request from Jason Thorpe
 1.16.42.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.14 03-Feb-2019  mrg - add or adjust /* FALLTHROUGH */ where appropriate
- add __unreachable() after functions that can return but won't in
this case, and thus can't be marked __dead easily
 1.13 13-Apr-2009  lukem branches: 1.13.46;
Fix WARNS=4 issues (-Wshadow -Wcast-qual -Wsign-compare)
 1.12 18-Mar-2006  christos branches: 1.12.30;
Coverity CID 2341, 2342: Plug memory leak.
 1.11 21-Oct-2003  fvdl Don't compare a char to NULL.
 1.10 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.9 14-Jun-2002  wiz Remove #if __STDC__. De-__P() and ANSIfy.
 1.8 19-Oct-1997  lukem WARNSify, fix .Nm usage, deprecate register, s/[br]*/[ms]*/
 1.7 18-Oct-1997  mrg merge lite-2.
 1.6 10-Sep-1996  thorpej When iterating the host list, do not access memory that has just been
free()'d. From Matt Beal <beal@umiacs.umd.edu>, PR #2747.
 1.5 12-Jul-1996  thorpej RCS id police.
 1.4 12-Jul-1996  thorpej From Christos: kill the last bits of sprintf(), and use regcomp/regexec
rather than re_comp/re_exec. (I committed my sprintf sweep-up before
I realized that Christos had already done it...)
 1.3 07-Mar-1994  cgd branches: 1.3.8;
update to newest rdist from berkeley (via uunet). No security fixes, but
general cleanup.
 1.2 01-Aug-1993  mycroft Add RCS identifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 10-Jun-1993  mrg 4.4BSD-Lite2
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.3.8.1 16-Jul-1996  jtc Security fixes, pulled up by request from Jason Thorpe
 1.12.30.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.13.46.1 10-Jun-2019  christos Sync with HEAD
 1.9 13-Apr-2009  lukem Fix WARNS=4 issues (-Wshadow -Wcast-qual -Wsign-compare)
 1.8 07-Aug-2003  agc branches: 1.8.42;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.7 14-Jun-2002  wiz Remove #if __STDC__. De-__P() and ANSIfy.
 1.6 19-Oct-1997  lukem WARNSify, fix .Nm usage, deprecate register, s/[br]*/[ms]*/
 1.5 12-Jul-1996  thorpej RCS id police.
 1.4 12-Jul-1996  thorpej Use snprintf() whenever feasible.
 1.3 07-Mar-1994  cgd branches: 1.3.8;
update to newest rdist from berkeley (via uunet). No security fixes, but
general cleanup.
 1.2 01-Aug-1993  mycroft Add RCS identifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 10-Jun-1993  mrg 4.4BSD-Lite2
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.3.8.1 16-Jul-1996  jtc Security fixes, pulled up by request from Jason Thorpe
 1.8.42.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.21 03-May-2022  andvar fix various typos, mainly s/trasfering/transferring/ and s/theese/these/.
 1.20 06-Sep-2011  joerg Use __dead and __printflike.
 1.19 21-Jul-2008  lukem Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
 1.18 18-Mar-2006  christos branches: 1.18.22;
Coverity CID 2341, 2342: Plug memory leak.
 1.17 13-Jul-2004  wiz Sync usage with man page (add [login@], sort options, machine -> host);
print usage to stderr; use getprogname(3).
From Kouichirou Hiratsuka in PR 26225.
 1.16 05-Jan-2004  jmmv Homogenize usage messages: make the 'usage' word all lowercase, as this seems
to be the most common practice in our tree.
 1.15 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.14 23-Jul-2003  itojun use bounded string op
 1.13 14-Jun-2002  wiz Remove #if __STDC__. De-__P() and ANSIfy.
 1.12 01-Nov-2001  tron Fix incorrect usage message. Problem noted by Brian Ginsbach in
PR bin/14411.
 1.11 12-Jun-2000  mrg apply patches in PR bin/9249: rdist doesn't remove temporary file, from
<Michael.Eriksson@era-t.ericsson.se> to ensure we always remove the tempfile
(broken since mkstemp() was introduced).
 1.10 20-Apr-1999  mrg branches: 1.10.6;
check some more syscall return values. use mkstemp.
 1.9 31-Jan-1999  mrg ensure buffers for pathnames, etc., are PATH_MAX, etc., long.
 1.8 19-Oct-1997  mycroft Use S_IS*().
Use mode_t, uid_t, and gid_t as appropriate.
Don't use futimes(2) on a directory.
 1.7 19-Oct-1997  lukem WARNSify, fix .Nm usage, deprecate register, s/[br]*/[ms]*/
 1.6 18-Oct-1997  mrg merge lite-2.
 1.5 12-Jul-1996  thorpej RCS id police.
 1.4 07-Mar-1994  cgd branches: 1.4.8;
update to newest rdist from berkeley (via uunet). No security fixes, but
general cleanup.
 1.3 23-Jan-1994  cgd mixing setreuid and seteuid can really screw you, in terms of security
 1.2 01-Aug-1993  mycroft Add RCS identifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 10-Jun-1993  mrg 4.4BSD-Lite2
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.4.8.1 16-Jul-1996  jtc Security fixes, pulled up by request from Jason Thorpe
 1.10.6.1 23-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.18.22.1 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.5 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.4 12-Jul-1996  thorpej RCS id police.
 1.3 07-Mar-1994  cgd branches: 1.3.8;
update to newest rdist from berkeley (via uunet). No security fixes, but
general cleanup.
 1.2 01-Aug-1993  mycroft Add RCS identifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 10-Jun-1993  mrg 4.4BSD-Lite2
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.3.8.1 16-Jul-1996  jtc Security fixes, pulled up by request from Jason Thorpe
 1.21 03-Jul-2017  wiz Remove workaround for ancient HTML generation code.
 1.20 22-Mar-2012  wiz Fix whitespace nits. Suggested by Bug Hunting.
 1.19 19-Aug-2009  joerg branches: 1.19.6;
Nesting displays is not valid groff syntax.
 1.18 13-Jul-2004  wiz Sort options in SYNOPSIS. From Kouichirou Hiratsuka in PR 26225.
 1.17 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.16 25-Feb-2003  wiz .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
 1.15 30-Sep-2002  grant New sentence, new line.
 1.14 08-Feb-2002  ross Generate <>& symbolically. I'm avoiding .../dist/... directories for now.
 1.13 07-Feb-2002  ross Edit -mdoc usage.

* There is no -indent option to .Bd or .Bl, although you would
never know that from its frequent use in this tree. There is a
"-offset indent" combination that makes sense, and you can certainly
say "-width indent".

* Also, you can't markup the -width option argument, tho you CAN
use a callable macro. So "-width Ar filename" doesn't make sense,
but either "-width Ar" or "-width filename" does, as might something
like "-width xxfilename" for a little extra space.

* There are a lot of needlessly complex hanging tag macros in man4 used
to create simple item lists. Those should be simplified one of these
days before someone copies and edits yet another man4 page.
 1.12 08-Dec-2001  wiz Sort SEE ALSO, sort sections, punctuation nit.
 1.11 01-Nov-2001  tron Add missing description of option "-D".
 1.10 22-Mar-1999  garbled More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages. Many more to
come.
 1.9 19-Oct-1997  lukem WARNSify, fix .Nm usage, deprecate register, s/[br]*/[ms]*/
 1.8 18-Oct-1997  mrg merge lite-2.
 1.7 12-Jul-1996  thorpej RCS id police.
 1.6 07-Mar-1994  cgd branches: 1.6.8;
re-fix spelling errors. going to kick them back to bostic...
 1.5 07-Mar-1994  cgd update to newest rdist from berkeley (via uunet). No security fixes, but
general cleanup.
 1.4 11-Jan-1994  jtc Fix spelling errors.
 1.3 01-Aug-1993  mycroft Add RCS indentifiers.
 1.2 13-Jun-1993  mycroft Update file names.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 17-Mar-1994  mrg 4.4BSD-Lite2
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.6.8.1 16-Jul-1996  jtc Security fixes, pulled up by request from Jason Thorpe
 1.19.6.1 17-Apr-2012  yamt sync with head
 1.34 26-Oct-2025  andvar s/creat /create/ in few more comments and error log messages.
 1.33 03-Feb-2019  mrg - add or adjust /* FALLTHROUGH */ where appropriate
- add __unreachable() after functions that can return but won't in
this case, and thus can't be marked __dead easily
 1.32 18-Oct-2013  christos branches: 1.32.26;
remove unused
 1.31 13-Apr-2009  lukem branches: 1.31.6; 1.31.12;
Fix WARNS=4 issues (-Wshadow -Wcast-qual -Wsign-compare)
 1.30 18-Dec-2006  christos branches: 1.30.20;
From Anon Ymous:
Convert "(void)&" constructs to "volatile".
Check gid against (gid_t)-1 rather than >= 0; gid_t is unsigned.
Flag some parameters __unused so this will compile with -Werror.
 1.29 11-May-2006  mrg end the argument list to exec*(3) with a NULL instead of a bare '0', as
the latter isn't a pointer context in these varargs functions.
 1.28 06-Aug-2004  mycroft Patch from Olaf Siebert in PR 12688 to handle hard links correctly when
renaming.
 1.27 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.26 23-Jul-2003  itojun use bounded string op
 1.25 20-Jan-2003  simonb The Double-Semi-Colon Police.
 1.24 06-Dec-2002  thorpej Avoid confict with reserved identifier "log".
 1.23 14-Jun-2002  wiz Remove #if __STDC__. De-__P() and ANSIfy.
 1.22 24-Sep-2001  wiz branches: 1.22.2;
va_{start,end} audit:
Make sure that each va_start has one and only one matching va_end,
especially in error cases.
If the va_list is used multiple times, do multiple va_starts/va_ends.
If a function gets va_list as argument, don't let it use va_end (since
it's the callers responsibility).

Improved by comments from enami and christos -- thanks!

Heimdal/krb4/KAME changes already fed back, rest to follow.

Inspired by, but not not based on, OpenBSD.
 1.21 24-Aug-2001  wiz heirarchy -> hierarchy
 1.20 04-Jan-2001  lukem use %ll_ instead of the less standard %q_
 1.19 11-Oct-2000  is More format string cleanup by sommerfeld.
 1.18 20-Apr-1999  mrg branches: 1.18.8;
check some more syscall return values. use mkstemp.
 1.17 19-Dec-1998  christos branches: 1.17.2;
char -> unsigned char
 1.16 19-Dec-1998  christos de-ja-vous
This thing was still using <sys/dir.h> and struct direct.
Get rid of the time warp.
 1.15 19-Oct-1997  mrg fix compile warnings on the alpha.
 1.14 19-Oct-1997  mycroft Use S_IS*().
Use mode_t, uid_t, and gid_t as appropriate.
Don't use futimes(2) on a directory.
 1.13 19-Oct-1997  lukem WARNSify, fix .Nm usage, deprecate register, s/[br]*/[ms]*/
 1.12 18-Oct-1997  mrg merge lite-2.
 1.11 12-Jul-1996  thorpej RCS id police.
 1.10 12-Jul-1996  thorpej From Christos: kill the last bits of sprintf(), and use regcomp/regexec
rather than re_comp/re_exec. (I committed my sprintf sweep-up before
I realized that Christos had already done it...)
 1.9 12-Jul-1996  thorpej Use snprintf() whenever feasible.
 1.8 21-May-1996  mrg branches: 1.8.2;
in recvf() initialise the fd to -1 so that we can not close it later
if it was never used (for e.g., with symlinks). pr#1822.
 1.7 27-Mar-1994  cgd kill some now-unnecessary casts.
 1.6 13-Mar-1994  cgd cast so size/mtime doesn't get hosed
 1.5 07-Mar-1994  cgd update to newest rdist from berkeley (via uunet). No security fixes, but
general cleanup.
 1.4 04-Dec-1993  jtc Use <dirent.h> instead of <sys/dir.h>.
 1.3 09-Oct-1993  cgd get rid of some (bad) setreuid() calls, which caused a security problem.
bug fix from Rick J Weldon <rick@badboy-jr.hq.af.mil>, and also confirmed
by looking at the latest rdist sources.
 1.2 01-Aug-1993  mycroft Add RCS identifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 10-Jun-1993  mrg 4.4BSD-Lite2
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.8.2.1 16-Jul-1996  jtc Security fixes, pulled up by request from Jason Thorpe
 1.17.2.1 19-Oct-2000  he Pull up revision 1.19 (requested by he):
Format string cleanup.
 1.18.8.1 18-Oct-2000  tv Pullup usr.bin string format fixes [is].
See "cvs log" for explicit revision numbers per file, from sommerfeld.
 1.22.2.1 23-Jul-2004  tron Apply patch (requested by dbj in ticket 1724):
Fix problems when building the netbsd-1-6 branch with GCC 3.3.3.
 1.30.20.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.31.12.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.31.6.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.32.26.1 10-Jun-2019  christos Sync with HEAD

RSS XML Feed