Commit Graph

45 Commits

Author SHA1 Message Date
christos 9a80b4fa85 Simplify the function calling code and warnsify. 1998-02-21 22:47:20 +00:00
cgd c62f53ae70 allocate temporary storage for directory list, rather than clobbering
argv (yuck!).
1998-02-10 21:52:51 +00:00
mrg 111777dda2 remove getvfsbyname cruft. 1998-02-03 01:04:27 +00:00
mrg 7b983ca6d5 merge lite2, sans getvfsbyname in functions.c (waiting on libc) 1998-02-02 14:02:06 +00:00
lukem 9142eb1e1e disable WARNS for now 1997-10-19 12:04:58 +00:00
lukem 6f330af093 fix .Nm usage, deprecate register, mostly WARNSify (needs minor rewrite to fix) 1997-10-19 11:52:59 +00:00
lukem 403b699b0b fix .Nm usage, deprecate register, mostly WARNSify (needs minor rewrite to fix) 1997-10-19 11:52:12 +00:00
lukem 906b60f5e0 getopt returns -1 not EOF 1997-10-18 14:49:41 +00:00
jtc b70081bba0 Changed format directive for printing number of blocks from %4ld to
%4qd as the st_blocks field is a int64_t.  Fixes PR 3814.
1997-06-30 21:26:57 +00:00
matthias cd80e9aae6 remove second RCS-Id line. 1997-02-01 09:51:48 +00:00
matthias ec450f3940 finding whiteouts didn't work. 1997-01-30 09:17:27 +00:00
tls 9d225a1783 RCS ID police 1997-01-09 20:18:21 +00:00
mrg 779746748d KNF. 1996-06-23 11:21:48 +00:00
mrg 00333c9e38 fix incorrect (dated?) comment. 1996-06-23 11:16:39 +00:00
mrg 4b88cc7b60 add support for whiteouts. pr#2394 (Mike Long <mike.long@analog.com>) 1996-05-21 13:43:50 +00:00
thorpej b62a077e9a Document the -follow option, per David Brownlee <abs@mono.city.ac.uk>
in PR #1113.
1996-01-14 03:52:44 +00:00
cgd 3d113b326b don't assume f_fstypename is larger than MFSNAMELEN or is nul-terminated 1995-06-18 10:58:06 +00:00
cgd 0c876871bd kill some unnecessary casts and decls 1994-12-24 16:30:51 +00:00
mycroft 5ee5940abc Get rid of a redundant sanity check. 1994-10-18 17:02:44 +00:00
mycroft f8825bfb96 Always save both the mount flags and the file system type when crossing a
mount point.  From John Kohl.
1994-10-18 13:54:25 +00:00
cgd d731b5b8a7 fix behaviour when adding -print 1994-07-18 09:55:31 +00:00
cgd ecc12ef419 fstypes will be strings soon 1994-04-14 03:34:13 +00:00
cgd 0fa009a916 off_t exp. 1994-03-27 09:01:41 +00:00
andrew ec255a65c8 -nouser and -nogroup tests were negated. 1994-02-16 03:59:52 +00:00
cgd 5123f7879d don't need -lutil 1994-01-28 00:36:28 +00:00
jtc 35104de52f Changed order of the subexpressions in a conditional to guard against
the case of zero length arguments.
1994-01-24 23:08:15 +00:00
jtc 0760ea89b4 Flush stdout and stderr before processing an -exec (or -ok), so the output
of the exec'd command and find's output will be correctly interspersed.
(Bug noticed by Terry Lambert, of FreeBSD.  Fix by me).
1994-01-21 02:59:38 +00:00
jtc 201bc757f6 st_blocks & st_size aren't quads (at least not yet). 1994-01-06 23:13:13 +00:00
jtc 3dfa59ec4a Merged our bugfixes with the 4.4BSD find from uunet. 1993-12-30 21:15:18 +00:00
jtc 4ffe868003 Remove special case for root-level symlinks. 1993-12-30 20:09:51 +00:00
jtc 5b6c771aeb Update the list of primaries that are extensions of POSIX.2. 1993-12-29 22:22:44 +00:00
jtc 7c609895ee Changed to conform to POSIX.2, 4.24.4: the first argument that starts with
a -, or is a ! or a (, and all subsequent arguments shall be interpreted
as an expression ...
The behavior before this change can cause a non-option (eg -owner instead
of -user) to be interpreted as a file name.  Depending on the expression
used, this could cause serious damage:

	find . -owner jtc -exec rm \{\} \;

Will delete every file.
1993-12-29 22:00:13 +00:00
jtc 3a2b9d8c2b Added -print0 (like GNU find). This will allow file names that contain
newlines to be correctly interpreted by programs that process find
output.
1993-10-27 17:52:30 +00:00
jtc 99cd400e2e Use *->fts_errno instead of errno after fts_read(). The fts manpage
indicates that the fts_errno will be set to the correct value, but there
are no guarentees about errno.
1993-10-01 01:03:22 +00:00
cgd 62d3b2073c fix to the 'size' primary; -size <n>c didn't work. from
Thomas Eberhardt <thomas@mathematik.uni-Bremen.de>
1993-09-16 21:41:30 +00:00
deraadt f85c326074 for new fts library 1993-08-06 01:53:33 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
mycroft dfb9caab49 Add RCS indentifiers. 1993-08-01 07:32:48 +00:00
mycroft 690cae8181 Add RCS indentifiers. 1993-07-31 15:17:49 +00:00
jtc 5108aaad56 Update source to use posix fnmatch 1993-06-16 17:19:05 +00:00
mycroft ea595285f6 Remove bogus option so as not to confuse bsearch(). 1993-04-19 11:25:41 +00:00
mycroft 5db0bae112 Reverse sense of fnmatch() to match POSIX. 1993-04-10 01:10:27 +00:00
cgd 7c6490bf10 added support for "kernfs" and "fdesc" to -fstype 1993-03-24 22:56:32 +00:00
cgd 609f072018 fixed fact that "rdonly" wasn't supported by -fstype, but the man
page said it was.  also fixed multiple fstype checks on the same
partition
1993-03-24 22:54:22 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00