Commit Graph

118 Commits

Author SHA1 Message Date
christos 6bd1d6d4db Replace the statfs() family of system calls with statvfs().
Retain binary compatibility.
2004-04-21 01:05:31 +00:00
lukem 5d3311e08a tweak roff in previous 2004-04-19 00:28:11 +00:00
lukem 3333d5f7f7 Use "sysctl vfs.generic.fstypes" to determine the list of available fstypes. 2004-04-19 00:18:46 +00:00
wiz e3366bb6be Bump date for previous, and sort a bit. 2004-03-31 01:46:22 +00:00
heas a7353cbe7c Mention -type w, which is coded as a synonym for W (whitespace). 2004-03-30 22:54:04 +00:00
heas 171a04291f Whitespace nit 2004-03-30 22:51:55 +00:00
heas 59d5c91fe0 Do not skip whiteout files returned by fts_read(), which only returns them if
requested.

Patch from Dave Huang in PR bin/5419.
2004-03-30 22:51:13 +00:00
agc 89aaa1bb64 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
2003-08-07 11:13:06 +00:00
provos ccc5fba3de Implement -iname for case insensitive matching on file names.
From freebsd/openbsd.  Approved by jaromir@, manu@, perry@.
2003-08-03 19:46:03 +00:00
itojun 28f506f3a2 strlcpy 2003-07-12 13:57:49 +00:00
wiz fb538fbb96 Change macro usage so it works correctly with 1.19. 2003-06-26 17:46:36 +00:00
yamt 0c0dee33b1 protect from signals properly.
(fix crashes when get SIGINFO.)
2003-05-22 15:48:44 +00:00
yamt 9847a81452 rename a global variable, 'entry', to 'g_entry'.
it was confusing because we have many local 'entry' variable.
2003-05-22 15:47:25 +00:00
wiz caa2d78a26 Add missing "to be". From Jim Bernard in PR 21008. 2003-04-04 19:21:21 +00:00
wiz 990562bfef .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
jhawk c3ac22a6a8 markup: the ";" for -exec, -ok, and -execdir is a seperate word from
the last argument
2003-02-23 20:01:31 +00:00
jhawk 93fccbf4ba eleminate forward decl of 'struct stat' 2003-02-23 14:43:25 +00:00
jhawk d44b698645 delint: trailing commas in enum definitions are prohibitted
knf: instantiate macros with #define<TAB>, not <SPACE>, and also align.
2003-02-23 14:41:30 +00:00
jhawk e025cf984b Obey preceding - and + on -user when a numeric uid is specified (only).
Our behavior is now consistent with Solaris, and more useful than previous.
2003-01-30 10:49:18 +00:00
jhawk 980fe9aad7 Obey preceding - and + on -user when a numeric uid is specified (only).
Our behavior is now consistent with Solaris, and more useful than previous.

Unfortunately we end up strtol()-ing twice (once via atoi()) to avoid
changing find_parsenum().
2003-01-30 10:49:05 +00:00
matt 3e5306bedf With -printx also qoute $ and ` (since they are shell metacharaters). 2003-01-26 07:07:31 +00:00
provos 32b88027c7 use readlink with bufsize - 1; approved thorpej. 2002-10-19 20:33:17 +00:00
wiz d6eecef728 Lose a trailing space. 2002-10-01 11:04:12 +00:00
wiz 826d3a8737 Clean up after recent changes.
Some notes:
\- is for minus signs only.
Closing braces and punctuation after a macro should definitly not be
on the next line, but at the end of the macro line, separated with spaces
from the macro argument and each other. Otherwise, unwanted whitespace
appears.
2002-09-28 12:59:49 +00:00
grant 714cd00ddf bump date for latest changes. 2002-09-28 12:34:53 +00:00
thorpej 386e1779c2 Need <string.h>. 2002-09-27 23:29:12 +00:00
grant 2812905360 New sentence, new line and minor mdoc cleanup. 2002-09-27 16:56:53 +00:00
provos 9972ef9ff8 support for -empty, -execdir, -mindepth, -maxdepth to match other UNIX-like
systems.  based on work by tholo@openbsd.org.  approved by perry.
2002-09-27 15:56:25 +00:00
lukem 5d4973fe97 makefile delint. use NETBSDSRCDIR as appropriate 2002-09-18 14:00:33 +00:00
thorpej e1ed089ecd -path is an extension -- say so. 2002-09-16 19:24:59 +00:00
christos 5af793e752 Use LOGIN_NAME_MAX instead of UT_NAMELEN
delete include of utmp.h
2002-08-01 22:41:34 +00:00
ross 2a76afae02 Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
kleink 4f0bdb5b24 Since we've already been down that road with -cnewer, support GNU find(1)'s
-anewer as well.
2001-12-02 12:46:39 +00:00
wiz 056d651038 Punctuation fix, sort SEE ALSO, sort sections, drop a .Pp. 2001-12-01 19:11:27 +00:00
wiz aded0d2cce Whitespace cleanup. 2001-12-01 16:43:07 +00:00
kleink e7566d6000 Add a "cnewer" primary which evaluates true if a file has a more recent
ctime than its argument.

From kre in PR bin/14802; originally suggested name was "updated" but
renamed due to GNU find(1) being prior art for this functionality.
2001-12-01 14:10:04 +00:00
enami 49f300855c Reallocate memory correctly while substituting the braces. 2001-09-21 07:11:33 +00:00
simonb 0e3b64a601 Back out previous vfork->fork change now that the cause of the problem
(execvp) has been fixed.
2001-09-18 05:11:15 +00:00
simonb 7a40d9c0cf Use fork() instead of vfork(). The child calls execvp(), which calls
strdup(), which calls malloc()...

Fixes problem with "find .. -exec" growing as reported by Kazushi Marukawa
on current-users@.
2001-09-14 08:19:25 +00:00
abs 9819b7e8e7 space after section number in .Xr 2001-07-06 18:12:02 +00:00
christos f6321b3b4d fixed nested externs 2001-02-05 01:53:48 +00:00
lukem c2b84904ae use %ll_ instead of the less standard %q_ 2001-01-04 23:05:54 +00:00
jdolecek b029146cfa move the -and option in options[] table where it alphabetically belongs,
so that -amin works again
this fixes bin/11251
2000-10-18 08:58:11 +00:00
enami e92c3f2867 - The type of return value of setmode is a void * and getmode takes it,
rather than mode_t *.
- Free the storage allocated by setmode unless it is obvious that program
  exits immediately.
2000-10-10 14:30:40 +00:00
enami 6fc4763861 If -H, clear FTS_LOGICAL and set FTS_PHYSICAL as well as FTS_COMFOLLOW.
If -L, clear FTS_PHYSICAL as well as FTS_COMFOLLOW.
2000-08-04 09:01:05 +00:00
kleink a1359f90c2 -s: Replace the reference to strcmp(3) with a functional description. 2000-07-11 06:47:21 +00:00
enami 2263e83df9 Fix typo. 2000-03-16 18:56:41 +00:00
enami 1ab3345f20 Compare the return value of getopt(3) against -1 rather than EOF.
(while i'm here, one more cosometic change is performed).
2000-03-16 18:47:48 +00:00
enami 7b4bdbc144 Cosmetic changes. 2000-03-16 18:44:29 +00:00
itohy f1042d894e Add -s in usage. 2000-03-13 08:21:36 +00:00