| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Spotted by jsg@ when working on mesa. Diff tested by sthen@ in
a partial i386 bulk. Input from and ok jsg@ millert@
|
|
|
|
|
| |
libc (stdio etc), instead do the unlink tasks then call _exit() instead
ok millert
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
ok deraadt@
|
|
|
|
| |
ed back in 2015; ok millert@ tb@ tobias@
|
|
|
|
|
| |
behavior is confusing to users and even GNU patch no longer does
it by default. OK krw@ guenther@
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
| |
case of out of memory conditions, Plan B can step in. In many cases, NULL
value is not properly handled, so use xstrdup here (it's outside Plan A/B
patching, which means that even Plan B relies on successful operations).
|
|
|
|
|
|
| |
even have in ports. XSI functionality of POSIX, therefore optional.
ok deraadt, schwarze, tedu
|
|
|
|
| |
ok krw
|
|
|
|
|
|
|
|
|
|
| |
is currently done in the latest versions of GNU patch.
Please watch out for output appearing out-of-order.
Discussed with millert and deraadt.
OK deraadt
|
|
|
|
|
|
| |
From Igor Zinovik; thanks!
ok stsp@, millert@
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
ok millert@ espie@
|
|
|
|
|
|
|
|
|
|
|
| |
Removes the possibility of nasty stuff happening thanks to unquoted
arguments in system(1).
Also plug a small memory leak.
Problems noticed by Lionel Fourquaud.
okay millert@, deraadt@
|
|
|
|
|
|
|
|
| |
tab) by scanning for the tab that separates the date from the
pathname. If no tab is found, revert back to the old behaviour.
Posix says there should be a space between the pathname and the
date, but all known implementations of diff(1) use a tab.
ok kurt@ deraadt@
|
| |
|
|
|
|
|
|
| |
o add --posix option for strict POSIX conformance
o change filename determination to match GNU patch
Tested by various people, including a full ports build by naddy@
|
|
|
|
| |
ok deraadt@
|
|
|
|
|
|
|
|
|
| |
- fix some -Wall warnings
- fix asserts: in some cases remove them, in other cases they have
become Internal errors or detection of malformed patch files.
- fix some free() related code
ok millert@ tedu@
|
|
|
|
| |
ok millert@
|
|
|
|
|
|
| |
shall write a prompt to standard output and request a filename
interactively from the controlling terminal (for example, /dev/tty)."
OK deraadt@ and otto@
|
|
|
|
|
|
| |
o ignore empty TMPDIR environment variable
o strip any trailing slashes from TMPDIR
otto@ OK
|
|
|
|
| |
OK otto@ and deraadt@
|
|
|
|
|
|
| |
some rewriting of code to make it more readable and more KNF.
ok millert@ tedu@ deraadt@
|
|
|
|
| |
Comments and OK from otto@
|
|
|
|
| |
yet. The old -b option is now -z (matches GNU patch).
|
| |
|
|
|
|
| |
ok millert@ tedu@
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|