summaryrefslogtreecommitdiff
path: root/NEWS
AgeCommit message (Collapse)Author
2006-09-18*** empty log message ***Jim Meyering
2006-09-18*** empty log message ***Jim Meyering
2006-09-18Version 6.2.Jim Meyering
* NEWS: Record the 6.2 release date. * configure.ac (AC_INIT): Remove "-cvs" suffix from version string.
2006-09-16* NEWS: Document that mkdir -p and install -d now fork on occasion.Paul Eggert
* bootstrap.conf (gnulib_modules): Add savewd. * src/install.c: Include savewd.h. (process_dir): New function. (main, install_file_in_file_parents): Use it, along with the new savewd module, to avoid some race conditions. * src/mkdir.c: Include savewd.h. (struct mkdir_options): New members make_ancestor_function, mode, mode_bits. (make_ancestor): Return 1 if the resulting directory is not readable. (process_dir): New function. (main): Use it, along with new savewd module, to avoid some race conditions. Fill in new slots of struct mkdir_options, so that callees get the values. * tests/install/basic-1: Test for coreutils 5.97 bug that was fixed in coreutils 6.0, and which should still be fixed with this change. * tests/mkdir/p-3: Likewise.
2006-09-08tail now ignores the -f option if POSIXLY_CORRECT is set,Paul Eggert
no file operand is given, and standard input is any FIFO.
2006-09-08mv and "cp -r" no longer fail when invoked with two argumentsJim Meyering
where the first one names a directory and the second name ends in a slash and doesn't exist. E.g., "mv dir B/", for nonexistent B, now succeeds, once more. This reverts part of the 2004-06-27 change for 5.3.0. * NEWS: Say the above. * src/mv.c (target_directory_operand): Don't require (here) that the target operand "look like" a directory. This change pushes the test down to the rename syscall level, where a "mv dir existing-non-dir/" will mistakenly succeed on older systems that ignore trailing slashes in the rename destination argument. * src/cp.c (target_directory_operand): Likewise, but for cp. * tests/mv/trailing-slash: Exercise the above fixes. * tests/cp/trailing-slash: New file. * tests/cp/Makefile.am (EXTRA_DIST): Add trailing-slash.
2006-09-04(Infrastructure changes): make wording more accurateJim Meyering
2006-09-03* NEWS: Tweak the wording in the new change description so thatJim Meyering
no one can think this change causes e.g., `rm -fr foo../' to fail.
2006-09-03rm now rejects attempts to remove /, ./, and ../.Paul Eggert
2006-08-27* NEWS: Mention this.Jim Meyering
2006-08-26Fix "mv --verbose --backup" so its output includes theJim Meyering
" (backup: foo.~1~)" suffix also when backing up a directory. * NEWS: Report this bug fix. * src/copy.c (emit_verbose): New function, factored out of... (copy_internal): ...here. Use the new function. * tests/mv/backup-dir: Test for the above fix.
2006-08-26"ls --color" would highlight other-writable and sticky directoriesJim Meyering
no differently than regular directories on a file system with dirent.d_type support. * NEWS: Say the above. * src/ls.c (gobble_file): With --color, also stat the file when we know it is a directory. Derived from an anonymous one-line fix and bug report: <https://savannah.gnu.org/bugs/?15043>. * tests/ls/color-dtype-dir: New file. Test for the above fix. * tests/ls/Makefile.am (TESTS): Add color-dtype-dir.
2006-08-23* NEWS: printf supports the I flag.Paul Eggert
* src/printf.c (print_formatted) [glibc 2.2 or later]: Likewise.
2006-08-23* NEWS: Mention the sweeping infrastructure changes.Jim Meyering
2006-08-20add -cvs suffixJim Meyering
2006-08-20* NEWS: Add a line for 6.2-cvs.Jim Meyering
* configure.ac (AC_INIT): Bump to 6.2 and add "-cvs" suffix.
2006-08-19remove -cvs suffix, tooJim Meyering
2006-08-19* Version 6.1.Jim Meyering
* NEWS: Record the 6.1 release date. * configure.ac (AC_INIT): Remove "-cvs" suffix from version string.
2006-08-19*** empty log message ***Jim Meyering
2006-08-19* NEWS: Fix cp --sparse so that it preserves tail-end sparseness, evenJim Meyering
when the file's apparent size is not a multiple of its block size. * src/copy.c (copy_reg): Don't write a NUL before calling ftruncate. For some file sizes, writing that single byte would unnecessarily waste a few file blocks. That write may have been necessary in the early days of Linux, but now, removing it should be safe. Based on a patch by Alan Curry: <http://bugs.debian.org/370792> * tests/cp/sparse: New test for the above. * tests/cp/Makefile.am (TESTS): Add sparse. * tests/sparse-file: New file, essence factored out of... * tests/du/8gb: ... here. Use the new script.
2006-08-17Add/fix copyright notices and adjust to latest GNU FDL.Paul Eggert
2006-08-16*** empty log message ***Jim Meyering
2006-08-15* NEWS: Mention that df exits with nonzero status if it generatesPaul Eggert
no output. This change was in 6.0 but inadvertently unmentioned. * doc/coreutils.texi (df invocation): df exits nonzero if it outpus nothing. * src/df.c (file_systems_processed): Renamed from n_valid_args, and now a boolean. (show_dev): Don't set it until we actually output something. Print the header if this is the first output. (main): Don't print a header, as that is now show_dev's job. * tests/misc/Makefile.am (TESTS): Add df. * tests/misc/df: New file.
2006-08-15* NEWS: Add a line for 6.1-cvs.Jim Meyering
* configure.ac (AC_INIT): Bump to 6.1 and add "-cvs" suffix.
2006-08-15* Version 6.0 [unstable].Jim Meyering
* NEWS: Record the 6.0 release date. * configure.ac (AC_INIT): Remove "-cvs" suffix from version string.
2006-08-08Add shuf. Mention new --random-source option for shred and sort.Paul Eggert
Move "sort +1 -2" notice to the appropriate section, and clarify its role with respect to POSIXLY_CORRECT.
2006-07-28chmod now preserves setuid and setgid bits on directoriesPaul Eggert
if you use a numeric mode with them clear, e.g., "chmod 755 DIR".
2006-07-25Clarify the "chmod 0500" news, and correct the vaguePaul Eggert
statements about compatibility with BSD.
2006-07-21mention yesterday's other ls bugfixJim Meyering
2006-07-21Fix another bug: ls --indicator-style=file-type would callJim Meyering
stat for a symlink, even though it wasn't always needed. In some cases, that unnecessary stat would cause ls to fail. * src/ls.c (gobble_file): Don't treat symlinks specially (in requiring a stat syscall). Remove the offending exclusion. * NEWS: Mention the fix. * tests/ls/stat-dtype: New file/test, for the above fix. Also exercises the new df feature, below.
2006-07-17chmod, install, and mkdir now leave setgid and setuid bitsPaul Eggert
of directories alone unless you specify them explicitly. install and mkdir now implement X correctly. install now creates parent directories with mode 755, without changing their owner or group.
2006-07-07* NEWS: Mention that mv can now remove an empty destination directory,Jim Meyering
and give an example. Prompted by a report from Florent Bayle.
2006-07-01With no operand, 'tail -f' now silently ignores the '-f'Paul Eggert
only if standard input is a FIFO or pipe and POSIXLY_CORRECT is set.
2006-07-01seq defaults to a minimal fixed point format that does not losePaul Eggert
information if seq's operands are all fixed point decimal numbers. You no longer need the `-f%.f' in `seq -f%.f 1048575 1024 1050623', for example, since the default format now has the same effect. seq now lets you use %a, %A, %E, %F, and %G formats. seq now uses long double internally rather than double.
2006-06-28Support obsolete usages like "sort +1 -2" even when conforming toPaul Eggert
POSIX 1003.1-2001.
2006-06-26* NEWS: rm no longer fails to remove an empty, unreadable directoryJim Meyering
* src/remove.c (remove_cwd_entries): If we can't open a directory, and the failure is not being ignored, try to remove the directory with rmdir (aka unlinkat-with-AT_REMOVEDIR), in case it's empty. Problem report and test case from Paul Eggert in <http://article.gmane.org/gmane.comp.gnu.core-utils.bugs/7425>. * tests/rm/empty-inacc: New test, for the above.
2006-06-25* NEWS: wc accepts a new option --files0-from=FILE, where FILEJim Meyering
contains a list of NUL-separated file names. * src/wc.c: Include "readtokens.h". (usage): Describe the new option, and adjust the `Usage': with this option, no FILE may be specified on the command line. (main): Handle the new option. * tests/misc/wc-files0: New tests, for the above. * tests/misc/wc-files0-from: Likewise. * tests/misc/Makefile.am (TESTS): Add wc-files0.
2006-06-10Mention the AIX-strndup-bug vs. dircolors workaround.Jim Meyering
2006-06-08Ensure that cat works with any of the options, -A -v -e -E -T,Jim Meyering
when applied to files in /proc and /sys, even when the FIONREAD ioctl produces nonsensical results. Before this change, cat would produce no output (or truncated output), for some linux kernels. * src/cat.c (write_pending): New function, factored out of cat. (cat): Also interpret a negative ioctl/FIONREAD count as indicating that there are bytes to read. Some versions of linux-2.6.16 do that. Write any pending output before returning. Reported by Dan Jacobson in <http://bugs.debian.org/370583>. * NEWS: Mention this bug fix. * tests/misc/cat-proc: New file. Test for the above. * tests/misc/Makefile.am (TESTS): Add cat-proc.
2006-06-07The 'expr' command now detects and reports integer overflow.Paul Eggert
2006-06-03`cp --link --no-dereference' now works also on systems where theJim Meyering
link system call cannot create a hard link to a symbolic link.
2006-05-27*** empty log message ***Jim Meyering
2006-05-27chgrp now supports --preserve-root, --no-preserve-rootJim Meyering
2006-05-25Remove mention of --seed.Paul Eggert
2006-05-21*** empty log message ***Jim Meyering
2006-05-16mention cp -p vs. no-/proc fixJim Meyering
2006-05-11Mention that:Jim Meyering
mv -T DIR EMPTY_DIR no longer fails unconditionally
2006-05-11*** empty log message ***Jim Meyering
2006-05-07mention the df fix of 2006-01-24Jim Meyering
2006-05-06*** empty log message ***Jim Meyering