11 Commits

Author SHA1 Message Date
James Youngman
43a2b57f3d Update code to reflect gnulib's changes to the arguments of human_readable(). Drop support for "FIND_BLOCK_SIZE" environment variable 2003-06-14 15:20:03 +00:00
James Youngman
b262c0a0fd Changes to allow compilation on non-GNU systems (i.e. for the macros that gnulib decides to #define to be effective) 2003-05-26 13:51:45 +00:00
James Youngman
08c301f0ff Updated copyright years and the address of the FSF 2003-05-24 18:36:25 +00:00
Kevin Dalley
1b9525aaa6 * find/util.c (get_new_pred):
* find/tree.c (set_new_parent):
* find/parser.c (various parse functions):
* find/find.c (main):
(default_prints): new function
* find/defs.h (struct predicate): added no_default_print
side_effects are no separated from no_default_print.  predicates
which cause side effects should not be reordered (optimized).
predicates which cause printing should have printing turned off.
Printing statements also cause side effects.
2001-01-21 06:35:08 +00:00
Kevin Dalley
c5cbe82e70 If open + fchdir fails, fall back on xgetcwd + chdir.
The old code tested for this at compile-time,
	but SunOS 4.1.4 fchdir can fail at run-time.

	* find/defs.h (fchdir): Define to -1 if not available.
	* find/defs.h (starting_dir, starting_desc):
	Always declare.  starting_dir now points to const.
	* find/find.c (starting_dir, starting_desc): Likewise.
	* find/find.c (starting_dir):
	Now "." if starting_desc is nonnegative, for benefit of diagnostics.
	(main, process_top_path, process_dir):
	If open + fchdir fails, fall back on xgetcwd + chdir.
	* find/pred.c (launch): Likewise.
2000-10-21 21:21:12 +00:00
Kevin Dalley
491aaa41f5 *** empty log message *** 2000-04-12 10:18:08 +00:00
Kevin Dalley
abbd1756aa * find/defs.h: add macros PARAMS rather than P_, for consistency 2000-04-05 07:36:11 +00:00
Kevin Dalley
b37340dcc4 * find/defs.h: move lstat declarations into defs.h 1999-08-08 19:42:47 +00:00
Kevin Dalley
0b95314416 * added const to declaration of basename, which should satisfy Linux as
well as Hurd (fixes bug #31325).
1999-01-31 02:23:20 +00:00
Kevin Dalley
a0c29ef3fa imported from findutils-4.1-4 Debian package 1996-02-04 20:48:05 +00:00
Kevin Dalley
c030b5ee33 Initial revision 1996-02-04 20:35:16 +00:00