Commit Graph
18717 Commits
Author SHA1 Message Date
Jim Meyering ffc81fb81f *** empty log message *** 2004-06-20 14:01:44 +00:00
Jim Meyering fb2a3c8a63 Remove declaration of yesno.
Instead, include yesno.h.
2004-06-20 13:47:24 +00:00
Jim Meyering 6c97ac18ef (obstack_base): Cast to (void *), per documentation. 2004-06-20 13:44:53 +00:00
Jim Meyering 1c7b9917a2 Include yesno.h.
(top_dir): Remove now-unnecessary cast of obstack_base.
(pop_dir): Likewise.
(full_filename_): Likewise.
2004-06-20 13:44:12 +00:00
Jim Meyering 1d5cfee4d8 *** empty log message *** 2004-06-20 13:42:43 +00:00
Jim Meyering 7ce1ce7e7d *** empty log message *** 2004-06-20 13:42:32 +00:00
Jim Meyering 19e8479c86 (libfetish_a_SOURCES): Add yesno.h. 2004-06-20 13:42:30 +00:00
Jim Meyering 4a80ae25c1 *** empty log message *** 2004-06-20 13:42:14 +00:00
Jim Meyering 5fd9b42ed3 Include "yesno.h". 2004-06-20 13:42:11 +00:00
Jim Meyering 8ccbd5f65f *** empty log message *** 2004-06-20 13:41:24 +00:00
Jim Meyering 3bd1b67643 *** empty log message *** 2004-06-20 06:57:02 +00:00
Jim Meyering 0171abddcd Don't dump core if ctime returns NULL; this is possible on
hosts with 64-bit time_t and 32-bit int.

Include "inttostr.h".
(time_string): New function, copied from who.c.
(print_entry): Use it.
2004-06-20 06:56:52 +00:00
Jim Meyering f2d779e87c Don't dump core if ctime returns NULL; this is possible on
hosts with 64-bit time_t and 32-bit int.

Include "inttostr.h".
(time_string): If ctime fails, print the raw time as an integer
instead of dumping core.
2004-06-20 06:53:05 +00:00
Jim Meyering b3a6653a60 *** empty log message *** 2004-06-20 06:51:19 +00:00
Jim Meyering 837232227c (print_line): Don't truncate user names at 8 bytes.
Problem reported by Guido Leenders in:
http://lists.gnu.org/archive/html/bug-coreutils/2004-06/msg00056.html
2004-06-20 06:49:42 +00:00
Jim Meyering 4614bf4a63 *** empty log message *** 2004-06-19 12:28:16 +00:00
Jim Meyering 90c0e02711 Remove all S_IS* and S_IF* definitions.
Instead, just include "stat-macros.h".
2004-06-19 12:28:02 +00:00
Jim Meyering 77e4428e58 Remove all S_IS* and S_IF* definitions.
Instead, just include "stat-macros.h".
2004-06-19 12:26:53 +00:00
Jim Meyering 8836ff8b3c Remove all S_IS* and S_IF* definitions.
Instead, just include "stat-macros.h".
2004-06-19 12:25:31 +00:00
Jim Meyering 0056eb663e Remove all S_IS* and S_IF* definitions.
Instead, just include "stat-macros.h".
2004-06-19 12:25:04 +00:00
Jim Meyering bb988c4d3c Remove all S_IS* and S_IF* definitions.
Instead, just include "stat-macros.h".
2004-06-19 12:24:36 +00:00
Jim Meyering 032ddfd196 *** empty log message *** 2004-06-19 12:23:43 +00:00
Jim Meyering dcbdb9f887 Add S_IS* definitions from filemode.c.
(S_ISCTG): Define to zero if not already defined.
(S_ISOFD): Likewise.
(S_ISOFL): Likewise.
2004-06-19 12:23:38 +00:00
Jim Meyering 1594fb914b *** empty log message *** 2004-06-19 09:24:12 +00:00
Jim Meyering 927e4d998e (case_GETOPT_VERSION_CHAR): Switch back to using GNU_PACKAGE (from
PACKAGE) once again.  This restores `GNU' to the parenthesized package
name in --version output.  Before, the first argument from AC_INIT,
`GNU coreutils', would be propagated to the PACKAGE variable.  Now,
`GNU ' is trimmed.  Reported by Richard Stallman.
2004-06-19 09:23:52 +00:00
Jim Meyering 877ab26488 *** empty log message *** 2004-06-17 21:32:49 +00:00
Jim Meyering a8253c6acf (to_uchar): Rename function from `uchar'. The latter
would clash with a typedef in Tru64's <sys/types.h>.  From Albert Chin.
2004-06-17 21:32:45 +00:00
Jim Meyering fb7e0d8840 . 2004-06-17 14:48:08 +00:00
Jim Meyering d01eefd2d9 . 2004-06-17 14:42:05 +00:00
Jim Meyering 4ec1048283 *** empty log message *** 2004-06-17 14:41:34 +00:00
Jim Meyering 05c93d0212 *** empty log message *** 2004-06-17 14:40:51 +00:00
Jim Meyering 65f4c6c6bf (yes invocation): "--" is now supported.
(false invocation, true invocation): --help and --version now
work unconditionally.
2004-06-17 14:38:52 +00:00
Jim Meyering 72f51d66bf (main): Recognize --help and --version even if POSIXLY_CORRECT is set. 2004-06-17 14:34:07 +00:00
Jim Meyering 7870fa1081 (main): Handle "--". 2004-06-17 13:09:21 +00:00
Jim Meyering 417a1e5850 *** empty log message *** 2004-06-17 06:46:39 +00:00
Jim Meyering 83e722f66c (GL_FUNC_GETCWD_PATH_MAX): Fix typo: getcwd
was being replaced when it shouldn't have been, and vice versa.
2004-06-17 06:46:33 +00:00
Jim Meyering 75e49a2b17 Remove special cases for POSIXLY_CORRECT when POSIX allows the GNU behavior.
(pr invocation, unlink invocation): Document this.
2004-06-15 21:56:15 +00:00
Jim Meyering 1f3a9c7888 *** empty log message *** 2004-06-15 21:55:28 +00:00
Jim Meyering f888b66ec1 *** empty log message *** 2004-06-15 18:04:54 +00:00
Jim Meyering a77a16acbf Adjust to the new semantics for \x if POSIXLY_CORRECT. 2004-06-15 18:04:47 +00:00
Jim Meyering ba01709da8 (main): Recognize --help, --version even if
POSIXLY_CORRECT.  POSIX does not specify any options, but it
does not prohibit options either, so "unlink" is like "expr" here.
2004-06-15 18:04:13 +00:00
Jim Meyering b10701b78e (parse_obsolescent_option): Support multiple file operands
even if POSIXLY_CORRECT, since POSIX does not require a diagnostic.
2004-06-15 18:00:58 +00:00
Jim Meyering 5afcf8697f (print_esc): Support \x, \u, \U even if POSIXLY_CORRECT,
since POSIX says the behavior is unspecified here.
(main): Recognize --help, --version even if
POSIXLY_CORRECT.  POSIX does not specify any options, but it
does not prohibit options either, so "printf" is like "expr" here.
2004-06-15 18:00:35 +00:00
Jim Meyering db2fa4fdcd Include "hard-locale.h".
(main): When in a non-POSIX locale, ignore POSIXLY_CORRECT, since
POSIX specifies the behavior only in the POSIX locale.
2004-06-15 18:00:20 +00:00
Jim Meyering 1391da81e0 (decode_switches): Pay attention to TABSIZE even if POSIXLY_CORRECT
is set.  POSIX reserves upper-case environment variables to the
implementation, so it's OK for ls to depend on TABSIZE.
2004-06-15 18:00:03 +00:00
Jim Meyering 5034e6bdb2 *** empty log message *** 2004-06-14 18:12:44 +00:00
Jim Meyering 78fcbf003a . 2004-06-14 17:21:55 +00:00
Jim Meyering 72d3fd67af *** empty log message *** 2004-06-14 17:20:29 +00:00
Jim Meyering 5956d74d8b (TESTS): Add pwd.
(BUILD_SRC_DIR): Define BUILD_SRC_DIR.
2004-06-14 17:20:19 +00:00
Jim Meyering 8b7c9bce6f *** empty log message *** 2004-06-14 17:19:52 +00:00