summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2004-12-17update from gnulibJim Meyering
2004-12-17Sync mdate-sh from gnulib.Paul Eggert
2004-12-17* src/ls.c (print_dir): Use "%s: not listing already-listed directory".Paul Eggert
2004-12-17(print_dir): Use "%s: not listing already-listedPaul Eggert
directory", not "not listing already-listed directory: %s", to format already-listed directories, to be consistent with other diagnostics involving file names and colons.
2004-12-15* coreutils.texi: Fix minor problems in "ls" and "dircolors".Paul Eggert
2004-12-15(ls invocation): Change minor problem to bePaul Eggert
"subdirectory not found", since top-level trouble is now serious. (dircolors invocation): Quote argument to eval. Problem reported by Stephane Chazelas.
2004-12-15*** empty log message ***Jim Meyering
2004-12-15mention tac bug fixJim Meyering
2004-12-15.Jim Meyering
2004-12-14*** empty log message ***Jim Meyering
2004-12-14(__LDADD): Define, so that building `[' onJim Meyering
Solaris still uses the -lgen library that it requires in order to get a definition of eaccess.
2004-12-14*** empty log message ***Jim Meyering
2004-12-14Add Bulgarian (bg).Jim Meyering
2004-12-14version: 5.2.1Jim Meyering
2004-12-14*** empty log message ***Jim Meyering
2004-12-14*** empty log message ***Jim Meyering
2004-12-14Add a few more tests.Jim Meyering
2004-12-14.Jim Meyering
2004-12-14*** empty log message ***Jim Meyering
2004-12-14*** empty log message ***Jim Meyering
2004-12-14(TESTS): Add tac-continue.Jim Meyering
2004-12-14Ensure that tac processes all command line arguments, evenJim Meyering
when it encounters an error with say the first one.
2004-12-14 [DONT_UNLINK_WHILE_OPEN]: Add a FIXME comment explaining thatJim Meyering
using atexit like this is wrong.
2004-12-14*** empty log message ***Jim Meyering
2004-12-14(tac_nonseekable): Return false also if copy_to_temp fails.Jim Meyering
2004-12-14*** empty log message ***Jim Meyering
2004-12-14Include quotearg.h.Jim Meyering
Use quotearg_colon in most diagnostics. (copy_to_temp): Rewrite not to exit upon I/O or temp-file-creation failure. Before, this command (with /full/tmp being a full partition) TMPDIR=/full/tmp ./tac /proc/modules tac.c would exit immediately upon the write error while trying to copy non-seekable /proc/modules to the full partition. Now it still reports the failure but continues on with the remaining file.
2004-12-14Cause top-level failures to exit with status 2 with "ls".Paul Eggert
2004-12-14(no-a-isdir-b): This now exits with status 2,Paul Eggert
not status 1.
2004-12-14(gobble_file): Change arg name to be command_line_argPaul Eggert
rather than explicit_arg, for consistency with copy.c. (extract_dirs_from_files): Remove ignore_dot_and_dot_dot arg, since it is deducible from dirname arg. All callers changed. (extract_dirs_from_files, print_dir, queue_directory): Add command_line_arg arg. All callers changed. (struct pending): Add command_line_arg member. (main): Use NULL rather than 0 when appropriate. (set_exit_status, file_failure): New functions. (queue_directory): Store command_line_arg into new structure. (print_dir, gobble_file, get_link_name): Use file_failure to report problems in accessing files, so that the exit status is set consistently. (print_dir): Simplify readdir failure code yet again. If closedir fails, report "closing directory" rather than "reading directory" failure. (xstrcoll): Use set_exit_status to set status on failure.
2004-12-12* coreutils.texi (join invocation): Blank separators need quoting.Paul Eggert
2004-12-12(join invocation): Mention that blank separatorsPaul Eggert
in the -o option need to be quoted.
2004-12-11*** empty log message ***Jim Meyering
2004-12-11adjust wording of #error messageJim Meyering
2004-12-11Fail via #error if PATH_MAX is not defined, sinceJim Meyering
this file is now compiled only on systems that define PATH_MAX.
2004-12-11chown race fixJim Meyering
2004-12-11*** empty log message ***Jim Meyering
2004-12-11*** empty log message ***Jim Meyering
2004-12-11Avoid a race condition vulnerability in chown, when used withJim Meyering
--from=O:G and without the (-h) --no-dereference option. (restricted_chown): New function. (change_file_owner): Call it. Reported by Ulrich Drepper.
2004-12-11* coreutils.texi (id invocation): -G also prints main group.Paul Eggert
2004-12-11(id invocation): -G also prints main group.Paul Eggert
2004-12-10*** empty log message ***Jim Meyering
2004-12-10(gl_FUNC_CHDIR_LONG): Arrange to compile chdir-long.c only on systemsJim Meyering
that define PATH_MAX.
2004-12-09ls now exits with status 1 if minor problem, 2 on serious trouble.Paul Eggert
2004-12-09(ls invocation): Document new "ls" exit status.Paul Eggert
2004-12-09ls now exits with status 1 on minor problems, 2 if serious trouble.Paul Eggert
2004-12-09ls and variants now exit with status 2 on serious trouble.Paul Eggert
2004-12-09(LS_MINOR_PROBLEM, LS_FAILURE): New constants.Paul Eggert
All uses of EXIT_FAILURE replaced with LS_FAILURE, unless specified below. (main): Initialize exit failure to LS_FAILURE. (print_dir, gobble_file, get_link_name, xstrcoll): Set exit status to LS_MINOR_PROBLEM if the failure is minor. (print_dir): Do not give up on entire directory merely because readdir returns EOVERFLOW. (usage): Explain exit status.
2004-12-08Undo previous change.Paul Eggert
2004-12-08Undo previous change; it's already there.Paul Eggert