Age | Commit message (Collapse) | Author |
|
|
|
|
|
enter the fork+execve codepath. That allows use of "stdio getpw rpath"!
Use of -exec methods have been discouraged for years anyways, with
-print0/xargs -0 now considered safer practice.
ok guenther millert
|
|
|
|
Noted by tedu@
|
|
|
|
points into the new store, not the old one. From Gregor Best.
|
|
handling along the way.
Reviews by Brendan MacDonell, Jeremy Devenport, florian, doug, millert
|
|
What's worse, the tzfile.h that gets installed is over 20 years old
and doesn't match the real tzfile.h in libc/time. This makes the
tree safe for /usr/include/tzfile.h removal. The TM_YEAR_BASE
define has been moved to time.h temporarily until its usage is
replaced by 1900 in the tree. Actual removal of tzfile.h is pending
a ports build. Based on a diff from deraadt@
|
|
Predefined strings are not very portable across troff implementations,
and they make the source much harder to read. Usually the intended
character can be written directly.
No output changes, except for two instances where the incorrect escape
was used in the first place.
tweaks + ok schwarze@
|
|
superflous '*' after '/*' and adding blank after terminating '$'.
Also eases parsing of the lines by simple awk scripts.
Aesthetic approval from tedu@.
|
|
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)
|
|
i had to tweak their descriptions a little to make the text read nicely
while here, fix some minor issues:
- kill some unneeded Xo/Xc
- kill some unneeded Tn
- replace "\*Gt" with ">"
|
|
FTS_ERR. From Piotr Durlej.
|
|
okay chl@, tedu@
|
|
- tweak STANDARDS to make the note about -and and -or a little clearer
- remove some gnu clutter
ok millert sobrado
|
|
|
|
strftime() instead of parsing ctime()'s output.
ok millert@
|
|
|
|
|
|
|
|
range of i_num correctly, and now handles files > 4GB in size on 32-bit
machines.
ok otto millert
|
|
second occurance pointed out by Jeremie Courreges-Anglas, thanks!
ok guenther@ on the first occurance
|
|
ok guenther millert kettenis
|
|
form with {} + suffix; make this clear in the manual. Text suggested by jmc@
|
|
|
|
- reformat the list of primaries such that the two -exec items are
listed without vertical whitespace seperating them
|
|
From the manpage:
If terminated by a plus sign (``+''), the pathnames for which the
primary is evaluated are aggregated into sets, and utility will
be invoked once per set, similar to xargs(1). If any invocation
exits with non-zero exit status, then find will eventually do so
as well, but this does not cause find to exit early. The string
``{}'' must appear, and must appear last. Each set is limited to
no more than 5,000 pathnames, and is also limited such that the
invocation of utility does not exceed ARG_MAX.
Code comes from NetBSD, written by John Hawkinson. Tested by eivinde at
terraplane dot org and myself for quite some time.
ok miod@
|
|
ok millert@
|
|
matches posix and the manual, ok millert
|
|
it is easy to miss a blank character in an example,
so explicitely state that whitespace causes the issue;
while here, mention that shell metacharacters cause danger as well;
ok otto@ sthen@ jmc@
|
|
Fix by Bakul Shah. OK deraadt@ halex@
|
|
|
|
|
|
Add pointer from -print0 to xargs(1).
Add an EXAMPLE to demonstrate \( ... -or ... \) -print0.
Stop advertising -print | xargs, which is dangerous.
Add a CAVEAT about passing find(1) output to other programs.
Mostly from joachimschipper dot nl;
using feedback from jmc@ and sthen@, and tweaked myself;
ok jmc@
|
|
who asked me to commit because he is just running out of the door.
|
|
refer to glob(7) for more precision;
add some relevant and remove some not so relevant .Xrs;
ok jmc@
|
|
Actually, this is much closer to the original submission by Daniel Dickmann.
|
|
patch from Daniel Dickman <didickman at gmail dot com> via tech@,
though i'm updating the manual in a different way;
ok millert@ "looks good" deraadt@
|
|
defer the check for dotfd != -1 until we know we will need it.
Based on a diff from schwarze@
|
|
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
|
|
|
|
just stop updating fts_level so we don't overflow it. This allows
rm, find, etc to operate on very deep hierarchies. Consumers of
fts(3) do need to be aware that the actual level may be larger
than fts_level. During the next libc major bump we will make
fts_level an int instead of a short. OK deraadt@
|
|
reported by x, but different fix taken
|
|
|
|
updates to follow;
|
|
-ls primary is better described as "ls -dils" than "ls -dgils";
|
|
ok jmc@
|
|
|
|
- note which options are extensions to POSIX
|