platform/upstream/coreutils.git
21 years ago*** empty log message ***
Jim Meyering [Sun, 2 Feb 2003 20:14:20 +0000 (20:14 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sun, 2 Feb 2003 20:14:00 +0000 (20:14 +0000)]
*** empty log message ***

21 years agoUse @PATH_SEPARATOR@ instead of hard-coding the path-separator.
Jim Meyering [Sun, 2 Feb 2003 20:11:33 +0000 (20:11 +0000)]
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.

21 years agotweak syntax to make it consistent with others
Jim Meyering [Sun, 2 Feb 2003 19:36:48 +0000 (19:36 +0000)]
tweak syntax to make it consistent with others

21 years ago*** empty log message ***
Jim Meyering [Sun, 2 Feb 2003 18:25:33 +0000 (18:25 +0000)]
*** empty log message ***

21 years ago.
Jim Meyering [Sun, 2 Feb 2003 18:25:22 +0000 (18:25 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Sun, 2 Feb 2003 18:24:09 +0000 (18:24 +0000)]
*** empty log message ***

21 years ago.
Jim Meyering [Sun, 2 Feb 2003 18:23:56 +0000 (18:23 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Sun, 2 Feb 2003 18:18:47 +0000 (18:18 +0000)]
*** empty log message ***

21 years ago(jm_PREREQ_REGEX): Remove.
Jim Meyering [Sun, 2 Feb 2003 18:18:43 +0000 (18:18 +0000)]
(jm_PREREQ_REGEX): Remove.

21 years ago(jm_PREREQ_REGEX): New function, from gnulib.
Jim Meyering [Sun, 2 Feb 2003 18:18:05 +0000 (18:18 +0000)]
(jm_PREREQ_REGEX): New function, from gnulib.
(jm_INCLUDED_REGEX): Use it.

21 years ago*** empty log message ***
Jim Meyering [Sun, 2 Feb 2003 17:15:01 +0000 (17:15 +0000)]
*** empty log message ***

21 years ago(lstat) [LSTAT_FOLLOWS_SLASHED_SYMLINK]: Define to rpl_lstat.
Jim Meyering [Sun, 2 Feb 2003 17:14:59 +0000 (17:14 +0000)]
(lstat) [LSTAT_FOLLOWS_SLASHED_SYMLINK]: Define to rpl_lstat.

21 years agoRequire jm_FUNC_LSTAT.
Jim Meyering [Sun, 2 Feb 2003 17:10:25 +0000 (17:10 +0000)]
Require jm_FUNC_LSTAT.

21 years agoDon't put decl after non-decl.
Jim Meyering [Sat, 1 Feb 2003 22:52:45 +0000 (22:52 +0000)]
Don't put decl after non-decl.

21 years ago*** empty log message ***
Jim Meyering [Sat, 1 Feb 2003 15:21:45 +0000 (15:21 +0000)]
*** empty log message ***

21 years ago.
Jim Meyering [Sat, 1 Feb 2003 15:21:29 +0000 (15:21 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Sat, 1 Feb 2003 15:21:18 +0000 (15:21 +0000)]
*** empty log message ***

21 years ago(MAX_N_DESCRIPTORS): Define.
Jim Meyering [Sat, 1 Feb 2003 15:20:36 +0000 (15:20 +0000)]
(MAX_N_DESCRIPTORS): Define.

21 years ago*** empty log message ***
Jim Meyering [Sat, 1 Feb 2003 11:05:25 +0000 (11:05 +0000)]
*** empty log message ***

21 years ago(jm_MACROS): Require UTILS_SYS_OPEN_MAX.
Jim Meyering [Sat, 1 Feb 2003 11:05:23 +0000 (11:05 +0000)]
(jm_MACROS): Require UTILS_SYS_OPEN_MAX.

21 years ago.
Jim Meyering [Sat, 1 Feb 2003 11:04:50 +0000 (11:04 +0000)]
.

21 years ago.
Jim Meyering [Sat, 1 Feb 2003 11:03:57 +0000 (11:03 +0000)]
.

21 years agotweak syntax. duh
Jim Meyering [Sat, 1 Feb 2003 11:03:28 +0000 (11:03 +0000)]
tweak syntax. duh

21 years agoWhoops. Swap fail/cross-compile cases.
Jim Meyering [Sat, 1 Feb 2003 11:03:04 +0000 (11:03 +0000)]
Whoops.  Swap fail/cross-compile cases.

21 years agoadd comments
Jim Meyering [Sat, 1 Feb 2003 11:00:45 +0000 (11:00 +0000)]
add comments

21 years ago*** empty log message ***
Jim Meyering [Sat, 1 Feb 2003 09:59:17 +0000 (09:59 +0000)]
*** empty log message ***

21 years ago(G_fail): New global.
Jim Meyering [Sat, 1 Feb 2003 09:59:09 +0000 (09:59 +0000)]
(G_fail): New global.
(human_time): Diagnose failed localtime, not failed nstrftime.
(main): Fail if G_fail is set.

21 years ago*** empty log message ***
Jim Meyering [Fri, 31 Jan 2003 18:28:43 +0000 (18:28 +0000)]
*** empty log message ***

21 years agoInclude "file-type.h"
Jim Meyering [Fri, 31 Jan 2003 18:28:39 +0000 (18:28 +0000)]
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'.

21 years ago(print_stat): Use S_ISLNK rather than an explicit
Jim Meyering [Fri, 31 Jan 2003 13:52:18 +0000 (13:52 +0000)]
(print_stat): Use S_ISLNK rather than an explicit
test using S_IFMT and S_IFLNK.  S_IFLNK may not be defined.

21 years ago*** empty log message ***
Jim Meyering [Fri, 31 Jan 2003 13:37:16 +0000 (13:37 +0000)]
*** empty log message ***

21 years agoditto for invalid options
Jim Meyering [Fri, 31 Jan 2003 13:37:08 +0000 (13:37 +0000)]
ditto for invalid options

21 years ago(main): Upon processing a bad --exclude-from or --max-depth
Jim Meyering [Fri, 31 Jan 2003 13:35:25 +0000 (13:35 +0000)]
(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.

21 years ago*** empty log message ***
Jim Meyering [Fri, 31 Jan 2003 10:43:35 +0000 (10:43 +0000)]
*** empty log message ***

21 years ago(TAR_OPTIONS): Set and export, in order to make
Jim Meyering [Fri, 31 Jan 2003 10:43:29 +0000 (10:43 +0000)]
(TAR_OPTIONS): Set and export, in order to make
tar archive easier to reproduce.

21 years ago*** empty log message ***
Jim Meyering [Fri, 31 Jan 2003 10:39:47 +0000 (10:39 +0000)]
*** empty log message ***

21 years agoRewrite to perform directory traversal using nftw.
Jim Meyering [Fri, 31 Jan 2003 10:39:33 +0000 (10:39 +0000)]
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.

21 years ago*** empty log message ***
Jim Meyering [Thu, 30 Jan 2003 20:23:29 +0000 (20:23 +0000)]
*** empty log message ***

21 years agoEnsure that with -L we get the same results even without the trailing slash.
Jim Meyering [Thu, 30 Jan 2003 19:40:09 +0000 (19:40 +0000)]
Ensure that with -L we get the same results even without the trailing slash.

21 years agoget latest
Jim Meyering [Thu, 30 Jan 2003 13:55:20 +0000 (13:55 +0000)]
get latest

21 years ago*** empty log message ***
Jim Meyering [Thu, 30 Jan 2003 10:42:45 +0000 (10:42 +0000)]
*** empty log message ***

21 years agono backticks in C comments
Jim Meyering [Wed, 29 Jan 2003 20:52:02 +0000 (20:52 +0000)]
no backticks in C comments

21 years ago*** empty log message ***
Jim Meyering [Wed, 29 Jan 2003 20:36:41 +0000 (20:36 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Wed, 29 Jan 2003 20:36:18 +0000 (20:36 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Wed, 29 Jan 2003 20:20:40 +0000 (20:20 +0000)]
*** empty log message ***

21 years agoDetect broken re_search in e.g. glibc-2.2.93.
Jim Meyering [Wed, 29 Jan 2003 20:20:36 +0000 (20:20 +0000)]
Detect broken re_search in e.g. glibc-2.2.93.

21 years ago.
Jim Meyering [Tue, 28 Jan 2003 17:55:23 +0000 (17:55 +0000)]
.

21 years ago.
Jim Meyering [Tue, 28 Jan 2003 17:54:46 +0000 (17:54 +0000)]
.

21 years agocomments
Jim Meyering [Tue, 28 Jan 2003 17:40:56 +0000 (17:40 +0000)]
comments

21 years ago*** empty log message ***
Jim Meyering [Mon, 27 Jan 2003 18:06:38 +0000 (18:06 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Mon, 27 Jan 2003 18:04:46 +0000 (18:04 +0000)]
*** empty log message ***

21 years agoadd comments
Jim Meyering [Mon, 27 Jan 2003 15:16:01 +0000 (15:16 +0000)]
add comments

21 years ago(FTW_DCH, FTW_DCHP): Better comments.
Jim Meyering [Mon, 27 Jan 2003 15:00:22 +0000 (15:00 +0000)]
(FTW_DCH, FTW_DCHP): Better comments.

21 years ago(quote_name): Add fourth parameter, width, into which to
Jim Meyering [Mon, 27 Jan 2003 13:42:26 +0000 (13:42 +0000)]
(quote_name): Add fourth parameter, width, into which to
store the screen columns, and return the number of bytes instead.
(print_dir): Pass NULL as fourth parameter of quote_name.
(print_name_with_quoting): Likewise.
(length_of_file_name_and_frills): Get the width from the fourth
parameter of quote_name instead of return value.

21 years ago*** empty log message ***
Jim Meyering [Mon, 27 Jan 2003 13:40:47 +0000 (13:40 +0000)]
*** empty log message ***

21 years ago(check-misc): Check for st_blocks, too.
Jim Meyering [Mon, 27 Jan 2003 13:40:43 +0000 (13:40 +0000)]
(check-misc): Check for st_blocks, too.

21 years ago(print_stat): Use ST_NBLOCKS rather than `->st_blocks'.
Jim Meyering [Mon, 27 Jan 2003 13:32:44 +0000 (13:32 +0000)]
(print_stat): Use ST_NBLOCKS rather than `->st_blocks'.

21 years ago.
Jim Meyering [Mon, 27 Jan 2003 13:26:45 +0000 (13:26 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Mon, 27 Jan 2003 10:45:51 +0000 (10:45 +0000)]
*** empty log message ***

21 years ago(decode_switches): If `dired' is set without
Jim Meyering [Mon, 27 Jan 2003 10:45:48 +0000 (10:45 +0000)]
(decode_switches): If `dired' is set without
`format == long_format', then silently reset dired.  This doesn't
change the behavior of ls (all prior uses of dired were protected
by `&& format == long_format'), and lets us...
(DIRED_INDENT): ... remove `format == long_format' conjunct.
(PUSH_CURRENT_DIRED_POS): Likewise.
(main): Likewise.

21 years ago*** empty log message ***
Jim Meyering [Sun, 26 Jan 2003 11:05:46 +0000 (11:05 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sun, 26 Jan 2003 11:03:44 +0000 (11:03 +0000)]
*** empty log message ***

21 years ago[_LIBC] (ISSLASH, FILESYSTEM_PREFIX_LEN): Define.
Jim Meyering [Sat, 25 Jan 2003 20:32:44 +0000 (20:32 +0000)]
[_LIBC] (ISSLASH, FILESYSTEM_PREFIX_LEN): Define.
(base_name): New function.
(ftw_startup): Don't strip trailing slashes.
Use base_name to find the offset of the basename.

21 years ago(object_compare): Compare inode numbers before device numbers.
Jim Meyering [Sat, 25 Jan 2003 16:44:07 +0000 (16:44 +0000)]
(object_compare): Compare inode numbers before device numbers.
The former is much more likely to differ for any two given file objects.

21 years ago*** empty log message ***
Jim Meyering [Sat, 25 Jan 2003 16:31:35 +0000 (16:31 +0000)]
*** empty log message ***

21 years ago(cut invocation): Describe new functionality of --output-delimiter=STR.
Jim Meyering [Sat, 25 Jan 2003 16:31:23 +0000 (16:31 +0000)]
(cut invocation): Describe new functionality of --output-delimiter=STR.

21 years ago.
Jim Meyering [Sat, 25 Jan 2003 08:00:05 +0000 (08:00 +0000)]
.

21 years agoTweak mysql output to match input :-) From Jan.
Jim Meyering [Fri, 24 Jan 2003 14:58:38 +0000 (14:58 +0000)]
Tweak mysql output to match input :-)  From Jan.

21 years ago*** empty log message ***
Jim Meyering [Fri, 24 Jan 2003 14:49:47 +0000 (14:49 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Fri, 24 Jan 2003 13:49:41 +0000 (13:49 +0000)]
*** empty log message ***

21 years agoChange each use of `Core-utils' to `Coreutils'.
Jim Meyering [Fri, 24 Jan 2003 13:49:38 +0000 (13:49 +0000)]
Change each use of `Core-utils' to `Coreutils'.

21 years ago*** empty log message ***
Jim Meyering [Fri, 24 Jan 2003 13:48:16 +0000 (13:48 +0000)]
*** empty log message ***

21 years ago(Formatting file timestamps): Fix typo: s/%M:S/%M:%S/.
Jim Meyering [Fri, 24 Jan 2003 13:48:11 +0000 (13:48 +0000)]
(Formatting file timestamps): Fix typo: s/%M:S/%M:%S/.

21 years ago(The cut command): Extend the new example a little.
Jim Meyering [Fri, 24 Jan 2003 13:47:21 +0000 (13:47 +0000)]
(The cut command): Extend the new example a little.

21 years ago(The cut command): Give an example of using cut -c
Jim Meyering [Fri, 24 Jan 2003 13:46:28 +0000 (13:46 +0000)]
(The cut command): Give an example of using cut -c
with an output delimiter.  From Jan Nieuwenhuizen.

21 years ago*** empty log message ***
Jim Meyering [Thu, 23 Jan 2003 20:49:21 +0000 (20:49 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Thu, 23 Jan 2003 20:13:48 +0000 (20:13 +0000)]
*** empty log message ***

21 years ago[HAVE_CONFIG_H]: Include <config.h>.
Jim Meyering [Thu, 23 Jan 2003 20:13:42 +0000 (20:13 +0000)]
[HAVE_CONFIG_H]: Include <config.h>.
Add autoconf-recommended block of alloca-related code.
Cast each use of alloca to the required type, (node**).

21 years ago*** empty log message ***
Jim Meyering [Thu, 23 Jan 2003 20:12:12 +0000 (20:12 +0000)]
*** empty log message ***

21 years agoAdd autoconf-recommended block of alloca-related code.
Jim Meyering [Thu, 23 Jan 2003 20:12:08 +0000 (20:12 +0000)]
Add autoconf-recommended block of alloca-related code.
[!_LIBC] (__getcwd): Define to xgetcwd and declare xgetcwd.

21 years agoupdate from master sources
Jim Meyering [Thu, 23 Jan 2003 18:51:54 +0000 (18:51 +0000)]
update from master sources

21 years ago*** empty log message ***
Jim Meyering [Thu, 23 Jan 2003 17:56:16 +0000 (17:56 +0000)]
*** empty log message ***

21 years ago(UTILS_FUNC_DIRFD): Invoke some AC_EGREP_CPP requirements.
Jim Meyering [Thu, 23 Jan 2003 17:55:17 +0000 (17:55 +0000)]
(UTILS_FUNC_DIRFD): Invoke some AC_EGREP_CPP requirements.

21 years ago*** empty log message ***
Jim Meyering [Thu, 23 Jan 2003 17:50:48 +0000 (17:50 +0000)]
*** empty log message ***

21 years agoCorrect typo: s/-1/no/ that kept this from working
Jim Meyering [Thu, 23 Jan 2003 17:50:42 +0000 (17:50 +0000)]
Correct typo: s/-1/no/ that kept this from working
on at least Irix and OSF1/Tru64.

21 years ago*** empty log message ***
Jim Meyering [Wed, 22 Jan 2003 20:46:11 +0000 (20:46 +0000)]
*** empty log message ***

21 years ago(find_object): Don't use c99-style struct initializer.
Jim Meyering [Wed, 22 Jan 2003 20:46:08 +0000 (20:46 +0000)]
(find_object): Don't use c99-style struct initializer.

21 years ago*** empty log message ***
Jim Meyering [Wed, 22 Jan 2003 20:33:29 +0000 (20:33 +0000)]
*** empty log message ***

21 years agoChange all uses of __const to const.
Jim Meyering [Wed, 22 Jan 2003 20:33:26 +0000 (20:33 +0000)]
Change all uses of __const to const.

21 years ago*** empty log message ***
Jim Meyering [Wed, 22 Jan 2003 20:32:23 +0000 (20:32 +0000)]
*** empty log message ***

21 years agoChange all uses of __const to const.
Jim Meyering [Wed, 22 Jan 2003 20:32:16 +0000 (20:32 +0000)]
Change all uses of __const to const.

21 years agoRequire FTW_DCH and FTW_DCHP, too.
Jim Meyering [Wed, 22 Jan 2003 20:28:25 +0000 (20:28 +0000)]
Require FTW_DCH and FTW_DCHP, too.

21 years ago*** empty log message ***
Jim Meyering [Wed, 22 Jan 2003 15:55:21 +0000 (15:55 +0000)]
*** empty log message ***

21 years ago.
Jim Meyering [Wed, 22 Jan 2003 15:51:46 +0000 (15:51 +0000)]
.

21 years ago.
Jim Meyering [Wed, 22 Jan 2003 15:50:54 +0000 (15:50 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Wed, 22 Jan 2003 15:50:07 +0000 (15:50 +0000)]
*** empty log message ***

21 years ago(CLEANFILES): Add generated files: ftw.h search.h.
Jim Meyering [Wed, 22 Jan 2003 15:50:00 +0000 (15:50 +0000)]
(CLEANFILES): Add generated files: ftw.h search.h.

21 years ago*** empty log message ***
Jim Meyering [Wed, 22 Jan 2003 15:46:42 +0000 (15:46 +0000)]
*** empty log message ***

21 years ago[anon enum] (FTW_DCHP): New member.
Jim Meyering [Wed, 22 Jan 2003 15:46:38 +0000 (15:46 +0000)]
[anon enum] (FTW_DCHP): New member.
(FTW_DCHP): Define.