Commit Graph

14502 Commits

Author SHA1 Message Date
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
Jim Meyering
be0c9150a0 . 2003-02-01 11:03:57 +00:00
Jim Meyering
40bc15c132 tweak syntax. duh 2003-02-01 11:03:28 +00:00
Jim Meyering
228544d08c Whoops. Swap fail/cross-compile cases. 2003-02-01 11:03:04 +00:00
Jim Meyering
ba61c1af86 add comments 2003-02-01 11:00:45 +00:00
Jim Meyering
1973da17d0 *** empty log message *** 2003-02-01 09:59:17 +00:00
Jim Meyering
442dbd2429 (G_fail): New global.
(human_time): Diagnose failed localtime, not failed nstrftime.
(main): Fail if G_fail is set.
2003-02-01 09:59:09 +00:00
Jim Meyering
3507d9868f *** empty log message *** 2003-01-31 18:28:43 +00:00
Jim Meyering
4686f1f3fd Include "file-type.h"
(print_human_type): Remove function.
(human_access): Rename from print_human_access.  Return a string.
(human_time): Rename from print_human_time.  Return a string.
(print_stat): Arrange so that field width and an alignment specifier
are honored for the %A, %F, %x, %y, and %z formats.
[%F]: Use file_type; this gives slightly different file type strings,
e.g., `directory' instead of `Directory' and `regular file' or
`regular empty file' instead of `Regular file'.
2003-01-31 18:28:39 +00:00
Jim Meyering
fb9e95e6c3 (print_stat): Use S_ISLNK rather than an explicit
test using S_IFMT and S_IFLNK.  S_IFLNK may not be defined.
2003-01-31 13:52:18 +00:00
Jim Meyering
d060450cc8 *** empty log message *** 2003-01-31 13:37:16 +00:00
Jim Meyering
d85b93c0fb ditto for invalid options 2003-01-31 13:37:08 +00:00
Jim Meyering
4bee27ae43 (main): Upon processing a bad --exclude-from or --max-depth
option argument, don't exit right away, in case there are others.
Rather record the failure and exit after processing other options.
2003-01-31 13:35:25 +00:00
Jim Meyering
aaf8697ee9 *** empty log message *** 2003-01-31 10:43:35 +00:00
Jim Meyering
d92da7460e (TAR_OPTIONS): Set and export, in order to make
tar archive easier to reproduce.
2003-01-31 10:43:29 +00:00
Jim Meyering
3f026f0448 *** empty log message *** 2003-01-31 10:39:47 +00:00
Jim Meyering
de49951491 Rewrite to perform directory traversal using nftw.
Include "dirname.h", "ftw.h", and "quotearg.h".
(AUTHORS): Add self.
(opt_one_file_system): Move global into `main'.
(path, xstat, exit_status): Remove declarations.
(arg_length, suffix_length): New globals.
(G_fail): New global, sort of like the old `exit_status'.
(IS_FTW_DIR_TYPE): Define.
(print_only_size): New function.
(process_file): New function.
(str_init, ensure_space, str_copyc, str_concatc): Remove functions.
(str_trunc, pop_dir, count_entry): Likewise.
(du_files): Rewrite to use nftw.
2003-01-31 10:39:33 +00:00
Jim Meyering
129c735cda *** empty log message *** 2003-01-30 20:23:29 +00:00
Jim Meyering
9f90080b95 Ensure that with -L we get the same results even without the trailing slash. 2003-01-30 19:40:09 +00:00
Jim Meyering
1c976d1966 get latest 2003-01-30 13:55:20 +00:00
Jim Meyering
c96b23c2ff *** empty log message *** 2003-01-30 10:42:45 +00:00
Jim Meyering
594fe72be0 no backticks in C comments 2003-01-29 20:52:02 +00:00
Jim Meyering
0267e219b7 *** empty log message *** 2003-01-29 20:36:41 +00:00
Jim Meyering
f5ded0090d *** empty log message *** 2003-01-29 20:36:18 +00:00
Jim Meyering
651da6950f *** empty log message *** 2003-01-29 20:20:40 +00:00
Jim Meyering
a3d30ef951 Detect broken re_search in e.g. glibc-2.2.93. 2003-01-29 20:20:36 +00:00
Jim Meyering
1c5a98512f . 2003-01-28 17:55:23 +00:00
Jim Meyering
88b5eb8ef1 . 2003-01-28 17:54:46 +00:00
Jim Meyering
09b1a0014b comments 2003-01-28 17:40:56 +00:00
Jim Meyering
77e740fff6 *** empty log message *** 2003-01-27 18:06:38 +00:00