platform/upstream/coreutils.git
19 years ago(flags, usage): Add support for "binary" and "text".
Paul Eggert [Fri, 6 May 2005 17:57:10 +0000 (17:57 +0000)]
(flags, usage): Add support for "binary" and "text".

19 years agodd has new iflag= and oflag= flags "binary" and "text".
Paul Eggert [Fri, 6 May 2005 17:56:49 +0000 (17:56 +0000)]
dd has new iflag= and oflag= flags "binary" and "text".

19 years ago* getopt.m4 (gl_GETOPT): Check for Solaris 10 getopt, and avoid
Paul Eggert [Fri, 6 May 2005 00:59:46 +0000 (00:59 +0000)]
* getopt.m4 (gl_GETOPT): Check for Solaris 10 getopt, and avoid
needless checks.

19 years ago(gl_GETOPT): Check for Solaris 10 getopt, and avoid needless checks.
Paul Eggert [Fri, 6 May 2005 00:59:33 +0000 (00:59 +0000)]
(gl_GETOPT): Check for Solaris 10 getopt, and avoid needless checks.

19 years ago* makepath.c (make_path): chdir to "//", not "/", if the file name
Paul Eggert [Thu, 5 May 2005 08:00:03 +0000 (08:00 +0000)]
* makepath.c (make_path): chdir to "//", not "/", if the file name
starts with exactly two slashes.

19 years ago(make_path): chdir to "//", not "/", if the file name
Paul Eggert [Thu, 5 May 2005 07:59:48 +0000 (07:59 +0000)]
(make_path): chdir to "//", not "/", if the file name
starts with exactly two slashes.

19 years agoRegenerate.
Paul Eggert [Wed, 4 May 2005 17:25:26 +0000 (17:25 +0000)]
Regenerate.

19 years ago(chmod invocation): chmod -w complains if its
Paul Eggert [Wed, 4 May 2005 17:24:49 +0000 (17:24 +0000)]
(chmod invocation): chmod -w complains if its
behavior differs from what chmod a-w would do.

19 years agochmod -w now complains if it differs from chmod a-w.
Paul Eggert [Wed, 4 May 2005 17:23:38 +0000 (17:23 +0000)]
chmod -w now complains if it differs from chmod a-w.

19 years agochmod -w now complains if it differs from chmod a-w.
Paul Eggert [Wed, 4 May 2005 17:23:13 +0000 (17:23 +0000)]
chmod -w now complains if it differs from chmod a-w.

19 years agoInitial version.
Paul Eggert [Wed, 4 May 2005 17:22:54 +0000 (17:22 +0000)]
Initial version.

19 years ago(TESTS): Add umask-x
Paul Eggert [Wed, 4 May 2005 17:22:41 +0000 (17:22 +0000)]
(TESTS): Add umask-x

19 years agoInclude quotearg.h.
Paul Eggert [Wed, 4 May 2005 17:22:25 +0000 (17:22 +0000)]
Include quotearg.h.
(diagnose_surprises): New var.
(process_file): Diagnose surprises.  Simplify the logic a bit,
while we're at it.
(main): Prepare to diagnose surprises.  Remove useless code for
'-' option.

19 years agochmod -w now complains if it differs from chmod a-w.
Paul Eggert [Wed, 4 May 2005 17:22:08 +0000 (17:22 +0000)]
chmod -w now complains if it differs from chmod a-w.

19 years agols --indicator-style=directory renamed to ls --indicator-style=slash.
Paul Eggert [Mon, 2 May 2005 18:41:53 +0000 (18:41 +0000)]
ls --indicator-style=directory renamed to ls --indicator-style=slash.

19 years ago(ls invocation): ls --indicator-style=directory
Paul Eggert [Mon, 2 May 2005 18:41:12 +0000 (18:41 +0000)]
(ls invocation): ls --indicator-style=directory
renamed to ls --indicator-style=slash, to avoid confusion with ls
--directory.

19 years ago(usage): ls --indicator-style=directory renamed to ls
Paul Eggert [Mon, 2 May 2005 18:40:47 +0000 (18:40 +0000)]
(usage): ls --indicator-style=directory renamed to ls
--indicator-style=slash, to avoid confusion with ls --directory.
(slash): Renamed from directory_only.  All uses changed.

19 years agols --indicator-style=directory renamed to ls
Paul Eggert [Mon, 2 May 2005 18:40:20 +0000 (18:40 +0000)]
ls --indicator-style=directory renamed to ls
--indicator-style=slash, to avoid confusion with ls --directory.

19 years agoSync from gnulib.
Paul Eggert [Mon, 2 May 2005 04:28:20 +0000 (04:28 +0000)]
Sync from gnulib.

19 years ago"chmod +1 foo" is now diagnosed.
Paul Eggert [Sun, 1 May 2005 14:33:23 +0000 (14:33 +0000)]
"chmod +1 foo" is now diagnosed.

19 years ago* modechange.h (mode_free): Remove; all callers changed to invoke 'free'.
Paul Eggert [Sun, 1 May 2005 14:28:38 +0000 (14:28 +0000)]
* modechange.h (mode_free): Remove; all callers changed to invoke 'free'.
* modechange.c: Likewise.  Simplify internals a bit.  Prohibit "+0".

19 years agomode_free -> free
Paul Eggert [Sun, 1 May 2005 14:27:51 +0000 (14:27 +0000)]
mode_free -> free

19 years ago(mode_free): Remove; all callers changed to invoke 'free'.
Paul Eggert [Sun, 1 May 2005 14:27:09 +0000 (14:27 +0000)]
(mode_free): Remove; all callers changed to invoke 'free'.

19 years ago(mode_free): Remove; all callers changed to invoke 'free'.
Paul Eggert [Sun, 1 May 2005 14:26:50 +0000 (14:26 +0000)]
(mode_free): Remove; all callers changed to invoke 'free'.
xstrtol.h, stdbool.h, stddef.h: Don't include; no longer needed.
(MODE_DONE): New constant.
(struct mode_change): Remove 'next' member.
(make_node_op_equals): New function; like the old one of the
same name, except it allocates an array.
(mode_compile, mode_create_from_ref): Use it.
(mode_compile): Allocate result as an array, not a linked list.
Parse octal string ourself, so that we catch mistakes like "+0".
(mode_adjust): Arg is an array, not a linked list.

19 years agoRegenerate.
Paul Eggert [Sat, 30 Apr 2005 00:07:30 +0000 (00:07 +0000)]
Regenerate.

19 years agoLog yesterday's changes.
Paul Eggert [Sat, 30 Apr 2005 00:06:06 +0000 (00:06 +0000)]
Log yesterday's changes.

19 years agoDocument the last two days' worth of changes.
Paul Eggert [Sat, 30 Apr 2005 00:05:46 +0000 (00:05 +0000)]
Document the last two days' worth of changes.

19 years agoFix typo in ls POSIX changes.
Paul Eggert [Fri, 29 Apr 2005 23:53:39 +0000 (23:53 +0000)]
Fix typo in ls POSIX changes.

19 years ago(tv): Rename tests from obs to obs-plus
Paul Eggert [Fri, 29 Apr 2005 23:51:33 +0000 (23:51 +0000)]
(tv): Rename tests from obs to obs-plus
if they use file names starting with +.
(test_vector): Don't set _POSIX2_VERSION if obs but not obs-plus.

19 years ago(tv): Rename tests from obs to obs-plus
Paul Eggert [Fri, 29 Apr 2005 23:51:11 +0000 (23:51 +0000)]
(tv): Rename tests from obs to obs-plus
if they use file names starting with +.
(test_vector): Don't set _POSIX2_VERSION if obs but not obs-plus.

19 years agoFix comment to match new behavior of "sort".
Paul Eggert [Fri, 29 Apr 2005 23:50:52 +0000 (23:50 +0000)]
Fix comment to match new behavior of "sort".

19 years agoDon't set _POSIX2_VERSION; no longer needed.
Paul Eggert [Fri, 29 Apr 2005 23:49:47 +0000 (23:49 +0000)]
Don't set _POSIX2_VERSION; no longer needed.

19 years agoDon't use 'set -'
Paul Eggert [Fri, 29 Apr 2005 21:49:59 +0000 (21:49 +0000)]
Don't use 'set -'

19 years agoDon't use 'set -'.
Paul Eggert [Fri, 29 Apr 2005 21:49:20 +0000 (21:49 +0000)]
Don't use 'set -'.

19 years agoDon't use 'set -'. Simplify test construction.
Paul Eggert [Fri, 29 Apr 2005 21:49:06 +0000 (21:49 +0000)]
Don't use 'set -'.  Simplify test construction.
Work even if the underyling system attaches ACLs to new dirs.

19 years agoDon't use 'set -'. Also, don't set _POSIX2_VERSION.
Paul Eggert [Fri, 29 Apr 2005 21:48:48 +0000 (21:48 +0000)]
Don't use 'set -'.  Also, don't set _POSIX2_VERSION.

19 years agoTest for new -p behavior. Omit -1 option.
Paul Eggert [Fri, 29 Apr 2005 21:01:29 +0000 (21:01 +0000)]
Test for new -p behavior.  Omit -1 option.
The "ls --color" test wasn't being checked; add a check for
"ls --color=auto" instead.

19 years ago(enum indicator_style): New constant directory_only,
Paul Eggert [Fri, 29 Apr 2005 21:01:04 +0000 (21:01 +0000)]
(enum indicator_style): New constant directory_only,
for -p.
(indicator_style_args, indicator_style_types): Set it appropriately.
(decode_switches, gobble_file, print_type_indicator):
(length_of_file_name_and_frills):
Implement the change described in NEWS.
(decode_switches): Quote ">", too.
(usage): Update to match the new behavior.  Describe ">".

19 years ago(ls invocation): ls -p now marks only directories. New option
Paul Eggert [Fri, 29 Apr 2005 21:00:01 +0000 (21:00 +0000)]
(ls invocation): ls -p now marks only directories.  New option
--indicator-style=directory equivalent to -p.

19 years agols -p now appends only directories. New option
Paul Eggert [Fri, 29 Apr 2005 20:59:33 +0000 (20:59 +0000)]
ls -p now appends only directories.  New option
--indicator-style=directory equivalent to -p.

19 years ago(gl_FUNC_RMDIR): Don't require AC_HEADER_STAT.
Paul Eggert [Fri, 29 Apr 2005 05:37:52 +0000 (05:37 +0000)]
(gl_FUNC_RMDIR): Don't require AC_HEADER_STAT.
(gl_PREREQ_RMDIR): Remove.

19 years ago(gl_PREREQ): Require gl_STAT_MACROS.
Paul Eggert [Fri, 29 Apr 2005 05:37:32 +0000 (05:37 +0000)]
(gl_PREREQ): Require gl_STAT_MACROS.

19 years ago(gl_PREREQ_TEMPNAME): Check stdint.h only once.
Paul Eggert [Fri, 29 Apr 2005 05:36:52 +0000 (05:36 +0000)]
(gl_PREREQ_TEMPNAME): Check stdint.h only once.
Don't require AC_HEADER_STAT.

19 years ago(gl_FUNC_LSTAT): Require AC_FUNC_LSTAT instead of calling
Paul Eggert [Fri, 29 Apr 2005 05:36:32 +0000 (05:36 +0000)]
(gl_FUNC_LSTAT): Require AC_FUNC_LSTAT instead of calling
it.  Don't require AC_HEADER_STAT.
(gl_PREREQ_LSTAT): Remove.

19 years ago(gl_FUNC_CHOWN): Don't require AC_HEADER_STAT.
Paul Eggert [Fri, 29 Apr 2005 05:36:07 +0000 (05:36 +0000)]
(gl_FUNC_CHOWN): Don't require AC_HEADER_STAT.

19 years ago(gl_CHECK_ALL_TYPES): Don't require AC_HEADER_STAT.
Paul Eggert [Fri, 29 Apr 2005 05:35:44 +0000 (05:35 +0000)]
(gl_CHECK_ALL_TYPES): Don't require AC_HEADER_STAT.

19 years ago(gl_PREREQ_EUIDACCESS): Don't require AC_HEADER_STAT.
Paul Eggert [Fri, 29 Apr 2005 05:35:22 +0000 (05:35 +0000)]
(gl_PREREQ_EUIDACCESS): Don't require AC_HEADER_STAT.

19 years ago(S_ISDIR, S_IRUSR, S_IRUSR, S_IWUSR, S_IXUSR): Remove.
Paul Eggert [Fri, 29 Apr 2005 05:34:55 +0000 (05:34 +0000)]
(S_ISDIR, S_IRUSR, S_IRUSR, S_IWUSR, S_IXUSR): Remove.
[!_LIBC] Include "stat-macros.h" instead.

19 years agoDon't mention stat-macros.h or AC_HEADER_STAT in other
Paul Eggert [Thu, 28 Apr 2005 16:55:43 +0000 (16:55 +0000)]
Don't mention stat-macros.h or AC_HEADER_STAT in other
m4 files, since we'll make the stat-macros module a prerequisite.

19 years agoNew file, from gnulib, except that gl_STAT_MACROS
Paul Eggert [Thu, 28 Apr 2005 16:55:16 +0000 (16:55 +0000)]
New file, from gnulib, except that gl_STAT_MACROS
also requires AC_HEADER_STAT.

19 years ago* file-type.c: Include file-type.h first.
Paul Eggert [Thu, 28 Apr 2005 16:48:14 +0000 (16:48 +0000)]
* file-type.c: Include file-type.h first.
* filetype.h: Don't assume <sys/stat.h> was included first.

19 years agoDocument recent modechange fixes.
Paul Eggert [Thu, 28 Apr 2005 16:39:32 +0000 (16:39 +0000)]
Document recent modechange fixes.

19 years agoCheck for ug+r and ug,+x bugs.
Paul Eggert [Thu, 28 Apr 2005 16:32:06 +0000 (16:32 +0000)]
Check for ug+r and ug,+x bugs.

19 years agoCheck for =u bug.
Paul Eggert [Thu, 28 Apr 2005 16:31:49 +0000 (16:31 +0000)]
Check for =u bug.

19 years agoCheck for =xX bug.
Paul Eggert [Thu, 28 Apr 2005 16:31:32 +0000 (16:31 +0000)]
Check for =xX bug.

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.