Commit Graph

14631 Commits

Author SHA1 Message Date
Jim Meyering
03975e728d Include <limits.h>.
(PATH_MAX): Define to 1024, if not already defined.
(process_entry): Allocate enough space to hold the resulting
file name.  Don't presume that 2*dirbufsize is enough.
(ftw_startup): Always use PATH_MAX to compute buffer size, now that
it is guaranteed to be defined.
2003-02-05 16:35:07 +00:00
Jim Meyering
6e6188765a (process_entry): When using FTW_DEPTH, call `func',
the user-supplied callback, once before any of its entries,
in case that part of the hierarchy should be pruned. `func'
does that by setting `data->skip'.
2003-02-05 15:08:15 +00:00
Jim Meyering
862ae182e1 make sure excluding an entire hierarchy works 2003-02-05 14:29:59 +00:00
Jim Meyering
c7a61822f6 *** empty log message *** 2003-02-05 09:47:23 +00:00
Jim Meyering
031d89674a (TESTS): Add exclude. 2003-02-05 09:47:17 +00:00
Jim Meyering
7b86ff9268 don't use diff -u 2003-02-05 09:18:43 +00:00
Jim Meyering
6f9963b8ac typos 2003-02-05 09:18:33 +00:00
Jim Meyering
a5f617b2b4 *** empty log message *** 2003-02-05 09:17:22 +00:00
Jim Meyering
3c1dbea18f (show_entry): Update sole use of show_disk. 2003-02-05 07:01:27 +00:00
Jim Meyering
4d97bfa966 *** empty log message *** 2003-02-04 16:36:18 +00:00
Jim Meyering
e5860d52f8 *** empty log message *** 2003-02-04 11:48:40 +00:00
Jim Meyering
e295f4f388 `df /dev/block-or-char-device-file--not-mounted' now reports
the name of the file system on which the file resides, usually `/'.
Before, it would leave the `Mounted on' field blank.

(show_disk): Add parameter: STATP.
If we don't find a matching device name, then resort to calling
find_mount_point.
2003-02-04 11:48:27 +00:00
Jim Meyering
144418cd9d (show_disk): Move function to precede find_mount_point. 2003-02-04 10:28:23 +00:00
Jim Meyering
dc4a9398cb bump to 4.5.6 2003-02-03 13:57:21 +00:00
Jim Meyering
2eb4b97607 . 2003-02-02 23:16:49 +00:00
Jim Meyering
ca5fe741ff . 2003-02-02 22:11:13 +00:00
Jim Meyering
2e881206e3 duh 2003-02-02 22:10:41 +00:00
Jim Meyering
c0e51beb61 . 2003-02-02 21:48:00 +00:00
Jim Meyering
c7366d9a4b Remove junk that somehow was improperly pasted into an entry from 2002-10-12. 2003-02-02 20:53:56 +00:00
Jim Meyering
54f1fd99a4 add a couple newlines 2003-02-02 20:51:24 +00:00
Jim Meyering
bd9a1a92b4 *** empty log message *** 2003-02-02 20:35:15 +00:00
Jim Meyering
92248c4bc9 . 2003-02-02 20:34:45 +00:00
Jim Meyering
a3fb0cc75a (check-x-vs-1): Use @PATH_SEPARATOR@, not `:'. 2003-02-02 20:34:20 +00:00
Jim Meyering
4ac006af69 (makefile_path_separator_check): New rule.
(local-check): Add it to the list.
2003-02-02 20:31:48 +00:00
Jim Meyering
b535cc4171 *** empty log message *** 2003-02-02 20:17:21 +00:00
Jim Meyering
7ffbf3d56a *** empty log message *** 2003-02-02 20:17:04 +00:00
Jim Meyering
89fc480602 *** empty log message *** 2003-02-02 20:15:11 +00:00
Jim Meyering
08b6275885 Use @PATH_SEPARATOR@ instead of hard-coding the path-separator.
Also double-quote the new PATH, to avoid problems when the
path-separator is a semi-colon or when `pwd` contains e.g. a space.
2003-02-02 20:14:53 +00:00
Jim Meyering
62631d8844 *** empty log message *** 2003-02-02 20:14:20 +00:00
Jim Meyering
183659bb72 *** empty log message *** 2003-02-02 20:14:00 +00:00
Jim Meyering
d9ad189ff7 Use @PATH_SEPARATOR@ instead of hard-coding the path-separator.
Also double-quote the new PATH, to avoid problems when the
path-separator is a semi-colon or when `pwd` contains e.g. a space.
2003-02-02 20:11:33 +00:00
Jim Meyering
a9a663e42b tweak syntax to make it consistent with others 2003-02-02 19:36:48 +00:00
Jim Meyering
7be64fb687 *** empty log message *** 2003-02-02 18:25:33 +00:00
Jim Meyering
6426d38820 . 2003-02-02 18:25:22 +00:00
Jim Meyering
45698f01ec *** empty log message *** 2003-02-02 18:24:09 +00:00
Jim Meyering
f25f4c7cf3 . 2003-02-02 18:23:56 +00:00
Jim Meyering
977ac31797 *** empty log message *** 2003-02-02 18:18:47 +00:00
Jim Meyering
4747fbf9b4 (jm_PREREQ_REGEX): Remove. 2003-02-02 18:18:43 +00:00
Jim Meyering
1facca4380 (jm_PREREQ_REGEX): New function, from gnulib.
(jm_INCLUDED_REGEX): Use it.
2003-02-02 18:18:05 +00:00
Jim Meyering
50d375102f *** empty log message *** 2003-02-02 17:15:01 +00:00
Jim Meyering
670e4e061a (lstat) [LSTAT_FOLLOWS_SLASHED_SYMLINK]: Define to rpl_lstat. 2003-02-02 17:14:59 +00:00
Jim Meyering
2d5342fb94 Require jm_FUNC_LSTAT. 2003-02-02 17:10:25 +00:00
Jim Meyering
a881942cca Don't put decl after non-decl. 2003-02-01 22:52:45 +00:00
Jim Meyering
7df6daf8a4 *** empty log message *** 2003-02-01 15:21:45 +00:00
Jim Meyering
1a26ff6e02 . 2003-02-01 15:21:29 +00:00
Jim Meyering
a7eac7f5fd *** empty log message *** 2003-02-01 15:21:18 +00:00
Jim Meyering
d606b47598 (MAX_N_DESCRIPTORS): Define. 2003-02-01 15:20:36 +00:00
Jim Meyering
07d3a99375 *** empty log message *** 2003-02-01 11:05:25 +00:00
Jim Meyering
8323669455 (jm_MACROS): Require UTILS_SYS_OPEN_MAX. 2003-02-01 11:05:23 +00:00
Jim Meyering
5acb27d993 . 2003-02-01 11:04:50 +00:00