platform/upstream/coreutils.git
19 years ago(main): Adjust to new modechange API.
Paul Eggert [Thu, 28 Apr 2005 16:31:09 +0000 (16:31 +0000)]
(main): Adjust to new modechange API.
Also, free the mode_change object when done.

19 years ago(change, umask_value): New static vars.
Paul Eggert [Thu, 28 Apr 2005 16:29:59 +0000 (16:29 +0000)]
(change, umask_value): New static vars.
(reference_file): Move this static var to inside "main".
(process_file, process_files): Remove CHANGES arg; now taken from
static var.  All uses changed.
(usage): Fix incorrect description of MODE operand.
(main): For invalid mode usages, output a brief usage message.
Adjust to new modechange API.

19 years ago(MODE_X_IF_ANY_X, MODE_COPY_EXISTING):
Paul Eggert [Thu, 28 Apr 2005 16:29:22 +0000 (16:29 +0000)]
(MODE_X_IF_ANY_X, MODE_COPY_EXISTING):
(struct mode_change): Move to modechange.c; callers don't
need to see this stuff.
(MODE_MASK_EQUALS, MODE_MASK_PLUS, MODE_MASK_MINUS, MODE_MASK_ALL):
(MODE_INVALID, MODE_MEMORY_EXHAUSTED, MODE_BAD_REFERENCE): Remove.
(mode_change, mode_adjust): Reflect the new signatures noted above.

19 years agoInclude stat-macros.h, xalloc.h.
Paul Eggert [Thu, 28 Apr 2005 16:29:00 +0000 (16:29 +0000)]
Include stat-macros.h, xalloc.h.
(S_ISDIR, S_ISUID, S_ISGID, S_ISVTX, S_IRUSR, S_IWUSR, S_IXUSR):
(S_IRGRP, S_IWGRP, S_IXGRP, S_IROTH, S_IWOTH, S_IXOTH, S_IRXWU):
(S_IRWXG, S_IRWXO, CHMOD_MODE_BITS):
Remove.  This is now stat-macros.h's job.
(talloc): Remove.  All callers replaced by xalloc, so that
our invokers don't have to worry about reporting memory failures.
(make_node_op_equals): Remove.
(MODE_ORDINARY_CHAGE, MODE_X_IF_ANY_X, MODE_COPY_EXISTING):
New constants.
(struct mode_change): Moved here from modechange.h.
(mode_append_entry): Remove.
(mode_compile): Remove MASKED_OPS arg, since it encouraged
apps to have incorrect behavior.  Use simpler algorithm for head
and tail.  Don't futz with umask; that's now the job of mode_adjust.
Detect more invalid usages rather than having somewhat-random behavior.
Don't insert an "a=" action, as that leads to incorrect behavior.
(mode_compile, mode_create_from_ref): Return NULL on error instead
of an enum, since now there's only one way to have an error.  All
callers changed.
(mode_adjust): Accept new arg UMASK_VALUE, and interpret it
at the correct time.  Simplify calculation of "+u" and its ilk.
Don't mishandle "+X".
(mode_free): Remove "register" and localize decls.

19 years ago(Mode Structure, Changing Special Permissions):
Paul Eggert [Thu, 28 Apr 2005 16:28:27 +0000 (16:28 +0000)]
(Mode Structure, Changing Special Permissions):
(Conditional Executability, Numeric Modes):
These days the sticky bit is more often uses as the restricted
deletion flag, so modernize the discussion about this.
(Mode Structure): Linux/GNU -> GNU/Linux.
(Symbolic Modes): Don't imply that "+ur" or "u" is valid.
(Setting Permissions): Don't imply that "+t" is invalid.
Use "rwx" rather than the less-common "rxw" in an example.
(Copying Permissions): Say that ugo is a replacement for
a string of the other letters.  Add spaces around examples.
Use "set-user-ID" rather than "set user ID" to avoid ambiguity.
Use "+t" rather than "o+t", since POSIX doesn't specify the latter.
Mention which combinations are portable and which are GNU.
(Numeric Modes): Don't imply they aren't portable; they are
nowadays.

19 years agoRestore support for usages like "head -1" and "tail -1",
Paul Eggert [Tue, 26 Apr 2005 16:45:12 +0000 (16:45 +0000)]
Restore support for usages like "head -1" and "tail -1",
even when conforming to POSIX 1003.1-2001.
A few other bug fixes.

19 years ago* coreutils.texi: Don't complain about head -10, etc.
Paul Eggert [Tue, 26 Apr 2005 16:44:51 +0000 (16:44 +0000)]
* coreutils.texi: Don't complain about head -10, etc.

19 years ago(Standards conformance): Do not mention head -10,
Paul Eggert [Tue, 26 Apr 2005 16:44:24 +0000 (16:44 +0000)]
(Standards conformance): Do not mention head -10,
since it now works the same regardless of POSIX version.
(od invocation): -w N -> -w[N].
(pr invocation): -S STRING -> -SSTRING.
(fold invocation): -WIDTH works even when conforming to POSIX
1003.1-2001.
(head invocation, tail invocation): Likewise for -NUM.
(split invocation): Likewise for -LINES.
(uniq invocation): Likewise for -N.
(expand invocation, unexpand invocation): Likewise for -TAB.
(nice invocation): Likewise for -ADJUSTMENT.
(sort invocation): Clarify explanation of +N option.
(uniq invocation): Likewise.
(join invocation): Remove special case for --help, --version.
(touch invocation): Clarify explanation of date options.
(Options for date): -I timespec -> -I[timespec].

19 years ago(main): Don't complain about -NUM.
Paul Eggert [Tue, 26 Apr 2005 16:43:45 +0000 (16:43 +0000)]
(main): Don't complain about -NUM.

19 years agoRemove posixver.h and its uses.
Paul Eggert [Tue, 26 Apr 2005 16:43:33 +0000 (16:43 +0000)]
Remove posixver.h and its uses.
(main): Don't complain about -TAB.

19 years ago(parse_obsolete_option): Don't complain about -NUM.
Paul Eggert [Tue, 26 Apr 2005 16:43:18 +0000 (16:43 +0000)]
(parse_obsolete_option): Don't complain about -NUM.

19 years agoRemove posixver.h and its uses.
Paul Eggert [Tue, 26 Apr 2005 16:43:03 +0000 (16:43 +0000)]
Remove posixver.h and its uses.
(main): Don't complain about -NUM option.

19 years agoRemove posixver.h and its uses.
Paul Eggert [Tue, 26 Apr 2005 16:42:51 +0000 (16:42 +0000)]
Remove posixver.h and its uses.
(short_options): New constant, which always supports -y arg.
(COMMON_SHORT_OPTIONS): Remove.

19 years agoRemove posixver.h and its uses.
Paul Eggert [Tue, 26 Apr 2005 16:42:38 +0000 (16:42 +0000)]
Remove posixver.h and its uses.
(short_options): New constant, which always supports -S[string].
(COMMON_SHORT_OPTIONS): Remove.

19 years agoRemove posixver.h and its uses.
Paul Eggert [Tue, 26 Apr 2005 16:42:26 +0000 (16:42 +0000)]
Remove posixver.h and its uses.
(short_options): New constant, which always supports -w[num].
(COMMON_SHORT_OPTIONS): Remove.

19 years agoRemove posixver.h and its uses.
Paul Eggert [Tue, 26 Apr 2005 16:41:59 +0000 (16:41 +0000)]
Remove posixver.h and its uses.
(main): Always support -NUM option.

19 years agoRemove posixver.h and its uses.
Paul Eggert [Tue, 26 Apr 2005 16:41:45 +0000 (16:41 +0000)]
Remove posixver.h and its uses.
(obsolete_usage): Remove.
(join_field_1, join_field_2): Initialize to SIZE_MAX to indicate
they haven't been set yet.
(tab): Now int, not char.  Initialize to -1 to indicate white space
separates columns, so that we can use NUL as a separator.
All uses changed.
(OBSOLETE_LONG_OPTIONS, get_option): Remove.
(string_to_join_field): Remove ERR_MSG_FMT arg; a single format
suffices.  Use xstrtoul for sizes; it suffices.
(decode_field_spec): Report an error and exit on failure.  Return void,
not bool.
(add_field_list): Likewise.
(set_join_field): New function.
(enum operand_status): New enum.
(add_file_name): New args OPERAND_STATUS, JOPTION_COUNT,
PREV_OPTC_STATUS, OPTC_STATUS to handle the bewildering array of
possibilities with obsolete option parsing.
(main): Use it.  Do not depend on POSIX version.
Check for conflicting options.  Parse obsolete options -j1 and -j2
so that it is a pure extension to POSIX 1003.1-2001.
Allow '-t\0' to specify a NUL tab, stealing the code from 'sort'.

19 years agoRemove posixver.h and its uses.
Paul Eggert [Tue, 26 Apr 2005 16:41:29 +0000 (16:41 +0000)]
Remove posixver.h and its uses.
(header_mode_option): Remove.
(main): Don't complain about obsolete -NUM args.

19 years agoRemove posixver.h and its uses.
Paul Eggert [Tue, 26 Apr 2005 16:41:17 +0000 (16:41 +0000)]
Remove posixver.h and its uses.
(shortopts): New constant.  -DIGIT now always takes an optional arg.
(main): Don't preprocess arg list; that was buggy.  Use method
similar to expand.

19 years agoRemove posixver.h and its uses.
Paul Eggert [Tue, 26 Apr 2005 16:41:03 +0000 (16:41 +0000)]
Remove posixver.h and its uses.
(shortopts): New constant.  -DIGIT now always takes an optional arg.
(main): Revamp parsing of -DIGIT to let parse_tab_stops handle it.
Don't complain about -DIGIT.

19 years agoRemove posixver.h and its uses.
Paul Eggert [Tue, 26 Apr 2005 16:40:43 +0000 (16:40 +0000)]
Remove posixver.h and its uses.
(COMMON_SHORT_OPTIONS): Remove.
(short_options): New constant.
(short_options, usage): -I now always takes an optional arg.

19 years agoRestore support for usages like "head -1" and "tail -1",
Paul Eggert [Tue, 26 Apr 2005 16:40:16 +0000 (16:40 +0000)]
Restore support for usages like "head -1" and "tail -1",
even when conforming to POSIX 1003.1-2001.
Fix bug with "POSIXLY_CORRECT=1 fold file -3".
join now supports a NUL field separator, e.g., "join -t '\0'".
join now detects and reports incompatible options, e.g.,

19 years ago* coreutils.texi (install invocation): Use a= instead of 0 for
Paul Eggert [Sun, 24 Apr 2005 04:46:33 +0000 (04:46 +0000)]
* coreutils.texi (install invocation): Use a= instead of 0 for
the point of departure for -m, and explain what it meeams.
(mkdir invocation, mkfifo invocation, mknod invocation):
The umask does not affect the point of departure.

19 years agonohup now exits with status 127 (not 1) when given an invalid option.
Paul Eggert [Sat, 23 Apr 2005 06:01:50 +0000 (06:01 +0000)]
nohup now exits with status 127 (not 1) when given an invalid option.

19 years ago(main): If getopt fails, exit with status 127, not status 1.
Paul Eggert [Sat, 23 Apr 2005 05:57:33 +0000 (05:57 +0000)]
(main): If getopt fails, exit with status 127, not status 1.

19 years ago* src/nice.c (main): Report proper program name when getopt finds trouble.
Paul Eggert [Sat, 23 Apr 2005 05:41:16 +0000 (05:41 +0000)]
* src/nice.c (main): Report proper program name when getopt finds trouble.

19 years ago(main): Report proper program name when getopt finds trouble.
Paul Eggert [Sat, 23 Apr 2005 05:39:55 +0000 (05:39 +0000)]
(main): Report proper program name when getopt finds trouble.

19 years agoTest for "mkdir -m =+x dir" bug.
Paul Eggert [Fri, 22 Apr 2005 23:54:05 +0000 (23:54 +0000)]
Test for "mkdir -m =+x dir" bug.

19 years ago(main): Compile mode with MODE_MASK_ALL and initial umask.
Paul Eggert [Fri, 22 Apr 2005 23:53:33 +0000 (23:53 +0000)]
(main): Compile mode with MODE_MASK_ALL and initial umask.

19 years ago(main): Compile mode with MODE_MASK_ALL and initial umask.
Paul Eggert [Fri, 22 Apr 2005 23:53:13 +0000 (23:53 +0000)]
(main): Compile mode with MODE_MASK_ALL and initial umask.

19 years ago(main): Compile mode with MODE_MASK_ALL and initial umask.
Paul Eggert [Fri, 22 Apr 2005 23:52:35 +0000 (23:52 +0000)]
(main): Compile mode with MODE_MASK_ALL and initial umask.

19 years agoFix bug with "mkdir -m =+x dir"; the umask was being ignored
Paul Eggert [Fri, 22 Apr 2005 23:52:05 +0000 (23:52 +0000)]
Fix bug with "mkdir -m =+x dir"; the umask was being ignored
when the "+x" was being evaluated.

19 years ago"mkdir -m =+x dir" no longer ignores the umask when evaluating "+x",
Paul Eggert [Fri, 22 Apr 2005 23:51:34 +0000 (23:51 +0000)]
"mkdir -m =+x dir" no longer ignores the umask when evaluating "+x",
and similarly for mkfifo and mknod.

19 years agoRegenerate.
Paul Eggert [Thu, 21 Apr 2005 00:34:47 +0000 (00:34 +0000)]
Regenerate.

19 years agoPort test cases to Microsoft-Windows-related environments,
Paul Eggert [Thu, 21 Apr 2005 00:30:51 +0000 (00:30 +0000)]
Port test cases to Microsoft-Windows-related environments,
following suggestions from Eric Blake.

19 years agoUndo previous change.
Paul Eggert [Thu, 21 Apr 2005 00:30:35 +0000 (00:30 +0000)]
Undo previous change.
(sig): New var.  Use it insted of "trap '' CHLD".
Append $EXEEXT to executable name.

19 years agoUndo previous change.
Paul Eggert [Thu, 21 Apr 2005 00:30:13 +0000 (00:30 +0000)]
Undo previous change.
(dd, dd2): New vars, which use $EXEEXT.  All uses of dd and dd2 changed.

19 years ago(TESTS_ENVIRONMENT): Add EXEEXT.
Paul Eggert [Thu, 21 Apr 2005 00:29:50 +0000 (00:29 +0000)]
(TESTS_ENVIRONMENT): Add EXEEXT.

19 years agoFetish.pm renamed to Coreutils.pm.
Paul Eggert [Wed, 20 Apr 2005 07:58:09 +0000 (07:58 +0000)]
Fetish.pm renamed to Coreutils.pm.

19 years ago"fetish" -> "coreutils" in more places.
Paul Eggert [Wed, 20 Apr 2005 07:57:27 +0000 (07:57 +0000)]
"fetish" -> "coreutils" in more places.

19 years agoRenamed Fetish package to Coreutils.
Paul Eggert [Wed, 20 Apr 2005 07:54:54 +0000 (07:54 +0000)]
Renamed Fetish package to Coreutils.

19 years ago(EXTRA_DIST): Add Coreutils.pm and remove Fetish.pm.
Paul Eggert [Wed, 20 Apr 2005 07:53:53 +0000 (07:53 +0000)]
(EXTRA_DIST): Add Coreutils.pm and remove Fetish.pm.

19 years ago(package Coreutils): Renamed from package Fetish.
Paul Eggert [Wed, 20 Apr 2005 07:53:09 +0000 (07:53 +0000)]
(package Coreutils): Renamed from package Fetish.

19 years ago* tests/mv/setup (dot_mount_point): Use stat -L.
Paul Eggert [Tue, 19 Apr 2005 07:36:59 +0000 (07:36 +0000)]
* tests/mv/setup (dot_mount_point): Use stat -L.

19 years ago(dot_mount_point): Use stat -L, in case the
Paul Eggert [Tue, 19 Apr 2005 07:36:39 +0000 (07:36 +0000)]
(dot_mount_point): Use stat -L, in case the
directory is actually a symbolic link.

19 years ago* tests/mv/mv-special-1: Use test -p to test for fifos.
Paul Eggert [Tue, 19 Apr 2005 07:26:46 +0000 (07:26 +0000)]
* tests/mv/mv-special-1: Use test -p to test for fifos.

19 years agoUse test -p to test for fifos, rather
Paul Eggert [Tue, 19 Apr 2005 07:26:18 +0000 (07:26 +0000)]
Use test -p to test for fifos, rather
than the (incorrect) test -f and the (inadequate) ls.  ls is
inadequate because on some hosts a buggy mv will create a file of
the wrong type (problem reported by Eric Blake).  Skip this test
if test -p doesn't work.

19 years ago* tests/chmod/setgid: Use numeric group ids, not symbolic group names.
Paul Eggert [Tue, 19 Apr 2005 07:08:28 +0000 (07:08 +0000)]
* tests/chmod/setgid: Use numeric group ids, not symbolic group names.

19 years agoUse numeric group ids, not symbolic group names,
Paul Eggert [Tue, 19 Apr 2005 07:08:08 +0000 (07:08 +0000)]
Use numeric group ids, not symbolic group names,
since the latter can have shell metacharacters in them (e.g., spaces).

19 years agoRegenerate.
Paul Eggert [Mon, 18 Apr 2005 23:38:19 +0000 (23:38 +0000)]
Regenerate.

19 years agofetish -> coreutils in some more places
Paul Eggert [Mon, 18 Apr 2005 23:33:55 +0000 (23:33 +0000)]
fetish -> coreutils in some more places

19 years ago(FETISH_GROUP): Renamed from COREUTILS_GROUP.
Paul Eggert [Mon, 18 Apr 2005 23:33:29 +0000 (23:33 +0000)]
(FETISH_GROUP): Renamed from COREUTILS_GROUP.

19 years ago(COREUTILS_GROUPS): Renamed from FETISH_GROUPS.
Paul Eggert [Mon, 18 Apr 2005 23:33:10 +0000 (23:33 +0000)]
(COREUTILS_GROUPS): Renamed from FETISH_GROUPS.

19 years ago(LDADD, $(PROGRAMS)): fetish -> coreutils.
Paul Eggert [Mon, 18 Apr 2005 23:32:49 +0000 (23:32 +0000)]
(LDADD, $(PROGRAMS)): fetish -> coreutils.

19 years ago(gl_FUNC_RMDIR_NOTEMPTY): Renamed from
Paul Eggert [Mon, 18 Apr 2005 23:32:29 +0000 (23:32 +0000)]
(gl_FUNC_RMDIR_NOTEMPTY): Renamed from
fetish_FUNC_RMDIR_NOTEMPTY.  All uses changed.  Use gl_ for
variable prefixes.

19 years ago(gl_MACROS): Use gl_ or coreutils_ rather than fetish_ for prefixes.
Paul Eggert [Mon, 18 Apr 2005 23:32:12 +0000 (23:32 +0000)]
(gl_MACROS): Use gl_ or coreutils_ rather than fetish_ for prefixes.

19 years ago(gl_CLOCK_TIME): Use gl_ rather than fetish_ for
Paul Eggert [Mon, 18 Apr 2005 23:31:42 +0000 (23:31 +0000)]
(gl_CLOCK_TIME): Use gl_ rather than fetish_ for
variable names.

19 years agofetish->coreutils in compilation command.
Paul Eggert [Mon, 18 Apr 2005 23:31:22 +0000 (23:31 +0000)]
fetish->coreutils in compilation command.

19 years agocoreutils->fetish in comment.
Paul Eggert [Mon, 18 Apr 2005 23:30:55 +0000 (23:30 +0000)]
coreutils->fetish in comment.

19 years ago(noinst_LIBRARIES): fetish -> coreutils.
Paul Eggert [Mon, 18 Apr 2005 23:30:41 +0000 (23:30 +0000)]
(noinst_LIBRARIES): fetish -> coreutils.
(libcoreutils_a_SOURCES): Renamed from libfetish_a_SOURCES.
All uses changed.
(libcoreutils_a_LIBADD): Renamed from libfetish_a_LIBADD.
All uses changed.
(libcoreutils_a_DEPENDENCIES): Renamed from libfetish_a_DEPENDENCIES.
All uses changed.

19 years ago(emit_upload_commands): Remove fetish.sf.net.
Paul Eggert [Mon, 18 Apr 2005 23:30:19 +0000 (23:30 +0000)]
(emit_upload_commands): Remove fetish.sf.net.

19 years ago(ftp): Remove fetish.sf.net.
Paul Eggert [Mon, 18 Apr 2005 23:29:51 +0000 (23:29 +0000)]
(ftp): Remove fetish.sf.net.

19 years agoFix typo in comment.
Paul Eggert [Mon, 18 Apr 2005 18:48:22 +0000 (18:48 +0000)]
Fix typo in comment.

19 years agoUse "cat", not "test", to test for
Paul Eggert [Mon, 18 Apr 2005 18:37:36 +0000 (18:37 +0000)]
Use "cat", not "test", to test for
../../src/dd.  Problem reported by Eric Blake.

19 years ago*** empty log message ***
Jim Meyering [Mon, 18 Apr 2005 07:05:11 +0000 (07:05 +0000)]
*** empty log message ***

19 years agoDon't include stat-macros.h directly. system.h does that.
Jim Meyering [Mon, 18 Apr 2005 07:03:50 +0000 (07:03 +0000)]
Don't include stat-macros.h directly.  system.h does that.

19 years agoWork around a couple of "make check" failures reported for Cygwin
Paul Eggert [Mon, 18 Apr 2005 06:36:45 +0000 (06:36 +0000)]
Work around a couple of "make check" failures reported for Cygwin
and ash by Eric Blake.

19 years agoSkip this test if "trap '' CHLD" doesn't work.
Paul Eggert [Mon, 18 Apr 2005 06:35:22 +0000 (06:35 +0000)]
Skip this test if "trap '' CHLD" doesn't work.

19 years agoSkip this test if ../../src/dd isn't readable.
Paul Eggert [Mon, 18 Apr 2005 06:35:06 +0000 (06:35 +0000)]
Skip this test if ../../src/dd isn't readable.

19 years ago*** empty log message ***
Jim Meyering [Sat, 16 Apr 2005 06:38:22 +0000 (06:38 +0000)]
*** empty log message ***

19 years ago(S_TYPEISSHM): Remove definition.
Jim Meyering [Sat, 16 Apr 2005 06:38:20 +0000 (06:38 +0000)]
(S_TYPEISSHM): Remove definition.
Get the definition by including "stat-macros.h", instead.

19 years agoFix test suite problems reported by Eric Blake on Cygwin.
Paul Eggert [Thu, 14 Apr 2005 20:35:59 +0000 (20:35 +0000)]
Fix test suite problems reported by Eric Blake on Cygwin.

19 years ago(dot_mount_point): Use stat rather than df, as
Paul Eggert [Thu, 14 Apr 2005 20:35:34 +0000 (20:35 +0000)]
(dot_mount_point): Use stat rather than df, as
it's more reliable.
(other_partition_tmpdir): Remove df from name as that would be
misleading now.

19 years agoIgnore chatter about when files are removed,
Paul Eggert [Thu, 14 Apr 2005 20:35:14 +0000 (20:35 +0000)]
Ignore chatter about when files are removed,
since POSIX doesn't require rename to fail across file systems.

19 years ago*** empty log message ***
Jim Meyering [Thu, 14 Apr 2005 12:13:26 +0000 (12:13 +0000)]
*** empty log message ***

19 years agoCorrect typo, fchmod -> fchown, in a comment.
Jim Meyering [Thu, 14 Apr 2005 12:09:00 +0000 (12:09 +0000)]
Correct typo, fchmod -> fchown, in a comment.

19 years ago* getdate.y (zone): Allow relunit_snumber after tZONE.
Paul Eggert [Wed, 13 Apr 2005 18:42:13 +0000 (18:42 +0000)]
* getdate.y (zone): Allow relunit_snumber after tZONE.

19 years ago(zone): Allow relunit_snumber after tZONE, so
Paul Eggert [Wed, 13 Apr 2005 18:42:00 +0000 (18:42 +0000)]
(zone): Allow relunit_snumber after tZONE, so
that "UTC +1 second" continues to work.  Problem reported
by Dmitry V. Levin.
(relunit_snumber): New rule.
(relunit): Use it.

19 years agosrc/ls.c (usage): "uid" -> "user ID".
Paul Eggert [Tue, 12 Apr 2005 07:41:42 +0000 (07:41 +0000)]
src/ls.c (usage): "uid" -> "user ID".

19 years ago(usage): uid -> user ID
Paul Eggert [Tue, 12 Apr 2005 07:39:38 +0000 (07:39 +0000)]
(usage): uid -> user ID

19 years ago* getdate.y: Fix problem with parsing GMT time stamps during London summers.
Paul Eggert [Tue, 12 Apr 2005 07:21:48 +0000 (07:21 +0000)]
* getdate.y: Fix problem with parsing GMT time stamps during London summers.

19 years ago(universal_time_zone_table): New constant.
Paul Eggert [Tue, 12 Apr 2005 07:21:18 +0000 (07:21 +0000)]
(universal_time_zone_table): New constant.
(time_zone_table): Remove GMT, UT, UTC entries; they're now in
universal_time_zone_table.
(lookup_zone): Prefer universal_time_zone_table to
local_time_zone_table, so that "GMT" time stamps are allowed in
London during the summer.  Problem reported by Ian Abbott.

19 years ago*** empty log message ***
Jim Meyering [Tue, 12 Apr 2005 06:47:49 +0000 (06:47 +0000)]
*** empty log message ***

19 years ago(tsort): Use "%s" as the format string, rather than a diagnostic or a file name.
Jim Meyering [Tue, 12 Apr 2005 06:47:44 +0000 (06:47 +0000)]
(tsort): Use "%s" as the format string, rather than a diagnostic or a file name.

19 years ago(compare_files): Remove declaration of unused local.
Jim Meyering [Tue, 12 Apr 2005 06:46:10 +0000 (06:46 +0000)]
(compare_files): Remove declaration of unused local.

19 years agoFor consistency, standardize on "user ID" rather than "uid".
Paul Eggert [Tue, 12 Apr 2005 05:53:02 +0000 (05:53 +0000)]
For consistency, standardize on "user ID" rather than "uid".

19 years agoReword usage, man pages to use "user ID" rather than "uid" etc.
Paul Eggert [Tue, 12 Apr 2005 05:52:37 +0000 (05:52 +0000)]
Reword usage, man pages to use "user ID" rather than "uid" etc.

19 years ago(usage, main): Use "user ID", not "UID", and similarly for "group ID".
Paul Eggert [Tue, 12 Apr 2005 05:44:47 +0000 (05:44 +0000)]
(usage, main): Use "user ID", not "UID", and similarly for "group ID".

19 years ago(usage): Use "user ID", not "UID", and similarly
Paul Eggert [Tue, 12 Apr 2005 05:44:16 +0000 (05:44 +0000)]
(usage): Use "user ID", not "UID", and similarly
for "group ID".

19 years agoReword to match coreutils.texi.
Paul Eggert [Tue, 12 Apr 2005 05:43:36 +0000 (05:43 +0000)]
Reword to match coreutils.texi.

19 years agoReword to match user manual.
Paul Eggert [Tue, 12 Apr 2005 05:43:19 +0000 (05:43 +0000)]
Reword to match user manual.

19 years agoFor consistency, standardize on "user ID" rather
Paul Eggert [Tue, 12 Apr 2005 05:42:55 +0000 (05:42 +0000)]
For consistency, standardize on "user ID" rather
than "uid" or "UID" or "user id".  Similarly for "group ID".

19 years agoRegenerate.
Paul Eggert [Mon, 11 Apr 2005 20:21:07 +0000 (20:21 +0000)]
Regenerate.

19 years agoAdd bulletproofing for cases where stdin, stdout, or stderr are closed.
Paul Eggert [Mon, 11 Apr 2005 20:15:45 +0000 (20:15 +0000)]
Add bulletproofing for cases where stdin, stdout, or stderr are closed.

19 years agoAdd bulletproofing for cases where stdin, stdout, or stderr are closed.
Paul Eggert [Mon, 11 Apr 2005 20:13:42 +0000 (20:13 +0000)]
Add bulletproofing for cases where stdin, stdout, or stderr are closed.

19 years agoInclude stdio_safer.h.
Paul Eggert [Mon, 11 Apr 2005 20:13:26 +0000 (20:13 +0000)]
Include stdio_safer.h.
(check_file): Don't assume fopen cannot return stdin or stdout.

19 years ago(next_file): Don't assume fopen cannot return stdin.
Paul Eggert [Mon, 11 Apr 2005 20:13:10 +0000 (20:13 +0000)]
(next_file): Don't assume fopen cannot return stdin.

19 years ago(have_read_stdin): Remove; no longer needed. All uses
Paul Eggert [Mon, 11 Apr 2005 20:12:51 +0000 (20:12 +0000)]
(have_read_stdin): Remove; no longer needed.  All uses
removed.
(tsort): Do not assume fopen can't return stdin.
Close stdin before returning.  All uses changed.

19 years agoInclude unistd-safer.h.
Paul Eggert [Mon, 11 Apr 2005 20:12:32 +0000 (20:12 +0000)]
Include unistd-safer.h.
(touch): Use fd_safer.

19 years agoInclude stdio-safer.h.
Paul Eggert [Mon, 11 Apr 2005 20:12:17 +0000 (20:12 +0000)]
Include stdio-safer.h.
(tee): Use fopen_safer.