summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-04-26Remove posixver.h and its uses.Paul Eggert
(short_options): New constant, which always supports -S[string]. (COMMON_SHORT_OPTIONS): Remove.
2005-04-26Remove posixver.h and its uses.Paul Eggert
(short_options): New constant, which always supports -w[num]. (COMMON_SHORT_OPTIONS): Remove.
2005-04-26Remove posixver.h and its uses.Paul Eggert
(main): Always support -NUM option.
2005-04-26Remove posixver.h and its uses.Paul Eggert
(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'.
2005-04-26Remove posixver.h and its uses.Paul Eggert
(header_mode_option): Remove. (main): Don't complain about obsolete -NUM args.
2005-04-26Remove posixver.h and its uses.Paul Eggert
(shortopts): New constant. -DIGIT now always takes an optional arg. (main): Don't preprocess arg list; that was buggy. Use method similar to expand.
2005-04-26Remove posixver.h and its uses.Paul Eggert
(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-26Remove posixver.h and its uses.Paul Eggert
(COMMON_SHORT_OPTIONS): Remove. (short_options): New constant. (short_options, usage): -I now always takes an optional arg.
2005-04-26Restore support for usages like "head -1" and "tail -1",Paul Eggert
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-24* coreutils.texi (install invocation): Use a= instead of 0 forPaul Eggert
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-23nohup now exits with status 127 (not 1) when given an invalid option.Paul Eggert
2005-04-23(main): If getopt fails, exit with status 127, not status 1.Paul Eggert
2005-04-23* src/nice.c (main): Report proper program name when getopt finds trouble.Paul Eggert
2005-04-23(main): Report proper program name when getopt finds trouble.Paul Eggert
2005-04-22Test for "mkdir -m =+x dir" bug.Paul Eggert
2005-04-22(main): Compile mode with MODE_MASK_ALL and initial umask.Paul Eggert
2005-04-22(main): Compile mode with MODE_MASK_ALL and initial umask.Paul Eggert
2005-04-22(main): Compile mode with MODE_MASK_ALL and initial umask.Paul Eggert
2005-04-22Fix bug with "mkdir -m =+x dir"; the umask was being ignoredPaul Eggert
when the "+x" was being evaluated.
2005-04-22"mkdir -m =+x dir" no longer ignores the umask when evaluating "+x",Paul Eggert
and similarly for mkfifo and mknod.
2005-04-21Regenerate.Paul Eggert
2005-04-21Port test cases to Microsoft-Windows-related environments,Paul Eggert
following suggestions from Eric Blake.
2005-04-21Undo previous change.Paul Eggert
(sig): New var. Use it insted of "trap '' CHLD". Append $EXEEXT to executable name.
2005-04-21Undo previous change.Paul Eggert
(dd, dd2): New vars, which use $EXEEXT. All uses of dd and dd2 changed.
2005-04-21(TESTS_ENVIRONMENT): Add EXEEXT.Paul Eggert
2005-04-20Fetish.pm renamed to Coreutils.pm.Paul Eggert
2005-04-20"fetish" -> "coreutils" in more places.Paul Eggert
2005-04-20Renamed Fetish package to Coreutils.Paul Eggert
2005-04-20(EXTRA_DIST): Add Coreutils.pm and remove Fetish.pm.Paul Eggert
2005-04-20(package Coreutils): Renamed from package Fetish.Paul Eggert
2005-04-19* tests/mv/setup (dot_mount_point): Use stat -L.Paul Eggert
2005-04-19(dot_mount_point): Use stat -L, in case thePaul Eggert
directory is actually a symbolic link.
2005-04-19* tests/mv/mv-special-1: Use test -p to test for fifos.Paul Eggert
2005-04-19Use test -p to test for fifos, ratherPaul Eggert
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* tests/chmod/setgid: Use numeric group ids, not symbolic group names.Paul Eggert
2005-04-19Use numeric group ids, not symbolic group names,Paul Eggert
since the latter can have shell metacharacters in them (e.g., spaces).
2005-04-18Regenerate.Paul Eggert
2005-04-18fetish -> coreutils in some more placesPaul Eggert
2005-04-18(FETISH_GROUP): Renamed from COREUTILS_GROUP.Paul Eggert
2005-04-18(COREUTILS_GROUPS): Renamed from FETISH_GROUPS.Paul Eggert
2005-04-18(LDADD, $(PROGRAMS)): fetish -> coreutils.Paul Eggert
2005-04-18(gl_FUNC_RMDIR_NOTEMPTY): Renamed fromPaul Eggert
fetish_FUNC_RMDIR_NOTEMPTY. All uses changed. Use gl_ for variable prefixes.
2005-04-18(gl_MACROS): Use gl_ or coreutils_ rather than fetish_ for prefixes.Paul Eggert
2005-04-18(gl_CLOCK_TIME): Use gl_ rather than fetish_ forPaul Eggert
variable names.
2005-04-18fetish->coreutils in compilation command.Paul Eggert
2005-04-18coreutils->fetish in comment.Paul Eggert
2005-04-18(noinst_LIBRARIES): fetish -> coreutils.Paul Eggert
(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(emit_upload_commands): Remove fetish.sf.net.Paul Eggert
2005-04-18(ftp): Remove fetish.sf.net.Paul Eggert
2005-04-18Fix typo in comment.Paul Eggert