#
998894f5 |
| 05-Jan-2023 |
millert <millert@openbsd.org> |
Delete remnants of removed "diff -l" option. From Nathan Houghton
|
#
3aaa63eb |
| 28-Jun-2019 |
deraadt <deraadt@openbsd.org> |
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
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.
show more ...
|
#
bf198cc6 |
| 25-Jan-2019 |
millert <millert@openbsd.org> |
I am retiring my old email address; replace it with my OpenBSD one.
|
#
b4e5b6a2 |
| 29-Dec-2015 |
gsoares <gsoares@openbsd.org> |
fix exit status on pledge(2) failure.
OK tb@ jsg@
|
#
4c413bf6 |
| 26-Oct-2015 |
tedu <tedu@openbsd.org> |
remove TMPDIR support. ok millert
|
#
0bd1216c |
| 09-Oct-2015 |
deraadt <deraadt@openbsd.org> |
Change all tame callers to namechange to pledge(2).
|
#
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@
|
#
c31f148d |
| 05-Oct-2015 |
semarie <semarie@openbsd.org> |
use different tame requests if TMPDIR is in env: - tmppath for when mktemp() operates in /tmp proper - cpath+wpath for use of $TMPDIR
based on log-message from previous commit
ok deraadt@
|
#
6c036d4a |
| 05-Oct-2015 |
deraadt <deraadt@openbsd.org> |
If the -l flag is set, diff will fork/execve pr on a pipe. But other uses can tame "stdio wpath rpath cpath tmppath". tmppath for when mktemp() operates in /tmp proper, but cpath+wpath for use of $
If the -l flag is set, diff will fork/execve pr on a pipe. But other uses can tame "stdio wpath rpath cpath tmppath". tmppath for when mktemp() operates in /tmp proper, but cpath+wpath for use of $TMPDIR. ok sthen millert
show more ...
|
#
371275ca |
| 29-Apr-2015 |
deraadt <deraadt@openbsd.org> |
Change internal xrealloc() to a idiom-following xreallocarray(). This loses a "new size is 0" failure case. Probably not relevant; and since we develop this in OpenBSD, we'll catch that before someo
Change internal xrealloc() to a idiom-following xreallocarray(). This loses a "new size is 0" failure case. Probably not relevant; and since we develop this in OpenBSD, we'll catch that before someone else imports this... ok millert
show more ...
|
#
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 ...
|
#
d2ea36f5 |
| 16-Jul-2010 |
ray <ray@openbsd.org> |
Simplify print_status by removing NULL handling.
OK nicm
|
#
9d40d95c |
| 21-Feb-2010 |
sobrado <sobrado@openbsd.org> |
`-q' is an output option, hence it is mutually exclusive.
ok jmc@
|
#
1a1f5fe3 |
| 09-Nov-2009 |
sobrado <sobrado@openbsd.org> |
move mutually exclusive options (-c, -e, -f, -n and -u) to the right place.
ok jmc@
|
#
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
|
#
dba1d6ea |
| 06-Jun-2009 |
ray <ray@openbsd.org> |
Pull changes from rcsdiff, similar to what was pulled into cvsdiff.
OK 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 ...
|
#
d4b26a09 |
| 01-Mar-2007 |
jmc <jmc@openbsd.org> |
sort options/synopsis/usage(); from Igor Sobrado
|
#
7bdb251c |
| 09-Dec-2004 |
millert <millert@openbsd.org> |
If the -L option is specified twice, use it for the second filename like GNU diff does. Adapted from a diff by YAMAMOTO Takashi
|
#
5e50de09 |
| 07-Dec-2004 |
espie <espie@openbsd.org> |
advancing argv twice doesn't make it better. okay otto@.
|
#
ccd55a2c |
| 20-Jun-2004 |
otto <otto@openbsd.org> |
Implement -I option: ignore changes matching a set of regexes. From Jared Yanovich, with twists from millert@ and me. Testing by brad@, sturm@ and pval@. ok millert@
|
#
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 ...
|
#
96e45528 |
| 07-Jan-2004 |
otto <otto@openbsd.org> |
Implement -p option.
"works here" millert@ ok miod@ deraadt@
|