#
1.28 |
|
26-Dec-2022 |
jmc |
spelling fixes; from paul tagliamonte amendments to his diff are noted on tech
|
Revision tags: OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE OPENBSD_7_2_BASE
|
#
1.27 |
|
28-Jun-2019 |
deraadt |
When system calls indicate an error they return -1, not some arbitrary value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
|
Revision tags: OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE
|
#
1.26 |
|
30-Mar-2016 |
millert |
In setnonblocking() rename "mode" variable to "flags".
|
Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE
|
#
1.25 |
|
20-Jan-2015 |
guenther |
Split out from rdist/defs.h the client-only and server-only bits into rdist/client.h and rdistd/server.h Only put #includes in .h files that are necessary for the .h to be used; all other #includes go in the .c files Move all extern variable declarations to the .h files, renaming local variables to avoid shadowing Replace me_type member of mntent_t with an "is NFS?" flag bit
|
#
1.24 |
|
20-Jan-2015 |
guenther |
SELECT_FD_TYPE is obsolete
|
Revision tags: OPENBSD_5_6_BASE
|
#
1.23 |
|
05-Jul-2014 |
guenther |
Our fork() never misses
|
#
1.22 |
|
05-Jul-2014 |
guenther |
Assume POSIX: sigrocmask() Properly use SIG_SIGMASK to restore previous mask
|
#
1.21 |
|
05-Jul-2014 |
guenther |
Assume POSIX: waitpid(), select(), and <sys/select.h>
|
#
1.20 |
|
05-Jul-2014 |
guenther |
Assume C89: stdargs, const, and setvbuf() Assume POSIX: O_NONBLOCK and S_IS{DIR,REG,LNK}
|
#
1.19 |
|
05-Jul-2014 |
guenther |
Use xcalloc() in waitup(): the calloc fails, simply returning ain't gonna help
|
#
1.18 |
|
05-Jul-2014 |
guenther |
Use void* in malloc/realloc/calloc wrappers
|
#
1.17 |
|
04-Jul-2014 |
guenther |
Convert a malloc+memset to a calloc
based on diff from Benjamin Baier (programmer (at) netzbasis.de)
|
Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE
|
#
1.16 |
|
18-Apr-2011 |
krw |
Print size_t with %zu and ssize_t with %zd in error/debug output. Not %d or %u. May help some of the issues reported by Richard Toohey. Tested by Steven R. Gerber.
|
#
1.15 |
|
10-Apr-2011 |
krw |
Apply some tough type-love and give rdist a chance to handle files larger than 2GB. Diff from Stephan R. Gerber via PR#6586, tweaks by me.
ok deraadt@
|
Revision tags: OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE
|
#
1.14 |
|
27-Oct-2009 |
deraadt |
rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
|
Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE
|
#
1.13 |
|
03-Jun-2003 |
millert |
Remove the advertising clause in the UCB license which Berkeley rescinded 22 July 1999. Proofed by myself and Theo.
|
#
1.12 |
|
14-May-2003 |
millert |
o Sync w/ freerdist 0.92 minus the compress option o KNF and ANSIfy the function headers
Sparse file support is currently a no-op since it didn't work. Proper sparse file support will be added later.
|
Revision tags: OPENBSD_3_2_BASE OPENBSD_3_3_BASE
|
#
1.11 |
|
12-Jun-2002 |
mpech |
a real pid_t cleanup.
espie@ ok for make/, deraadt@ one extra eye, millert@ ok
|
Revision tags: OPENBSD_3_1_BASE
|
#
1.10 |
|
19-Nov-2001 |
mpech |
kill more registers
millert@ ok
|
Revision tags: OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE
|
#
1.9 |
|
05-Feb-1999 |
millert |
Use rchildfdsn+1, not FD_SETSIZE for nfds in select()
|
#
1.8 |
|
04-Feb-1999 |
millert |
Fix a serious memory consumption problem when running over directories that contain many hard-linked files; johnh@isi.edu Also add an xstrdup() that behaves like xmalloc() on failure.
|
Revision tags: OPENBSD_2_4_BASE
|
#
1.7 |
|
26-Jun-1998 |
millert |
rdist 6.1.4 + OpenBSD patches + some -Wall
|
Revision tags: OPENBSD_2_3_BASE
|
#
1.6 |
|
16-Dec-1997 |
deraadt |
do not overflow fd_set
|
Revision tags: OPENBSD_2_2_BASE
|
#
1.5 |
|
04-Aug-1997 |
deraadt |
save errno in sigchld handlers
|
Revision tags: OPENBSD_2_0_BASE OPENBSD_2_1_BASE
|
#
1.4 |
|
25-Jul-1996 |
millert |
Updated to rdist 6.1.3. Used real snprintf() (instead of string length in the format) since we have it.
|
#
1.3 |
|
26-Jun-1996 |
deraadt |
rcsid
|
#
1.2 |
|
05-Mar-1996 |
dm |
rdist 6.1.2
|
#
1.1 |
|
03-Feb-1996 |
dm |
rdist 6.1.1
|
#
1.27 |
|
28-Jun-2019 |
deraadt |
When system calls indicate an error they return -1, not some arbitrary value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
|
Revision tags: OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE
|
#
1.26 |
|
30-Mar-2016 |
millert |
In setnonblocking() rename "mode" variable to "flags".
|
Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE
|
#
1.25 |
|
20-Jan-2015 |
guenther |
Split out from rdist/defs.h the client-only and server-only bits into rdist/client.h and rdistd/server.h Only put #includes in .h files that are necessary for the .h to be used; all other #includes go in the .c files Move all extern variable declarations to the .h files, renaming local variables to avoid shadowing Replace me_type member of mntent_t with an "is NFS?" flag bit
|
#
1.24 |
|
20-Jan-2015 |
guenther |
SELECT_FD_TYPE is obsolete
|
Revision tags: OPENBSD_5_6_BASE
|
#
1.23 |
|
05-Jul-2014 |
guenther |
Our fork() never misses
|
#
1.22 |
|
05-Jul-2014 |
guenther |
Assume POSIX: sigrocmask() Properly use SIG_SIGMASK to restore previous mask
|
#
1.21 |
|
05-Jul-2014 |
guenther |
Assume POSIX: waitpid(), select(), and <sys/select.h>
|
#
1.20 |
|
05-Jul-2014 |
guenther |
Assume C89: stdargs, const, and setvbuf() Assume POSIX: O_NONBLOCK and S_IS{DIR,REG,LNK}
|
#
1.19 |
|
05-Jul-2014 |
guenther |
Use xcalloc() in waitup(): the calloc fails, simply returning ain't gonna help
|
#
1.18 |
|
05-Jul-2014 |
guenther |
Use void* in malloc/realloc/calloc wrappers
|
#
1.17 |
|
04-Jul-2014 |
guenther |
Convert a malloc+memset to a calloc
based on diff from Benjamin Baier (programmer (at) netzbasis.de)
|
Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE
|
#
1.16 |
|
18-Apr-2011 |
krw |
Print size_t with %zu and ssize_t with %zd in error/debug output. Not %d or %u. May help some of the issues reported by Richard Toohey. Tested by Steven R. Gerber.
|
#
1.15 |
|
10-Apr-2011 |
krw |
Apply some tough type-love and give rdist a chance to handle files larger than 2GB. Diff from Stephan R. Gerber via PR#6586, tweaks by me.
ok deraadt@
|
Revision tags: OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE
|
#
1.14 |
|
27-Oct-2009 |
deraadt |
rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
|
Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE
|
#
1.13 |
|
03-Jun-2003 |
millert |
Remove the advertising clause in the UCB license which Berkeley rescinded 22 July 1999. Proofed by myself and Theo.
|
#
1.12 |
|
14-May-2003 |
millert |
o Sync w/ freerdist 0.92 minus the compress option o KNF and ANSIfy the function headers
Sparse file support is currently a no-op since it didn't work. Proper sparse file support will be added later.
|
Revision tags: OPENBSD_3_2_BASE OPENBSD_3_3_BASE
|
#
1.11 |
|
12-Jun-2002 |
mpech |
a real pid_t cleanup.
espie@ ok for make/, deraadt@ one extra eye, millert@ ok
|
Revision tags: OPENBSD_3_1_BASE
|
#
1.10 |
|
19-Nov-2001 |
mpech |
kill more registers
millert@ ok
|
Revision tags: OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE
|
#
1.9 |
|
05-Feb-1999 |
millert |
Use rchildfdsn+1, not FD_SETSIZE for nfds in select()
|
#
1.8 |
|
04-Feb-1999 |
millert |
Fix a serious memory consumption problem when running over directories that contain many hard-linked files; johnh@isi.edu Also add an xstrdup() that behaves like xmalloc() on failure.
|
Revision tags: OPENBSD_2_4_BASE
|
#
1.7 |
|
26-Jun-1998 |
millert |
rdist 6.1.4 + OpenBSD patches + some -Wall
|
Revision tags: OPENBSD_2_3_BASE
|
#
1.6 |
|
16-Dec-1997 |
deraadt |
do not overflow fd_set
|
Revision tags: OPENBSD_2_2_BASE
|
#
1.5 |
|
04-Aug-1997 |
deraadt |
save errno in sigchld handlers
|
Revision tags: OPENBSD_2_0_BASE OPENBSD_2_1_BASE
|
#
1.4 |
|
25-Jul-1996 |
millert |
Updated to rdist 6.1.3. Used real snprintf() (instead of string length in the format) since we have it.
|
#
1.3 |
|
26-Jun-1996 |
deraadt |
rcsid
|
#
1.2 |
|
05-Mar-1996 |
dm |
rdist 6.1.2
|
#
1.1 |
|
03-Feb-1996 |
dm |
rdist 6.1.1
|
Revision tags: OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
|
#
1.26 |
|
30-Mar-2016 |
millert |
In setnonblocking() rename "mode" variable to "flags".
|
Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE
|
#
1.25 |
|
20-Jan-2015 |
guenther |
Split out from rdist/defs.h the client-only and server-only bits into rdist/client.h and rdistd/server.h Only put #includes in .h files that are necessary for the .h to be used; all other #includes go in the .c files Move all extern variable declarations to the .h files, renaming local variables to avoid shadowing Replace me_type member of mntent_t with an "is NFS?" flag bit
|
#
1.24 |
|
20-Jan-2015 |
guenther |
SELECT_FD_TYPE is obsolete
|
Revision tags: OPENBSD_5_6_BASE
|
#
1.23 |
|
05-Jul-2014 |
guenther |
Our fork() never misses
|
#
1.22 |
|
05-Jul-2014 |
guenther |
Assume POSIX: sigrocmask() Properly use SIG_SIGMASK to restore previous mask
|
#
1.21 |
|
05-Jul-2014 |
guenther |
Assume POSIX: waitpid(), select(), and <sys/select.h>
|
#
1.20 |
|
05-Jul-2014 |
guenther |
Assume C89: stdargs, const, and setvbuf() Assume POSIX: O_NONBLOCK and S_IS{DIR,REG,LNK}
|
#
1.19 |
|
05-Jul-2014 |
guenther |
Use xcalloc() in waitup(): the calloc fails, simply returning ain't gonna help
|
#
1.18 |
|
05-Jul-2014 |
guenther |
Use void* in malloc/realloc/calloc wrappers
|
#
1.17 |
|
04-Jul-2014 |
guenther |
Convert a malloc+memset to a calloc
based on diff from Benjamin Baier (programmer (at) netzbasis.de)
|
Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE
|
#
1.16 |
|
18-Apr-2011 |
krw |
Print size_t with %zu and ssize_t with %zd in error/debug output. Not %d or %u. May help some of the issues reported by Richard Toohey. Tested by Steven R. Gerber.
|
#
1.15 |
|
10-Apr-2011 |
krw |
Apply some tough type-love and give rdist a chance to handle files larger than 2GB. Diff from Stephan R. Gerber via PR#6586, tweaks by me.
ok deraadt@
|
Revision tags: OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE
|
#
1.14 |
|
27-Oct-2009 |
deraadt |
rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
|
Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE
|
#
1.13 |
|
03-Jun-2003 |
millert |
Remove the advertising clause in the UCB license which Berkeley rescinded 22 July 1999. Proofed by myself and Theo.
|
#
1.12 |
|
14-May-2003 |
millert |
o Sync w/ freerdist 0.92 minus the compress option o KNF and ANSIfy the function headers
Sparse file support is currently a no-op since it didn't work. Proper sparse file support will be added later.
|
Revision tags: OPENBSD_3_2_BASE OPENBSD_3_3_BASE
|
#
1.11 |
|
12-Jun-2002 |
mpech |
a real pid_t cleanup.
espie@ ok for make/, deraadt@ one extra eye, millert@ ok
|
Revision tags: OPENBSD_3_1_BASE
|
#
1.10 |
|
19-Nov-2001 |
mpech |
kill more registers
millert@ ok
|
Revision tags: OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE
|
#
1.9 |
|
05-Feb-1999 |
millert |
Use rchildfdsn+1, not FD_SETSIZE for nfds in select()
|
#
1.8 |
|
04-Feb-1999 |
millert |
Fix a serious memory consumption problem when running over directories that contain many hard-linked files; johnh@isi.edu Also add an xstrdup() that behaves like xmalloc() on failure.
|
Revision tags: OPENBSD_2_4_BASE
|
#
1.7 |
|
26-Jun-1998 |
millert |
rdist 6.1.4 + OpenBSD patches + some -Wall
|
Revision tags: OPENBSD_2_3_BASE
|
#
1.6 |
|
16-Dec-1997 |
deraadt |
do not overflow fd_set
|
Revision tags: OPENBSD_2_2_BASE
|
#
1.5 |
|
04-Aug-1997 |
deraadt |
save errno in sigchld handlers
|
Revision tags: OPENBSD_2_0_BASE OPENBSD_2_1_BASE
|
#
1.4 |
|
25-Jul-1996 |
millert |
Updated to rdist 6.1.3. Used real snprintf() (instead of string length in the format) since we have it.
|
#
1.3 |
|
26-Jun-1996 |
deraadt |
rcsid
|
#
1.2 |
|
05-Mar-1996 |
dm |
rdist 6.1.2
|
#
1.1 |
|
03-Feb-1996 |
dm |
rdist 6.1.1
|