#
bf198cc6 |
| 25-Jan-2019 |
millert <millert@openbsd.org> |
I am retiring my old email address; replace it with my OpenBSD one.
|
#
409b9c36 |
| 28-Aug-2017 |
millert <millert@openbsd.org> |
Fix exit value when diffing directories with missing files and the -N or -P options are not used. From Ibrahim Khalifa
|
#
40e7295b |
| 05-Oct-2015 |
millert <millert@openbsd.org> |
Remove the non-standard -l flag that pipes the output through pr(1). Based on a diff from and OK deraadt@
|
#
a79a2617 |
| 25-Sep-2015 |
tedu <tedu@openbsd.org> |
xmalloc/free wrappers don't need to support 20 year old non comformance
|
#
b9fc9a72 |
| 16-Jan-2015 |
deraadt <deraadt@openbsd.org> |
Replace <sys/param.h> with <limits.h> and other less dirty headers where possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_N
Replace <sys/param.h> with <limits.h> and other less dirty headers where possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol)
show more ...
|
#
5ad04d35 |
| 20-May-2014 |
guenther <guenther@openbsd.org> |
Use errc/warnc to simplify code. Also, in 'ftp', always put the error message last, after the hostname/ipaddr.
ok jsing@ krw@ millert@
|
#
a737da78 |
| 29-Nov-2012 |
guenther <guenther@openbsd.org> |
Change scandir()'s 'select' argument from int (*)(struct dirent *) to int (*)(const struct dirent *) to match POSIX.
ok millert@, ports check by naddy@
|
#
2aac1c96 |
| 14-Nov-2010 |
millert <millert@openbsd.org> |
scandir() does not NULL-terminate the list of dirent structs so use the returned count and set and end pointer instead. we no longer need to allocate a dummy array when diffing against a non-existen
scandir() does not NULL-terminate the list of dirent structs so use the returned count and set and end pointer instead. we no longer need to allocate a dummy array when diffing against a non-existent directory so eliminate slurpdir() and call scandir() directly. OK krw@
show more ...
|
#
2023c35e |
| 08-Nov-2010 |
millert <millert@openbsd.org> |
getdirentries(2) should be avoided outside of libc so use scandir(3) instead. This makes slurpdir() just a thin wrapper around scandir(3). OK schwarze@
|
#
3f3251d0 |
| 28-Oct-2010 |
millert <millert@openbsd.org> |
Change basep parameter of getdirentries() to be off_t *, not long * so it works correctly with large offsets (and matches other systems). This requires adding a new getdirentries syscall, with the ol
Change basep parameter of getdirentries() to be off_t *, not long * so it works correctly with large offsets (and matches other systems). This requires adding a new getdirentries syscall, with the old one renamed to ogetdirentries. All in-tree consumers of getdirentries() have been updated. Bump libc and libpthread major numbers. OK and with deraadt@
show more ...
|
#
89a45341 |
| 17-Jul-2010 |
ray <ray@openbsd.org> |
Plug memory leak.
OK nicm
|
#
d2ea36f5 |
| 16-Jul-2010 |
ray <ray@openbsd.org> |
Simplify print_status by removing NULL handling.
OK nicm
|
#
043fbe51 |
| 27-Oct-2009 |
deraadt <deraadt@openbsd.org> |
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 (th
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
show more ...
|
#
57003866 |
| 07-Jun-2009 |
ray <ray@openbsd.org> |
More cvs/diff/rcs convergence: 1. Mostly variable/function renaming, SIZE_T_MAX->SIZE_MAX, and spacing. 2. One strchr -> strncspn. 3. diff had a weird thing where it set file[12] = ofile[12] but neve
More cvs/diff/rcs convergence: 1. Mostly variable/function renaming, SIZE_T_MAX->SIZE_MAX, and spacing. 2. One strchr -> strncspn. 3. diff had a weird thing where it set file[12] = ofile[12] but never updated file or ofile, then if file and ofile were different it freed it. I removed it.
OK millert
show more ...
|
#
3f8e756b |
| 06-Jun-2009 |
ray <ray@openbsd.org> |
Oops, forgot to pass dflags to diffreg. Now the flags work again.
OK millert
|
#
aa215433 |
| 09-Jun-2007 |
ray <ray@openbsd.org> |
- Change sizeof(type) to sizeof(*ptr). - Move function prototypes before variables.
No binary change.
OK otto and millert.
|
#
4a034c3a |
| 29-May-2007 |
ray <ray@openbsd.org> |
Bring in some changes from rcsdiff: 1. Replace all the e*alloc functions with the x*alloc versions. 2. Whitespace syncs according to style. 3. Remove the __inline stuff. 4. Remove the min/max functio
Bring in some changes from rcsdiff: 1. Replace all the e*alloc functions with the x*alloc versions. 2. Whitespace syncs according to style. 3. Remove the __inline stuff. 4. Remove the min/max functions, using the MAX/MIN macros instead.
OK millert@
show more ...
|
#
8ccc1f55 |
| 15-Jun-2005 |
millert <millert@openbsd.org> |
bye bye whiteouts
|
#
3cbc20bb |
| 26-Nov-2004 |
otto <otto@openbsd.org> |
Fix the getdirentries() loop memory handling and EOF detection. Also fix typo in sizeof. Problem spotted by YAMAMOTO Takashi; this diff joint work with millert@
ok millert@
|
#
b51a540e |
| 02-Oct-2004 |
millert <millert@openbsd.org> |
Keep calling getdirentries() until we no longer fill up our buffer.
|
#
5f4c3fa8 |
| 16-Mar-2004 |
millert <millert@openbsd.org> |
POSIX specifies that in directory mode device special files and FIFOs shall be skipped. Other types of files may be skipped too (this is implementation-dependent). In directory mode, just skip anyt
POSIX specifies that in directory mode device special files and FIFOs shall be skipped. Other types of files may be skipped too (this is implementation-dependent). In directory mode, just skip anything that is not a regular file or directory. OK tedu@
show more ...
|
#
8fa21293 |
| 09-Nov-2003 |
otto <otto@openbsd.org> |
Typos in comments from Jared Yanovich <jjy2+ at pitt dot edu>
|
#
4893e147 |
| 07-Oct-2003 |
millert <millert@openbsd.org> |
Fix printing of "Only in foo" when foo is "/" (trailing slash removal was overzealous in this case). Fix tested by Hugo Villeneuve and myself.
|
#
016bcb7b |
| 21-Jul-2003 |
millert <millert@openbsd.org> |
Historically, the "Only in" messages produced in dir mode were not printed when the output format was -e (ed) since this prevented the output from being used as an ed script. However, POSIX specifies
Historically, the "Only in" messages produced in dir mode were not printed when the output format was -e (ed) since this prevented the output from being used as an ed script. However, POSIX specifies that this message shall always be printed regardless of the output format (this is also what GNU diff does). Also do the same with the "Common subdirectory" message which POSIX lists as optional.
show more ...
|
#
de414158 |
| 21-Jul-2003 |
millert <millert@openbsd.org> |
Fix printing of status when not in -l mode which was broken when the -l support was added.
|