Commit Graph
24019 Commits
Author SHA1 Message Date
Paul Eggert cf8a5565cf 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.
2005-04-26 16:41:03 +00:00
Paul Eggert 3263435391 Remove posixver.h and its uses.
(COMMON_SHORT_OPTIONS): Remove.
(short_options): New constant.
(short_options, usage): -I now always takes an optional arg.
2005-04-26 16:40:43 +00:00
Paul Eggert a1a83b43d4 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.,
2005-04-26 16:40:16 +00:00
Paul Eggert 8e794ef5bd * 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.
2005-04-24 04:46:33 +00:00
Paul Eggert 4bc27aff4c nohup now exits with status 127 (not 1) when given an invalid option. 2005-04-23 06:01:50 +00:00
Paul Eggert 4e7d4dfd8d (main): If getopt fails, exit with status 127, not status 1. 2005-04-23 05:57:33 +00:00
Paul Eggert 39ecad7d9a * src/nice.c (main): Report proper program name when getopt finds trouble. 2005-04-23 05:41:16 +00:00
Paul Eggert d3eadc9cbf (main): Report proper program name when getopt finds trouble. 2005-04-23 05:39:55 +00:00
Paul Eggert db3f41ec77 Test for "mkdir -m =+x dir" bug. 2005-04-22 23:54:05 +00:00
Paul Eggert fde1a93ab8 (main): Compile mode with MODE_MASK_ALL and initial umask. 2005-04-22 23:53:33 +00:00
Paul Eggert 18f6ab0228 (main): Compile mode with MODE_MASK_ALL and initial umask. 2005-04-22 23:53:13 +00:00
Paul Eggert 5ce302fba5 (main): Compile mode with MODE_MASK_ALL and initial umask. 2005-04-22 23:52:35 +00:00
Paul Eggert e8feb9eaf5 Fix bug with "mkdir -m =+x dir"; the umask was being ignored
when the "+x" was being evaluated.
2005-04-22 23:52:05 +00:00
Paul Eggert bd82be6ca9 "mkdir -m =+x dir" no longer ignores the umask when evaluating "+x",
and similarly for mkfifo and mknod.
2005-04-22 23:51:34 +00:00
Paul Eggert 406dac3861 Regenerate. 2005-04-21 00:34:47 +00:00
Paul Eggert de80f585d6 Port test cases to Microsoft-Windows-related environments,
following suggestions from Eric Blake.
2005-04-21 00:30:51 +00:00
Paul Eggert 2d8996299e Undo previous change.
(sig): New var.  Use it insted of "trap '' CHLD".
Append $EXEEXT to executable name.
2005-04-21 00:30:35 +00:00
Paul Eggert 82e7b3c7ca Undo previous change.
(dd, dd2): New vars, which use $EXEEXT.  All uses of dd and dd2 changed.
2005-04-21 00:30:13 +00:00
Paul Eggert 516e0734b5 (TESTS_ENVIRONMENT): Add EXEEXT. 2005-04-21 00:29:50 +00:00
Paul Eggert 16ded268dd Fetish.pm renamed to Coreutils.pm. 2005-04-20 07:58:09 +00:00
Paul Eggert 42ff8eeaae "fetish" -> "coreutils" in more places. 2005-04-20 07:57:27 +00:00
Paul Eggert 9118673ca3 Renamed Fetish package to Coreutils. 2005-04-20 07:54:54 +00:00
Paul Eggert 6195b00513 (EXTRA_DIST): Add Coreutils.pm and remove Fetish.pm. 2005-04-20 07:53:53 +00:00
Paul Eggert ee3fb6fadc (package Coreutils): Renamed from package Fetish. 2005-04-20 07:53:09 +00:00
Paul Eggert 50397b4278 * tests/mv/setup (dot_mount_point): Use stat -L. 2005-04-19 07:36:59 +00:00
Paul Eggert e3f1529533 (dot_mount_point): Use stat -L, in case the
directory is actually a symbolic link.
2005-04-19 07:36:39 +00:00
Paul Eggert f3a8588fd5 * tests/mv/mv-special-1: Use test -p to test for fifos. 2005-04-19 07:26:46 +00:00
Paul Eggert a8f2520b15 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.
2005-04-19 07:26:18 +00:00
Paul Eggert f55ce3a2dc * tests/chmod/setgid: Use numeric group ids, not symbolic group names. 2005-04-19 07:08:28 +00:00
Paul Eggert 822c4d9a83 Use numeric group ids, not symbolic group names,
since the latter can have shell metacharacters in them (e.g., spaces).
2005-04-19 07:08:08 +00:00
Paul Eggert 08e7216b2c Regenerate. 2005-04-18 23:38:19 +00:00
Paul Eggert 441a757dc8 fetish -> coreutils in some more places 2005-04-18 23:33:55 +00:00
Paul Eggert 9f79304ead (FETISH_GROUP): Renamed from COREUTILS_GROUP. 2005-04-18 23:33:29 +00:00
Paul Eggert a57516e20f (COREUTILS_GROUPS): Renamed from FETISH_GROUPS. 2005-04-18 23:33:10 +00:00
Paul Eggert bb40c7aeca (LDADD, $(PROGRAMS)): fetish -> coreutils. 2005-04-18 23:32:49 +00:00
Paul Eggert 09e689caf6 (gl_FUNC_RMDIR_NOTEMPTY): Renamed from
fetish_FUNC_RMDIR_NOTEMPTY.  All uses changed.  Use gl_ for
variable prefixes.
2005-04-18 23:32:29 +00:00
Paul Eggert bf9a432a16 (gl_MACROS): Use gl_ or coreutils_ rather than fetish_ for prefixes. 2005-04-18 23:32:12 +00:00
Paul Eggert 973039d61f (gl_CLOCK_TIME): Use gl_ rather than fetish_ for
variable names.
2005-04-18 23:31:42 +00:00
Paul Eggert d1f3b4fe16 fetish->coreutils in compilation command. 2005-04-18 23:31:22 +00:00
Paul Eggert 93e5749eea coreutils->fetish in comment. 2005-04-18 23:30:55 +00:00
Paul Eggert 8159d49a2a (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.
2005-04-18 23:30:41 +00:00
Paul Eggert f6a798eeef (emit_upload_commands): Remove fetish.sf.net. 2005-04-18 23:30:19 +00:00
Paul Eggert bfc7e64e41 (ftp): Remove fetish.sf.net. 2005-04-18 23:29:51 +00:00
Paul Eggert 9f6ffbac31 Fix typo in comment. 2005-04-18 18:48:22 +00:00
Paul Eggert 17d40155b4 Use "cat", not "test", to test for
../../src/dd.  Problem reported by Eric Blake.
2005-04-18 18:37:36 +00:00
Jim Meyering 60910381af *** empty log message *** 2005-04-18 07:05:11 +00:00
Jim Meyering c64856e992 Don't include stat-macros.h directly. system.h does that. 2005-04-18 07:03:50 +00:00
Paul Eggert 9b55e54a58 Work around a couple of "make check" failures reported for Cygwin
and ash by Eric Blake.
2005-04-18 06:36:45 +00:00
Paul Eggert 1563f3241e Skip this test if "trap '' CHLD" doesn't work. 2005-04-18 06:35:22 +00:00
Paul Eggert 2cb82c08c6 Skip this test if ../../src/dd isn't readable. 2005-04-18 06:35:06 +00:00