| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
| |
Prevents arbitrary ed command executions in following lines.
ok millert
|
|
|
|
|
|
| |
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).
|
|
|
|
|
|
| |
by supporting arbitrarily long lines just like Plan A does.
ok tedu
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Also fixes an out of boundary memory access because the resulting values
are used as array indices.
ok millert
|
|
|
|
|
|
| |
no signs, no spaces, just digits, 0 <= x <= LONG_MAX
ok millert, otto
|
|
|
|
|
|
| |
a specific version.
ok millert
|
|
|
|
|
|
| |
even have in ports. XSI functionality of POSIX, therefore optional.
ok deraadt, schwarze, tedu
|
|
|
|
|
| |
interesting it has no impact on the maintainance of this stuff.
ok tobias
|
|
|
|
| |
ok millert, otto
|
|
|
|
|
|
| |
suggested by bluhm@.
ok schwarze@
|
|
|
|
| |
ok millert, otto
|
|
|
|
|
|
|
| |
Replace malloc() and realloc() calls that may have integer overflow in the
multiplication of the size argument with reallocarray().
ok deraadt@
|
|
|
|
|
|
| |
Also, in 'ftp', always put the error message last, after the hostname/ipaddr.
ok jsing@ krw@ millert@
|
|
|
|
| |
and is no longer optional;
|
|
|
|
| |
ok krw
|
| |
|
|
|
|
| |
ok millert@
|
|
|
|
| |
dragonflybsd via Loganaden Velvindron. OK mikeb@ and deraadt@
|
|
|
|
| |
ok deraadt@
|
|
|
|
|
|
| |
Needed after the recent mmap(2) change.
ok ariane@
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
have the exit code indicate failure, not success.
Discrepancy with GNU patch pointed out by Arfrever Frehtes Taifersar Arahesis.
Help from and ok djm@, "sounds good to me" millert@
|
| |
|
|
|
|
| |
updates to follow;
|
| |
|
|
|
|
|
|
| |
years ago is not correct if the diff has an empty context for other
reasons, so revert that change. Problem found by Joerg Sonnenberger;
ok tedu@ millert@
|
|
|
|
| |
ok millert
|
|
|
|
|
|
|
|
|
|
|
| |
of date for ever (no ksh builtins), and since we have two shells, pointing
to one page or the other is never going to work; so remove MLINKS for
csh(1); the cd(1) and wait(1) pages (also builtins); and update any trailing
Xr's;
please, there are tools like whence, man, and locate for finding this stuff;
ok deraadt miod
|
| |
|
| |
|
|
|
|
|
|
| |
- note that some apps are optional to posix
after some discussion w/ otto
|
|
|
|
|
|
|
|
| |
the description list and adds missing arguments; syncs usage()
written with a lot of useful advice by jmc@
ok by jmc@
|
| |
|
| |
|
|
|
|
| |
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@
|
|
|
|
|
| |
unified format.
ok 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@
|
| |
|
| |
|
|
|
|
|
|
| |
are no eols at eofs involved. Tested by quite some people.
ok deraadt@
|
|
|
|
| |
ok @millert
|
|
|
|
|
| |
lines to an empty file) already has been applied; be a bit less
chatty about empty contexts. Testing hshoexer@ ok millert@
|