The NetBSD Project

CVS log for src/usr.bin/find/function.c

[BACK] Up to [cvs.netbsd.org] / src / usr.bin / find

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.67 / (download) - annotate - [select for diffs], Thu Sep 22 12:49:57 2011 UTC (4 months, 2 weeks ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, HEAD
Changes since 1.66: +24 -20 lines
Diff to previous 1.66 (colored)

Fix unchecked malloc, check for overflow (Maksymilian Arciemowicz)
While here, remove unused casts, fix types.

Revision 1.65.2.1 / (download) - annotate - [select for diffs], Sat Mar 5 15:10:59 2011 UTC (11 months ago) by bouyer
Branch: bouyer-quota2
Changes since 1.65: +3 -3 lines
Diff to previous 1.65 (colored) next main 1.66 (colored)

Sync with HEAD

Revision 1.66 / (download) - annotate - [select for diffs], Thu Feb 24 02:55:18 2011 UTC (11 months, 2 weeks ago) by jmcneill
Branch: MAIN
CVS Tags: cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase
Changes since 1.65: +3 -3 lines
Diff to previous 1.65 (colored)

Don't error out while searching for empty directories, from FreeBSD:

http://lists.freebsd.org/pipermail/svn-src-head/2010-December/022913.html

Revision 1.65 / (download) - annotate - [select for diffs], Thu Jan 6 08:18:42 2011 UTC (13 months ago) by dholland
Branch: MAIN
CVS Tags: bouyer-quota2-base
Branch point for: bouyer-quota2
Changes since 1.64: +3 -2 lines
Diff to previous 1.64 (colored)

Fix "-exec blah blah {} +" so it only matches when the {} is last, as
per the standard. Per (brief) discussion on tech-userlevel.

There should really be a form where you can do the equivalent of
"-exec blah {} blah +", but I think we're going to need to call it
something other than -exec. As it is it's sort of surprising that the
standards people didn't add a different name -- note what happens if
you try to do something like "find ... -exec expr {} + 2 \;".

Revision 1.64.16.2 / (download) - annotate - [select for diffs], Thu Jul 19 07:49:31 2007 UTC (4 years, 6 months ago) by daniel
Branch: matt-mips64
Changes since 1.64.16.1: +1896 -0 lines
Diff to previous 1.64.16.1 (colored) to branchpoint 1.64 (colored) next main 1.65 (colored)

Add the '-E' option to interpret regexes as extended regexes. While we
are here, fix ordering in usage information by putting '-X' in the proper
place.

Addition of '-E' was discussed on tech-userlevel.

Revision 1.64.16.1, Thu Jul 19 07:49:30 2007 UTC (4 years, 6 months ago) by daniel
Branch: matt-mips64
Changes since 1.64: +0 -1896 lines
FILE REMOVED

file function.c was added on branch matt-mips64 on 2007-07-19 07:49:31 +0000

Revision 1.64 / (download) - annotate - [select for diffs], Thu Jul 19 07:49:30 2007 UTC (4 years, 6 months ago) by daniel
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-premerge-20101231, matt-mips64-base2, matt-mips64-base, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf
Branch point for: matt-mips64
Changes since 1.63: +9 -7 lines
Diff to previous 1.63 (colored)

Add the '-E' option to interpret regexes as extended regexes. While we
are here, fix ordering in usage information by putting '-X' in the proper
place.

Addition of '-E' was discussed on tech-userlevel.

Revision 1.63 / (download) - annotate - [select for diffs], Tue Jul 17 21:35:29 2007 UTC (4 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.62: +4 -4 lines
Diff to previous 1.62 (colored)

eliminate MFSNAMELEN

Revision 1.62 / (download) - annotate - [select for diffs], Tue Feb 6 13:25:01 2007 UTC (5 years ago) by elad
Branch: MAIN
Changes since 1.61: +61 -2 lines
Diff to previous 1.61 (colored)

Add -delete from FreeBSD.

Revision 1.61 / (download) - annotate - [select for diffs], Fri Feb 2 15:48:54 2007 UTC (5 years ago) by christos
Branch: MAIN
Changes since 1.60: +3 -3 lines
Diff to previous 1.60 (colored)

fix spello (from Anon Ymous)

Revision 1.60 / (download) - annotate - [select for diffs], Thu Dec 14 20:55:56 2006 UTC (5 years, 1 month ago) by he
Branch: MAIN
Changes since 1.59: +2 -3 lines
Diff to previous 1.59 (colored)

Adapt find to the move of string_to_flags() and flags_to_string() to
libutil.

Revision 1.59 / (download) - annotate - [select for diffs], Thu Nov 9 20:50:53 2006 UTC (5 years, 3 months ago) by christos
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
Changes since 1.58: +9 -4 lines
Diff to previous 1.58 (colored)

eliminate alloca use.

Revision 1.58 / (download) - annotate - [select for diffs], Thu Oct 12 08:46:18 2006 UTC (5 years, 3 months ago) by tacha
Branch: MAIN
Changes since 1.57: +3 -4 lines
Diff to previous 1.57 (colored)

All members of PLAN should be initialized.

Revision 1.57 / (download) - annotate - [select for diffs], Wed Oct 11 19:51:10 2006 UTC (5 years, 4 months ago) by apb
Branch: MAIN
Changes since 1.56: +220 -399 lines
Diff to previous 1.56 (colored)

De-__P(), remove trailing spaces, sprinkle a few const, WARNS=4.

Revision 1.56 / (download) - annotate - [select for diffs], Sat Oct 7 17:04:02 2006 UTC (5 years, 4 months ago) by apb
Branch: MAIN
Changes since 1.55: +214 -41 lines
Diff to previous 1.55 (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.55 / (download) - annotate - [select for diffs], Sat Aug 26 18:17:42 2006 UTC (5 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.54: +3 -2 lines
Diff to previous 1.54 (colored)

More programs using efun.

Revision 1.54 / (download) - annotate - [select for diffs], Wed May 10 21:53:20 2006 UTC (5 years, 9 months ago) by mrg
Branch: MAIN
CVS Tags: chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.53: +4 -2 lines
Diff to previous 1.53 (colored)

quell GCC 4.1 uninitialised variable warnings.

XXX: we should audit the tree for which old ones are no longer needed
after getting the older compilers out of the tree..

Revision 1.53 / (download) - annotate - [select for diffs], Mon Feb 20 16:31:02 2006 UTC (5 years, 11 months ago) by jschauma
Branch: MAIN
Changes since 1.52: +25 -2 lines
Diff to previous 1.52 (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.52 / (download) - annotate - [select for diffs], Wed Nov 9 00:47:16 2005 UTC (6 years, 3 months ago) by reed
Branch: MAIN
Changes since 1.51: +24 -2 lines
Diff to previous 1.51 (colored)

Add -false switch. From man page:

-false  This primary always evaluates to false.  This can be used follow-
        ing a primary that caused the expression to be true to make the
	expression to be false.  This can be useful after using a -fprint
	primary so it can continue to the next expression (using an -or
	operator, for example).

This was brought up on the tech-userlevel list in October.

Using -fprint on findutils or new NetBSD find(1) does not do what
I wanted. For example, if saving results of all files that start
with a vowel or saving results of all files owned by group operator,
then the list of files owned by group operator would not include
the files starting with a vowel.

findutils's find has a workaround for this with -false and also a
"," comma opeator. (I made add this comma operator later; you can use
the comma to perform multiple independent tests.)

Revision 1.51 / (download) - annotate - [select for diffs], Wed Oct 12 20:03:59 2005 UTC (6 years, 3 months ago) by reed
Branch: MAIN
Changes since 1.50: +40 -2 lines
Diff to previous 1.50 (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.46.4.2 / (download) - annotate - [select for diffs], Tue Oct 11 23:47:05 2005 UTC (6 years, 4 months ago) by reed
Branch: netbsd-2
CVS Tags: netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1
Changes since 1.46.4.1: +0 -38 lines
Diff to previous 1.46.4.1 (colored) to branchpoint 1.46 (colored) next main 1.47 (colored)

Revert changes. I accidently committed to netbsd-2.

Revision 1.46.4.1 / (download) - annotate - [select for diffs], Tue Oct 11 22:56:27 2005 UTC (6 years, 4 months ago) by reed
Branch: netbsd-2
Changes since 1.46: +40 -2 lines
Diff to previous 1.46 (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.50 / (download) - annotate - [select for diffs], Sat Oct 1 20:27:17 2005 UTC (6 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.49: +3 -3 lines
Diff to previous 1.49 (colored)

fix setmode error handling.

Revision 1.49 / (download) - annotate - [select for diffs], Tue Dec 28 05:11:07 2004 UTC (7 years, 1 month ago) by atatat
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.48: +7 -12 lines
Diff to previous 1.48 (colored)

Attack of the whiteout police, including the "fix whitespace problems"
department followed by the "and fix the the ifdefs as well" brigade,
leading to a janitorial "just combine those two" strike team.

Revision 1.48 / (download) - annotate - [select for diffs], Wed Apr 21 01:05:47 2004 UTC (7 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.47: +5 -5 lines
Diff to previous 1.47 (colored)

Replace the statfs() family of system calls with statvfs().
Retain binary compatibility.

Revision 1.47 / (download) - annotate - [select for diffs], Tue Mar 30 22:51:55 2004 UTC (7 years, 10 months ago) by heas
Branch: MAIN
Changes since 1.46: +3 -3 lines
Diff to previous 1.46 (colored)

Whitespace nit

Revision 1.46 / (download) - annotate - [select for diffs], Thu Aug 7 11:13:41 2003 UTC (8 years, 6 months ago) by agc
Branch: MAIN
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-base, 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, netbsd-2-0
Branch point for: netbsd-2
Changes since 1.45: +3 -7 lines
Diff to previous 1.45 (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.45 / (download) - annotate - [select for diffs], Sun Aug 3 19:46:04 2003 UTC (8 years, 6 months ago) by provos
Branch: MAIN
Changes since 1.44: +31 -2 lines
Diff to previous 1.44 (colored)

Implement -iname for case insensitive matching on file names.
From freebsd/openbsd.  Approved by jaromir@, manu@, perry@.

Revision 1.44 / (download) - annotate - [select for diffs], Sat Jul 12 13:57:49 2003 UTC (8 years, 7 months ago) by itojun
Branch: MAIN
Changes since 1.43: +3 -3 lines
Diff to previous 1.43 (colored)

strlcpy

Revision 1.43 / (download) - annotate - [select for diffs], Thu Jan 30 10:49:05 2003 UTC (9 years ago) by jhawk
Branch: MAIN
Changes since 1.42: +11 -7 lines
Diff to previous 1.42 (colored)

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().

Revision 1.42 / (download) - annotate - [select for diffs], Sun Jan 26 07:07:31 2003 UTC (9 years ago) by matt
Branch: MAIN
Changes since 1.41: +3 -2 lines
Diff to previous 1.41 (colored)

With -printx also qoute $ and ` (since they are shell metacharaters).

Revision 1.41 / (download) - annotate - [select for diffs], Fri Sep 27 15:56:27 2002 UTC (9 years, 4 months ago) by provos
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.40: +211 -3 lines
Diff to previous 1.40 (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.40 / (download) - annotate - [select for diffs], Sun Dec 2 12:46:39 2001 UTC (10 years, 2 months ago) by kleink
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
Changes since 1.39: +41 -4 lines
Diff to previous 1.39 (colored)

Since we've already been down that road with -cnewer, support GNU find(1)'s
-anewer as well.

Revision 1.39 / (download) - annotate - [select for diffs], Sat Dec 1 14:10:04 2001 UTC (10 years, 2 months ago) by kleink
Branch: MAIN
Changes since 1.38: +39 -2 lines
Diff to previous 1.38 (colored)

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.

Revision 1.38 / (download) - annotate - [select for diffs], Fri Sep 21 07:11:33 2001 UTC (10 years, 4 months ago) by enami
Branch: MAIN
Changes since 1.37: +3 -3 lines
Diff to previous 1.37 (colored)

Reallocate memory correctly while substituting the braces.

Revision 1.37 / (download) - annotate - [select for diffs], Tue Sep 18 05:11:15 2001 UTC (10 years, 4 months ago) by simonb
Branch: MAIN
Changes since 1.36: +4 -4 lines
Diff to previous 1.36 (colored)

Back out previous vfork->fork change now that the cause of the problem
(execvp) has been fixed.

Revision 1.36 / (download) - annotate - [select for diffs], Fri Sep 14 08:19:25 2001 UTC (10 years, 4 months ago) by simonb
Branch: MAIN
Changes since 1.35: +3 -3 lines
Diff to previous 1.35 (colored)

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@.

Revision 1.35 / (download) - annotate - [select for diffs], Mon Feb 5 01:53:48 2001 UTC (11 years ago) by christos
Branch: MAIN
Changes since 1.34: +6 -17 lines
Diff to previous 1.34 (colored)

fixed nested externs

Revision 1.34 / (download) - annotate - [select for diffs], Tue Oct 10 14:30:41 2000 UTC (11 years, 4 months ago) by enami
Branch: MAIN
Changes since 1.33: +3 -2 lines
Diff to previous 1.33 (colored)

- 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.

Revision 1.33 / (download) - annotate - [select for diffs], Thu Mar 16 18:44:29 2000 UTC (11 years, 10 months ago) by enami
Branch: MAIN
CVS Tags: 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.32: +27 -5 lines
Diff to previous 1.32 (colored)

Cosmetic changes.

Revision 1.31.4.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:36:54 1999 UTC (12 years, 1 month ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.31: +3 -3 lines
Diff to previous 1.31 (colored) next main 1.32 (colored)

Pull up to last week's -current.

Revision 1.32 / (download) - annotate - [select for diffs], Tue Nov 9 15:06:34 1999 UTC (12 years, 3 months ago) by drochner
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221
Changes since 1.31: +3 -3 lines
Diff to previous 1.31 (colored)

Since our gcc doesn't warn about NULL format strings anymore, we can
fix the incorrect err(1, "%s", "") et al.
Closes PR bin/7592 by cgd.

Revision 1.30.2.1 / (download) - annotate - [select for diffs], Fri Aug 20 05:43:37 1999 UTC (12 years, 5 months ago) by cgd
Branch: netbsd-1-4
CVS Tags: netbsd-1-4-PATCH003, netbsd-1-4-PATCH002
Changes since 1.30: +68 -2 lines
Diff to previous 1.30 (colored) next main 1.31 (colored)

pull up rev 1.31 from trunk. (cgd)

Revision 1.31 / (download) - annotate - [select for diffs], Tue Jul 20 01:28:41 1999 UTC (12 years, 6 months ago) by cgd
Branch: MAIN
CVS Tags: comdex-fall-1999-base, comdex-fall-1999
Branch point for: wrstuden-devbsize
Changes since 1.30: +68 -2 lines
Diff to previous 1.30 (colored)

add -regex and -iregex primaries which, like GNU find's primaries of the
same name, match files' entire paths against regular expressions.
-regex is case sensitive, -iregex is case-insensitive.  Note that these
primaries are _not_ entirely compatible with the GNU find primaries,
because their BREs appear to support alternation with \| whereas our BREs
do not.  Also note there are no primaries which provide extended regular
expressions matching, though if they are desired they would be trivial
to implement.

Revision 1.30 / (download) - annotate - [select for diffs], Thu Feb 4 16:41:17 1999 UTC (13 years ago) by kleink
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH001
Branch point for: netbsd-1-4
Changes since 1.29: +7 -6 lines
Diff to previous 1.29 (colored)

Don't choke on file size specifications (legitimately) exceeding LONG_MAX.

Revision 1.29 / (download) - annotate - [select for diffs], Sat Jan 16 13:27:30 1999 UTC (13 years ago) by simonb
Branch: MAIN
Changes since 1.28: +104 -2 lines
Diff to previous 1.28 (colored)

Add GNU-style -{a,c,m}min primaries.

Revision 1.28 / (download) - annotate - [select for diffs], Tue Jan 12 00:18:50 1999 UTC (13 years, 1 month ago) by lukem
Branch: MAIN
Changes since 1.27: +32 -2 lines
Diff to previous 1.27 (colored)

Add support for -printx, which quotes pathnames in an xargs friendly way.
From [bin/6790] by Eric Fischer <eric@fudge.uchicago.edu>

Revision 1.27 / (download) - annotate - [select for diffs], Sun Jan 3 14:54:28 1999 UTC (13 years, 1 month ago) by lukem
Branch: MAIN
Changes since 1.26: +50 -2 lines
Diff to previous 1.26 (colored)

Add support for "-flags [-]flags", which matches the file flags in a
similar way that "-perm [-]mode" matches the file mode.

Revision 1.26 / (download) - annotate - [select for diffs], Fri Nov 6 23:21:01 1998 UTC (13 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.25: +2 -3 lines
Diff to previous 1.25 (colored)

we don't need sys/ucred.h

Revision 1.25 / (download) - annotate - [select for diffs], Wed Oct 14 00:50:43 1998 UTC (13 years, 3 months ago) by wsanchez
Branch: MAIN
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored)

init mask to silence -Wall

Revision 1.24 / (download) - annotate - [select for diffs], Sat Feb 21 22:47:20 1998 UTC (13 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.23: +120 -44 lines
Diff to previous 1.23 (colored)

Simplify the function calling code and warnsify.

Revision 1.23 / (download) - annotate - [select for diffs], Tue Feb 3 01:04:27 1998 UTC (14 years ago) by mrg
Branch: MAIN
Changes since 1.22: +2 -21 lines
Diff to previous 1.22 (colored)

remove getvfsbyname cruft.

Revision 1.22 / (download) - annotate - [select for diffs], Mon Feb 2 14:02:21 1998 UTC (14 years ago) by mrg
Branch: MAIN
Changes since 1.21: +45 -19 lines
Diff to previous 1.21 (colored)

merge lite2, sans getvfsbyname in functions.c (waiting on libc)

Revision 1.21 / (download) - annotate - [select for diffs], Sun Oct 19 11:52:32 1997 UTC (14 years, 3 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.20: +53 -25 lines
Diff to previous 1.20 (colored)

fix .Nm usage, deprecate register, mostly WARNSify (needs minor rewrite to fix)

Revision 1.20 / (download) - annotate - [select for diffs], Sat Feb 1 09:51:48 1997 UTC (15 years ago) by matthias
Branch: MAIN
Changes since 1.19: +2 -4 lines
Diff to previous 1.19 (colored)

remove second RCS-Id line.

Revision 1.19 / (download) - annotate - [select for diffs], Thu Jan 30 09:17:27 1997 UTC (15 years ago) by matthias
Branch: MAIN
Changes since 1.18: +7 -2 lines
Diff to previous 1.18 (colored)

finding whiteouts didn't work.

Revision 1.18 / (download) - annotate - [select for diffs], Thu Jan 9 20:19:12 1997 UTC (15 years, 1 month ago) by tls
Branch: MAIN
Changes since 1.17: +3 -1 lines
Diff to previous 1.17 (colored)

RCS ID police

Revision 1.17 / (download) - annotate - [select for diffs], Tue May 21 13:43:52 1996 UTC (15 years, 8 months ago) by mrg
Branch: MAIN
CVS Tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Changes since 1.16: +6 -1 lines
Diff to previous 1.16 (colored)

add support for whiteouts.  pr#2394 (Mike Long <mike.long@analog.com>)

Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Fri Sep 1 00:24:42 1995 UTC (16 years, 5 months ago) by jtc
Branch: WFJ-920714, CSRG
CVS Tags: lite-2
Changes since 1.1.1.1: +259 -194 lines
Diff to previous 1.1.1.1 (colored)

imported from 44lite2

Revision 1.16 / (download) - annotate - [select for diffs], Sun Jun 18 11:00:17 1995 UTC (16 years, 7 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.15: +2 -3 lines
Diff to previous 1.15 (colored)

don't assume f_fstypename is larger than MFSNAMELEN or is nul-terminated

Revision 1.13.2.1 / (download) - annotate - [select for diffs], Tue Oct 18 18:43:21 1994 UTC (17 years, 3 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.13: +10 -13 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

from trunk.

Revision 1.15 / (download) - annotate - [select for diffs], Tue Oct 18 17:02:44 1994 UTC (17 years, 3 months ago) by mycroft
Branch: MAIN
Changes since 1.14: +9 -15 lines
Diff to previous 1.14 (colored)

Get rid of a redundant sanity check.

Revision 1.14 / (download) - annotate - [select for diffs], Tue Oct 18 13:54:25 1994 UTC (17 years, 3 months ago) by mycroft
Branch: MAIN
Changes since 1.13: +7 -4 lines
Diff to previous 1.13 (colored)

Always save both the mount flags and the file system type when crossing a
mount point.  From John Kohl.

Revision 1.13 / (download) - annotate - [select for diffs], Thu Apr 14 03:34:16 1994 UTC (17 years, 10 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-0-base
Branch point for: netbsd-1-0
Changes since 1.12: +9 -68 lines
Diff to previous 1.12 (colored)

fstypes will be strings soon

Revision 1.12 / (download) - annotate - [select for diffs], Wed Feb 16 03:59:52 1994 UTC (17 years, 11 months ago) by andrew
Branch: MAIN
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

-nouser and -nogroup tests were negated.

Revision 1.11 / (download) - annotate - [select for diffs], Fri Jan 21 02:59:38 1994 UTC (18 years ago) by jtc
Branch: MAIN
Changes since 1.10: +5 -1 lines
Diff to previous 1.10 (colored)

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).

Revision 1.10 / (download) - annotate - [select for diffs], Thu Dec 30 21:15:24 1993 UTC (18 years, 1 month ago) by jtc
Branch: MAIN
Changes since 1.9: +262 -174 lines
Diff to previous 1.9 (colored)

Merged our bugfixes with the 4.4BSD find from uunet.

Revision 1.9 / (download) - annotate - [select for diffs], Wed Oct 27 17:52:41 1993 UTC (18 years, 3 months ago) by jtc
Branch: MAIN
Changes since 1.8: +19 -1 lines
Diff to previous 1.8 (colored)

Added -print0 (like GNU find).  This will allow file names that contain
newlines to be correctly interpreted by programs that process find
output.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Sep 16 21:41:30 1993 UTC (18 years, 4 months ago) by cgd
Branch: MAIN
Changes since 1.7: +2 -1 lines
Diff to previous 1.7 (colored)

fix to the 'size' primary; -size <n>c didn't work.  from
Thomas Eberhardt <thomas@mathematik.uni-Bremen.de>

Revision 1.7 / (download) - annotate - [select for diffs], Fri Aug 6 01:53:33 1993 UTC (18 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.6: +18 -18 lines
Diff to previous 1.6 (colored)

for new fts library

Revision 1.6 / (download) - annotate - [select for diffs], Sun Aug 1 18:16:14 1993 UTC (18 years, 6 months ago) by mycroft
Branch: MAIN
Changes since 1.5: +2 -1 lines
Diff to previous 1.5 (colored)

Add RCS identifiers.

Revision 1.5 / (download) - annotate - [select for diffs], Wed Jun 16 17:19:05 1993 UTC (18 years, 7 months ago) by jtc
Branch: MAIN
CVS Tags: netbsd-0-9-base, netbsd-0-9-RELEASE, netbsd-0-9-BETA, netbsd-0-9-ALPHA2, netbsd-0-9-ALPHA, netbsd-0-9
Changes since 1.4: +2 -1 lines
Diff to previous 1.4 (colored)

Update source to use posix fnmatch

Revision 1.4 / (download) - annotate - [select for diffs], Sat Apr 10 01:10:27 1993 UTC (18 years, 10 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-alpha-1, netbsd-0-8
Changes since 1.3: +1 -1 lines
Diff to previous 1.3 (colored)

Reverse sense of fnmatch() to match POSIX.

Revision 1.3 / (download) - annotate - [select for diffs], Wed Mar 24 22:56:34 1993 UTC (18 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.2: +20 -0 lines
Diff to previous 1.2 (colored)

added support for "kernfs" and "fdesc" to -fstype

Revision 1.2 / (download) - annotate - [select for diffs], Wed Mar 24 22:54:24 1993 UTC (18 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.1: +10 -4 lines
Diff to previous 1.1 (colored)

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

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 21 09:45:37 1993 UTC (18 years, 10 months ago) by cgd
Branch: WFJ-920714, CSRG
CVS Tags: patchkit-0-2-2, 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 (18 years, 10 months ago) by cgd
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>