Kevin Dalley
da4093813c
GNU findutils package version 4.1
1996-02-04 20:35:04 +00:00
James Youngman
acf041c79a
Applied patch from Jim Meyering to avoid link failure with gcc -fno-common
2008-03-09 11:16:37 +00:00
Eric Blake
142c983b65
Avoid compiler warnings.
...
* find/pred.c (pred_name_common): Remove unused variable.
* locate/locate.c (print_stats): Avoid undefined format string.
2008-02-15 14:43:24 +00:00
James Youngman
82009477f9
Fix Savannah bug #22056 , -Xtime tests are off by one second (extra fix for host with sub-second timestamps).
2008-02-12 12:17:48 +00:00
James Youngman
22de27a812
Fix Savannah bug #22056 , -Xtime tests are off by one second.
2008-02-12 12:00:32 +00:00
James Youngman
dec6d89d6e
Changes to allow better translation of plurals.
2008-02-09 10:44:24 +00:00
James Youngman
4af5f5eed5
Backed out the positional parameter change because it was too error prone and over-complex
2007-12-20 21:53:55 +00:00
James Youngman
e154e6a263
Installed typo fix from Clytie Siddall
2007-12-20 10:05:45 +00:00
James Youngman
f7dc6a9f0b
Enhancements to format strings in hman-readable messages intended to allow better translation
2007-12-19 21:16:33 +00:00
James Youngman
ea84409a28
Fixed 2 typos in find manpage (patch from Benno Schulenberg
2007-12-19 19:54:51 +00:00
James Youngman
dba9298627
Removed spurious blank line
2007-12-04 01:39:29 +00:00
James Youngman
cb204a2d6b
Fix Savannah bug #15384 , find misbehaves when parent directory is not readable.
2007-12-04 01:26:56 +00:00
James Youngman
245cefa021
find.1: Formatting fixes; options should be in bold
2007-12-04 01:03:20 +00:00
James Youngman
9a81c08f8b
Fix Savannah bug #20802 , find -delete anomalies
2007-12-02 11:43:22 +00:00
James Youngman
780ebc9a3a
Fix Savannah bug #20865 (-prune -delete without an explicit -depth is now an error)
2007-11-30 10:24:37 +00:00
James Youngman
31be13fc29
Add test case for Savannah bug #20803 (-prune return value)
2007-11-29 10:47:43 +00:00
James Youngman
660b4b1b81
Savannah bug #20803 : -prune should always return true
2007-11-27 20:50:19 +00:00
James Youngman
926bd5ea8d
Fixed Savannah bug #20970 : Trailing slash on directory arguments breaks -name
2007-11-26 10:37:41 +00:00
James Youngman
d1c1abe2fd
POSIXLY_CORRECT should turn off warnings. When it is set, also diagnose some noncompliant arguments to -perm. Fixes Savannah bug #21039 .
2007-11-22 09:16:54 +00:00
James Youngman
d777ddf3e6
POSIXLY_CORRECT should turn off warnings. When it is set, also diagnose some noncompliant arguments to -perm. Fixes Savannah bug #21039 .
2007-11-22 09:16:35 +00:00
James Youngman
99a08bf668
Savannah bug #20951 : Very bad/unclear/confusing documentation for a security note of find's -execdir option
2007-09-08 15:37:23 +00:00
James Youngman
efc875e647
Doc improvement; warn against -prune ... -delete (Savannah bug #20865 )
2007-09-08 13:48:31 +00:00
James Youngman
c31c8d278f
Fix Savannah bug #20834 : SIGSEGV when PATH is unset and -execdir is used
2007-08-23 09:01:56 +00:00
Eric Blake
313aa6493f
Fix Savannah bug #20871 .
...
* find/find.c (main): Remove bogus assertion.
* NEWS: Document the fix.
2007-08-23 02:34:45 +00:00
James Youngman
a94c569c11
Prepare for POSIX standardisation of -path.
...
* find/parser.c (parse_path): This is the 'canonical' name once
again.
(parse_wholename): This is not.
(parse_ipath): No longer deprecated.
2007-08-22 21:53:58 +00:00
Eric Blake
73c2f3e759
Fix for Savannah bug #20273 , find -ok with seekable stdin.
...
* find/find.c (main): Use close_stdin, not close_stdout.
* import-gnulib.config (gnulib_version): Pick up yesno tests.
* NEWS: Document the change.
* build-aux/.cvsignore: Ignore compile.
2007-08-21 13:40:26 +00:00
Eric Blake
4859cfca40
Fix Savannah bugs #20662 , 20688.
...
* find/find.c (at_top): Avoid memory leak.
* find/pred.c (do_fprintf, pred_iname, pred_name): Likewise.
(pred_name_common): New function, factored from pred_iname and
pred_name.
* find/parser.c (check_name_arg): Let -nowarn silence -name /.
* locate/locate.c (visit_basename): Avoid memory leak.
* NEWS: Document the changes.
* doc/find.texi (Warning Messages): Document -nowarn's effect on
-name and -iname.
* find/testsuite/find.gnu/name-slash.exp: New test, to ensure
20662 doesn't regress on '-name /', and that 20688 silences the
warning.
* find/testsuite/find.gnu/printf-slash.exp: Likewise.
* find/testsuite/find.gnu/name-slash.xo: Expected results.
* find/testsuite/find.gnu/printf-slash.xo: Likewise.
* find/testsuite/Makefile.am (EXTRA_DIST_XO, EXTRA_DIST_EXP):
Distribute new tests.
2007-08-05 12:22:14 +00:00
Eric Blake
6597c7a55c
* find/parser.c (parse_version): Avoid compiler warning.
...
* locate/code.c (includes): Likewise.
2007-07-24 03:38:39 +00:00
James Youngman
3f33764e2d
Removed version.c, as it is no longer needed
2007-07-22 14:05:52 +00:00
James Youngman
47b9976c8a
Fixed Savannah bug #20552 : Typos, ordering and formatting issues in find manpage
2007-07-22 13:47:12 +00:00
James Youngman
1bd53425e8
Fixed Savannah bug #20547 , version information not compliant with GNU coding standard
2007-07-22 13:08:22 +00:00
James Youngman
d7d18c0fe1
More consistent use of quotation marks in find manual page
2007-07-03 22:53:48 +00:00
James Youngman
5a04dd98c8
Include <fcntl.h> unconditionally; also, avoid passing nonexistent option --gpl3 to gnulib-tool
2007-07-02 08:57:59 +00:00
James Youngman
1c43fc92b5
Migrated from GPL version 2 to GPL version 3
2007-07-02 08:25:45 +00:00
Eric Blake
9480d9860e
* find/pred.c (pred_timewindow): Avoid gcc warnings.
...
(format_date): Likewise.
* find/tree.c (calculate_derived_rates): Likewise.
* locate/word_io.c (getword): Likewise.
2007-06-30 19:34:49 +00:00
James Youngman
fa570b2992
Added complex example to find manpage
2007-06-30 18:33:21 +00:00
James Youngman
4e98ad8e44
Use verify_true for validating constant conditions rather than assert, because the latter is only checked at runtime and eats CPU time
2007-06-30 13:15:33 +00:00
James Youngman
4844cf031a
find/tree.c (get_pred_cost): Eliminate unused variable
2007-06-30 12:24:35 +00:00
James Youngman
d7c387287d
Fix Savannah bug #20263 in a more portable way.
...
* find/tree.c (cost_table_comparison): Avoid casting function
pointers to poiter-to-object, since this is not portable (or
of course conforming). Instead, use memcmp().
2007-06-30 12:21:46 +00:00
Eric Blake
ad5a6bbefd
Allow 'make check' to work without prior 'make all'.
...
* find/Makefile.am (SUBDIRS): Build in . before testsuite.
* locate/Makefile.am (SUBDIRS): Likewise.
* xargs/Makefile.am (SUBDIRS): Likewise.
2007-06-28 17:20:39 +00:00
James Youngman
f7671dc609
Fix Savannah bug #20263 (compilation err on DEC OSF/1. Include <sys/stat.h> in files where where we use struct stat. Removed some dead code following some calls to assert(0), which are now backed up by abort calls. Use assert (0) rather than assert (false). Make sure we include the space.
2007-06-26 08:24:19 +00:00
James Youngman
6e06a9fc28
Ignore the usually-ignored files in git
2007-06-24 16:47:40 +00:00
James Youngman
c992c85a10
Better documentation for the fractional part of seconds fields for -printf and similar actions.
2007-06-22 08:50:26 +00:00
James Youngman
5a7e83f1d7
Fixed various lint complaints pointed out by build-aux/src-sniff.py
2007-06-21 23:41:08 +00:00
James Youngman
dbcb10e9f9
Fixed Savannah bug #20139 (-mtime -2 includes files matching -mtime 2 but it should not)
2007-06-14 09:37:24 +00:00
James Youngman
3015ece268
Fixed Savannah bug #20157 (bad initialisation of groups[] argument to setgroups); prepare for release of findutils-4.3.8
2007-06-12 19:34:31 +00:00
James Youngman
d201436011
Avoid running find's fprint-unwritable.exp test if we are running the test suite as root
2007-06-12 08:26:33 +00:00
James Youngman
52836d7852
Fixed bug #20128 , compilation error for find/tree.c for GCC on AIX
2007-06-09 12:25:27 +00:00
James Youngman
66c536bbb7
Fixed Savannah bug #20005 ; failure to distinguish -mtime -n, -mtme +n from -mtime n
2007-05-31 09:05:22 +00:00
James Youngman
a81eb68703
Fixed typos in error messages. Correction from Jakub Bogusz <qboosh@pld-linux.org>
2007-05-31 08:15:05 +00:00