Up to [cvs.netbsd.org] / src / usr.bin / find
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.27.6.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:09:31 2012 UTC (5 weeks, 4 days ago) by yamt
Branch: yamt-pagecache
Changes since 1.27: +4 -7
lines
Diff to previous 1.27 (colored) next main 1.28 (colored)
sync with head
Revision 1.29 / (download) - annotate - [select for diffs], Tue Mar 20 20:34:57 2012 UTC (2 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base5,
yamt-pagecache-base4,
HEAD
Changes since 1.28: +3 -6
lines
Diff to previous 1.28 (colored)
Use C89 function definitions
Revision 1.28 / (download) - annotate - [select for diffs], Sun Mar 18 17:09:46 2012 UTC (2 months, 1 week ago) by dholland
Branch: MAIN
Changes since 1.27: +3 -3
lines
Diff to previous 1.27 (colored)
Avoid testing a possibly uninitialized errno value when using -exit. Closes PR 44973 (change is a somewhat more principled equivalent of the patch suggested there) although I cannot replicate the reported behavior unless I explicitly prepare errno with a nonzero value before the fts_read loop.
Revision 1.27 / (download) - annotate - [select for diffs], Tue Dec 28 15:28:31 2010 UTC (16 months, 4 weeks ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
netbsd-6-base,
netbsd-6,
matt-mips64-premerge-20101231,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Branch point for: yamt-pagecache
Changes since 1.26: +9 -2
lines
Diff to previous 1.26 (colored)
only setup siginfo handler if we have a tty.
Revision 1.26 / (download) - annotate - [select for diffs], Mon Dec 27 16:09:46 2010 UTC (16 months, 4 weeks ago) by christos
Branch: MAIN
Changes since 1.25: +33 -15
lines
Diff to previous 1.25 (colored)
The SIGINFO changes made the sigprocmask syscalls dominate all the rest: - Don't bother dealing with signal masks if we are not connected to a tty. - Compute the blocking mask only once. - Only do the block-unblock game only when we are going to do something (execute, print a warning, etc.)
Revision 1.23.8.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:35:45 2007 UTC (4 years, 6 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.23: +2 -2
lines
Diff to previous 1.23 (colored) next main 1.24 (colored)
sync with HEAD
Revision 1.25 / (download) - annotate - [select for diffs], Tue Sep 25 04:10:12 2007 UTC (4 years, 8 months ago) by lukem
Branch: MAIN
CVS Tags: yamt-pf42-baseX,
yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-pf42-base,
yamt-pf42,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
wrstuden-revivesa,
netbsd-5-base,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
netbsd-5,
mjf-devfs2-base,
mjf-devfs2,
matt-premerge-20091211,
matt-nb5-pq3-base,
matt-nb5-pq3,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64-k15,
matt-nb5-mips64,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-base2,
matt-armv6-nbase,
matt-armv6-base,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
jym-xensuspend-nbase,
jym-xensuspend-base,
jym-xensuspend,
hpcarm-cleanup-nbase,
hpcarm-cleanup-base,
cube-autoconf-base,
cube-autoconf
Changes since 1.24: +1 -0
lines
Diff to previous 1.24 (colored)
revert previous thinko
Revision 1.24 / (download) - annotate - [select for diffs], Tue Sep 25 04:09:03 2007 UTC (4 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.23: +2 -3
lines
Diff to previous 1.23 (colored)
remove unnecessary #include
Revision 1.23 / (download) - annotate - [select for diffs], Wed Oct 11 19:51:10 2006 UTC (5 years, 7 months ago) by apb
Branch: MAIN
CVS Tags: wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
netbsd-4-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
netbsd-4,
matt-mips64-base,
matt-mips64,
hpcarm-cleanup
Branch point for: matt-armv6
Changes since 1.22: +11 -17
lines
Diff to previous 1.22 (colored)
De-__P(), remove trailing spaces, sprinkle a few const, WARNS=4.
Revision 1.22 / (download) - annotate - [select for diffs], Sat Oct 7 17:04:02 2006 UTC (5 years, 7 months ago) by apb
Branch: MAIN
Changes since 1.21: +47 -3
lines
Diff to previous 1.21 (colored)
Add support for "find ... -exec ... {} +".
The code is from John Hawkinson in PR 20470. I adapted it to current,
and made some KNF and comment changes.
Revision 1.21 / (download) - annotate - [select for diffs], Mon Feb 20 16:31:02 2006 UTC (6 years, 3 months ago) by jschauma
Branch: MAIN
CVS Tags: chap-midi-nbase,
chap-midi-base,
chap-midi,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Changes since 1.20: +14 -8
lines
Diff to previous 1.20 (colored)
Add a new primary '-exit n': This primary causes find to stop traversing the filesystem and exit immediately if a previous condition was met. If no value is specified, the exit value will be 0, else n. Note that other primaries will be evaluated and acted upon before exiting. Ok matt@, garbled@.
Revision 1.20 / (download) - annotate - [select for diffs], Wed Oct 12 20:03:59 2005 UTC (6 years, 7 months ago) by reed
Branch: MAIN
Changes since 1.19: +5 -5
lines
Diff to previous 1.19 (colored)
This adds -fprint function. The primary name "-fprint" (but not the code) comes from findutils; it behaves the same. From my manpage addition: -fprint filename This primary always evaluates to true. This creates filename or overwrites the file if it already exists. The file is created at startup. It writes the pathname of the current file to this file, followed by a newline character. The file will be empty if no files are matched. Here is an example usage: find /etc \( -name "*pass*" -fprint file1 \) -o \( -group operator -fprint file2 \) -o -name "w*" Note that this example will NOT include entry in file2 if it is matched in first expression. (This also is same behaviour as findutils, and I have implemented a -false primary to handle that. I will commit it later.) This creates the file as command line argument parsing time. If there is an error somewhere on that line, such as missing values or mismatched parenthesis, then a file may still be created. (Even if a later -fprint filename is unwritable.) This is similar behaviour to findutils. (It has been suggested that this find could be code to create the files in an extra stage after the command-line argument parsing and before the actual function processing.) I will add -fprintx and -fprint0 soon. This was discussed on tech-userlevel.
Revision 1.18.2.1.2.2 / (download) - annotate - [select for diffs], Tue Oct 11 23:47:05 2005 UTC (6 years, 7 months ago) by reed
Branch: netbsd-2
CVS Tags: netbsd-2-1-RELEASE,
netbsd-2-1-RC6,
netbsd-2-1
Changes since 1.18.2.1.2.1: +3 -3
lines
Diff to previous 1.18.2.1.2.1 (colored) to branchpoint 1.18.2.1 (colored) next main 1.19 (colored)
Revert changes. I accidently committed to netbsd-2.
Revision 1.18.2.1.2.1 / (download) - annotate - [select for diffs], Tue Oct 11 22:56:27 2005 UTC (6 years, 7 months ago) by reed
Branch: netbsd-2
Changes since 1.18.2.1: +5 -5
lines
Diff to previous 1.18.2.1 (colored)
This adds -fprint function. The primary name "-fprint" (but not the
code) comes from findutils; it behaves the same.
From my manpage addition:
-fprint filename
This primary always evaluates to true. This creates filename or
overwrites the file if it already exists. The file is created at
startup. It writes the pathname of the current file to this
file, followed by a newline character. The file will be empty if
no files are matched.
Here is an example usage:
find /etc \( -name "*pass*" -fprint file1 \) -o \( -group operator -fprint file2 \) -o -name "w*"
This was discussed on tech-userlevel.
This creates the file as command line argument parsing time.
If there is an error somewhere on that line, such as missing values
or mismatched parenthesis, then a file may still be created.
(Even if a later -fprint filename is unwritable.) This is similar
behaviour to findutils. (It has been suggested that this find could
be code to create the files in an extra stage after the command-line
argument parsing and before the actual function processing.)
I will add -fprintx and -fprint0 soon.
Revision 1.18.2.1 / (download) - annotate - [select for diffs], Wed Mar 31 18:07:46 2004 UTC (8 years, 1 month ago) by tron
Branch: netbsd-2-0
CVS Tags: netbsd-2-base,
netbsd-2-1-RC5,
netbsd-2-1-RC4,
netbsd-2-1-RC3,
netbsd-2-1-RC2,
netbsd-2-1-RC1,
netbsd-2-0-RELEASE,
netbsd-2-0-RC5,
netbsd-2-0-RC4,
netbsd-2-0-RC3,
netbsd-2-0-RC2,
netbsd-2-0-RC1,
netbsd-2-0-3-RELEASE,
netbsd-2-0-2-RELEASE,
netbsd-2-0-1-RELEASE
Branch point for: netbsd-2
Changes since 1.18: +2 -6
lines
Diff to previous 1.18 (colored) next main 1.19 (colored)
Pull up revision 1.19 (requested by heas in ticket #25): Do not skip whiteout files returned by fts_read(), which only returns them if requested. Patch from Dave Huang in PR bin/5419.
Revision 1.19 / (download) - annotate - [select for diffs], Tue Mar 30 22:51:13 2004 UTC (8 years, 1 month ago) by heas
Branch: MAIN
CVS Tags: netbsd-3-base,
netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-1-1-RELEASE,
netbsd-3-1,
netbsd-3-0-RELEASE,
netbsd-3-0-RC6,
netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0,
netbsd-3
Changes since 1.18: +2 -6
lines
Diff to previous 1.18 (colored)
Do not skip whiteout files returned by fts_read(), which only returns them if requested. Patch from Dave Huang in PR bin/5419.
Revision 1.18 / (download) - annotate - [select for diffs], Thu Aug 7 11:13:41 2003 UTC (8 years, 9 months ago) by agc
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.17: +3 -7
lines
Diff to previous 1.17 (colored)
Move UCB-licensed code from 4-clause to 3-clause licence. Patches provided by Joel Baker in PR 22365, verified by myself.
Revision 1.17 / (download) - annotate - [select for diffs], Thu May 22 15:48:44 2003 UTC (9 years ago) by yamt
Branch: MAIN
Changes since 1.16: +30 -3
lines
Diff to previous 1.16 (colored)
protect from signals properly. (fix crashes when get SIGINFO.)
Revision 1.16 / (download) - annotate - [select for diffs], Thu May 22 15:47:25 2003 UTC (9 years ago) by yamt
Branch: MAIN
Changes since 1.15: +9 -9
lines
Diff to previous 1.15 (colored)
rename a global variable, 'entry', to 'g_entry'. it was confusing because we have many local 'entry' variable.
Revision 1.15 / (download) - annotate - [select for diffs], Fri Sep 27 15:56:26 2002 UTC (9 years, 8 months ago) by provos
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.14: +3 -3
lines
Diff to previous 1.14 (colored)
support for -empty, -execdir, -mindepth, -maxdepth to match other UNIX-like systems. based on work by tholo@openbsd.org. approved by perry.
Revision 1.14 / (download) - annotate - [select for diffs], Thu Mar 16 18:44:29 2000 UTC (12 years, 2 months ago) by enami
Branch: MAIN
CVS Tags: netbsd-1-6-base,
netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1,
netbsd-1-6-PATCH002-RELEASE,
netbsd-1-6-PATCH002-RC4,
netbsd-1-6-PATCH002-RC3,
netbsd-1-6-PATCH002-RC2,
netbsd-1-6-PATCH002-RC1,
netbsd-1-6-PATCH002,
netbsd-1-6-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001,
netbsd-1-6,
netbsd-1-5-base,
netbsd-1-5-RELEASE,
netbsd-1-5-PATCH003,
netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001,
netbsd-1-5-BETA2,
netbsd-1-5-BETA,
netbsd-1-5-ALPHA2,
netbsd-1-5,
minoura-xpg4dl-base,
minoura-xpg4dl
Changes since 1.13: +4 -3
lines
Diff to previous 1.13 (colored)
Cosmetic changes.
Revision 1.13 / (download) - annotate - [select for diffs], Fri Mar 10 14:50:36 2000 UTC (12 years, 2 months ago) by kleink
Branch: MAIN
Changes since 1.12: +3 -3
lines
Diff to previous 1.12 (colored)
Use strcoll() to sort directory entries.
Revision 1.12 / (download) - annotate - [select for diffs], Fri Mar 10 11:46:04 2000 UTC (12 years, 2 months ago) by itohy
Branch: MAIN
Changes since 1.11: +17 -8
lines
Diff to previous 1.11 (colored)
Add -s (sort) option, which causes entries in each directory sorted. Similar to FreeBSD's.
Revision 1.11 / (download) - annotate - [select for diffs], Sat Feb 21 22:47:20 1998 UTC (14 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221,
wrstuden-devbsize,
netbsd-1-4-base,
netbsd-1-4-RELEASE,
netbsd-1-4-PATCH003,
netbsd-1-4-PATCH002,
netbsd-1-4-PATCH001,
netbsd-1-4,
comdex-fall-1999-base,
comdex-fall-1999
Changes since 1.10: +6 -6
lines
Diff to previous 1.10 (colored)
Simplify the function calling code and warnsify.
Revision 1.10 / (download) - annotate - [select for diffs], Mon Feb 2 14:02:16 1998 UTC (14 years, 3 months ago) by mrg
Branch: MAIN
Changes since 1.9: +20 -9
lines
Diff to previous 1.9 (colored)
merge lite2, sans getvfsbyname in functions.c (waiting on libc)
Revision 1.9 / (download) - annotate - [select for diffs], Sun Oct 19 11:52:27 1997 UTC (14 years, 7 months ago) by lukem
Branch: MAIN
CVS Tags: netbsd-1-3-base,
netbsd-1-3-RELEASE,
netbsd-1-3-PATCH003-CANDIDATE2,
netbsd-1-3-PATCH003-CANDIDATE1,
netbsd-1-3-PATCH003-CANDIDATE0,
netbsd-1-3-PATCH003,
netbsd-1-3-PATCH002,
netbsd-1-3-PATCH001,
netbsd-1-3-BETA,
netbsd-1-3
Changes since 1.8: +9 -5
lines
Diff to previous 1.8 (colored)
fix .Nm usage, deprecate register, mostly WARNSify (needs minor rewrite to fix)
Revision 1.8 / (download) - annotate - [select for diffs], Thu Jan 9 20:19:10 1997 UTC (15 years, 4 months ago) by tls
Branch: MAIN
Changes since 1.7: +3 -1
lines
Diff to previous 1.7 (colored)
RCS ID police
Revision 1.7 / (download) - annotate - [select for diffs], Sun Jun 23 11:21:48 1996 UTC (15 years, 11 months ago) by mrg
Branch: MAIN
Changes since 1.6: +3 -2
lines
Diff to previous 1.6 (colored)
KNF.
Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Fri Sep 1 00:24:46 1995 UTC (16 years, 8 months ago) by jtc
Branch: WFJ-920714,
CSRG
CVS Tags: lite-2
Changes since 1.1.1.1: +42 -32
lines
Diff to previous 1.1.1.1 (colored)
imported from 44lite2
Revision 1.5.2.1 / (download) - annotate - [select for diffs], Mon Jul 18 09:56:02 1994 UTC (17 years, 10 months ago) by cgd
Branch: netbsd-1-0
CVS Tags: netbsd-1-0-RELEASE,
netbsd-1-0-PATCH1,
netbsd-1-0-PATCH06,
netbsd-1-0-PATCH05,
netbsd-1-0-PATCH04,
netbsd-1-0-PATCH03,
netbsd-1-0-PATCH02,
netbsd-1-0-PATCH0
Changes since 1.5: +13 -7
lines
Diff to previous 1.5 (colored) next main 1.6 (colored)
udpated from trhunk; needed fro release building scripts
Revision 1.6 / (download) - annotate - [select for diffs], Mon Jul 18 09:55:36 1994 UTC (17 years, 10 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-2-base,
netbsd-1-2-RELEASE,
netbsd-1-2-PATCH001,
netbsd-1-2-BETA,
netbsd-1-2,
netbsd-1-1-base,
netbsd-1-1-RELEASE,
netbsd-1-1-PATCH001,
netbsd-1-1
Changes since 1.5: +13 -7
lines
Diff to previous 1.5 (colored)
fix behaviour when adding -print
Revision 1.5 / (download) - annotate - [select for diffs], Thu Dec 30 21:15:21 1993 UTC (18 years, 4 months ago) by jtc
Branch: MAIN
CVS Tags: netbsd-1-0-base
Branch point for: netbsd-1-0
Changes since 1.4: +15 -15
lines
Diff to previous 1.4 (colored)
Merged our bugfixes with the 4.4BSD find from uunet.
Revision 1.4 / (download) - annotate - [select for diffs], Thu Dec 30 20:09:51 1993 UTC (18 years, 4 months ago) by jtc
Branch: MAIN
Changes since 1.3: +1 -7
lines
Diff to previous 1.3 (colored)
Remove special case for root-level symlinks.
Revision 1.3 / (download) - annotate - [select for diffs], Fri Oct 1 01:03:22 1993 UTC (18 years, 7 months ago) by jtc
Branch: MAIN
Changes since 1.2: +2 -2
lines
Diff to previous 1.2 (colored)
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.
Revision 1.2 / (download) - annotate - [select for diffs], Sun Aug 1 18:16:16 1993 UTC (18 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.1: +2 -1
lines
Diff to previous 1.1 (colored)
Add RCS identifiers.
Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 21 09:45:37 1993 UTC (19 years, 2 months ago) by cgd
Branch: WFJ-920714,
CSRG
CVS Tags: patchkit-0-2-2,
netbsd-alpha-1,
netbsd-0-9-base,
netbsd-0-9-RELEASE,
netbsd-0-9-BETA,
netbsd-0-9-ALPHA2,
netbsd-0-9-ALPHA,
netbsd-0-9,
netbsd-0-8,
WFJ-386bsd-01
Changes since 1.1: +0 -0
lines
Diff to previous 1.1 (colored)
initial import of 386bsd-0.1 sources
Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 21 09:45:37 1993 UTC (19 years, 2 months ago) by cgd
Branch: MAIN
Initial revision