summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-09-20* NEWS: Mention the chmod bug fix.Jim Meyering
2006-09-20*** empty log message ***Jim Meyering
2006-09-20* tests/chmod/inaccessible: New test.Jim Meyering
* tests/chmod/Makefile.am (TESTS): Add inaccessible.
2006-09-20Fix the 2006-09-18 bug differently.Jim Meyering
* src/chmod.c: (process_file): Upon FTS_NS for a top-level file, tell fts_read to stat the file again, in case it has become accessible since the initial fts_open call. * src/chown-core.c (change_file_owner): Likewise.
2006-09-20* src/chmod.c: Revert last change. There is a better way.Jim Meyering
* src/chown-core.c: Likewise.
2006-09-19* coreutils.texi (Disk usage): Clarify intro. Problem reported by Van Ly.Paul Eggert
2006-09-19* src/ln.c (target_directory_operand): Rewrite to avoid portingPaul Eggert
problem on Tandem reported by Matthew Woehlke in <https://savannah.gnu.org/bugs/?17172>.
2006-09-19(cp invocation): Clarify cp -i a bit more.Paul Eggert
2006-09-19* coreutils.texi (cp invocation): Say that -i and -f arePaul Eggert
independent. Clarify -i's behavior.
2006-09-18Fix bug where chmod, chown, and chgrp did not process operandsPaul Eggert
left-to-right in some cases. * src/chmod.c (wd_errno): New var. (chmod_file): New function, with most of the contents of the old prcess_file function. (process_files): Use it. This gives file names to fts one at a time, so that they are processed left-to-right as POSIX requires. * src/chown-core.c (wd_errno, chown_files): Likewise. (chown_file): New function. * tests/install/basic-1: Redo test so as to not workaround the chmod bug, thereby testing for it.
2006-09-18* src/shuf.c (main): Quote the entire range when reporting anPaul Eggert
invalid one, rather than just the part that contained the error.
2006-09-18* tests/stty/row-col-1: Rewrite to avoid temporary file that isPaul Eggert
sometimes left behind if the test is skipped or interrupted.
2006-09-18* bootstrap (symlink_to_gnulib): New function.Paul Eggert
(cp_mark_as_generated): Use it, to prefer symlinks-to-gnulib to copies-of-gnulib. (cp_mark_as_generated, slurp, gnulib_files): Avoid making a copy if it's the same as the old version. (gnulib_files): Add support for this variable (used by Bison).
2006-09-18* tests/ls/stat-vs-dirent: Fix quoting problem in diagnosticPaul Eggert
indicating flaw in kernel. Reword to say that the flaw isn't serious for coreutils, since the flaw does affect ls -i.
2006-09-18Fix bug in test case exposed by building onPaul Eggert
Solaris 8 in a setgid directory. The test case incorrectly assumed that 'symlink' would be in group $g1.
2006-09-18* NEWS: Add a line for 6.3-cvs.Jim Meyering
* configure.ac (AC_INIT): Bump to 6.3 and add "-cvs" suffix.
2006-09-18.Jim Meyering
2006-09-18duhJim Meyering
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-17* tests/chgrp/basic: On an OpenBSD system, rather than failingJim Meyering
due to a known problem, merely warn about it. Rewrite to avoid testing output of chgrp --verbose and chgrp -c. Instead, use stat to test file system for desired results, directly. * tests/chgrp/Makefile.am (TESTS_ENVIRONMENT): Set host_triplet.
2006-09-17* tests/envvar-check: Add more variable names to the list of thoseJim Meyering
that can affect these programs and tests: _POSIX2_VERSION, COLUMNS, QUOTING_STYLE, TABSIZE, TERM, TMPDIR.
2006-09-17.Jim Meyering
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-16* Makefile.maint (sc_require_config_h, sc_prohibit_assert_without_use):Jim Meyering
Discard stdout from the new use of grep.
2006-09-15* bootstrap.conf (gnulib_modules): Add rename-dest-slash.Jim Meyering
The 2006-09-08 changes made it so "mv dir new-name/" would fail on NetBSD 1.6. This makes it work once again.
2006-09-14* src/mv.c (main): Remove unnecessary (always-true) test for 2 <= n.Jim Meyering
Instead, since it's a little fragile, assert the condition. (target_directory_operand): Update comment to reflect latest change.
2006-09-12(print_user): Rewrite to avoid warning from GCC 4.1.1 with -Wall.Paul Eggert
2006-09-12* tests/mv/atomic: Check for specific strace output, rather thanJim Meyering
simply nonempty. RHEL AS 4 would fail this test due to strace generating "[ Process PID=14434 runs in 32 bit mode. ]". Reported by Nelson Beebe.
2006-09-11* src/c99-to-c89.diff: Add another set of curly braces.Jim Meyering
2006-09-11* src/remove.c (remove_dir): Move new cache_stat_init call ontoJim Meyering
it's own line. (rm_1): Move declaration of "st" and new cache_stat_init call "down" to nearer where they're used.
2006-09-11(eval6): Fix buffer overrun, or bad performance, ifPaul Eggert
substr's last operand is very large. Performance problem reported by Sebastian Kreft.
2006-09-09* Makefile.maint (sc_prohibit_assert_without_use): Likewise.Jim Meyering
2006-09-09* Makefile.maint (sc_require_config_h): Skip this test if there are no version-Jim Meyering
controlled .c files.
2006-09-09.Jim Meyering
2006-09-09restore leading "@"Jim Meyering
2006-09-09* Makefile.maint (sc_prohibit_jm_in_m4): Don't hang when thereJim Meyering
are no .m4 files.
2006-09-08* bootstrap: Export CVS_RSH separate from its assignment, to workJim Meyering
even with Solaris 10's /bin/sh. Suggestion from Mark D. Baushke.
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-08* bootstrap: Use the previously unused variable, $src,Jim Meyering
to avoid repeating "$GNULIB_SRCDIR/$file".
2006-09-08* bootstrap (cp_mark_as_generated): Don't use "local", toJim Meyering
accommodate ancient "/bin/sh". Suggested by Ralf Wildenhues. Rename now-global "$src" and "$dst" to have cp_ prefix. Safer, and avoids confusion.
2006-09-08* bootstrap: Fix last-minute typo.Jim Meyering
2006-09-08* bootstrap (cp_mark_as_generated): Don't add C-style comments for .l or .y ↵Jim Meyering
files.
2006-09-08* bootstrap (cp_mark_as_generated): New function.Jim Meyering
(slurp): Use it to prepend editor hints and a warning that the file we're copying is generated. Suggestion from Bruce Korb.
2006-09-07* bootstrap: Revert last change. There are less disruptive waysJim Meyering
to mark these generated files as read-only.
2006-09-07* src/c99-to-c89.diff: Update to have proper offsets.Jim Meyering
2006-09-06Ensure that some gnulib-tool-generated files are read-only.Jim Meyering
* bootstrap (slurp): Put the body of this function in a sub-shell, with "umask a-w" so that all new files are read-only. Remove each file before we write to it, in case it's read-only. Make po/Makevars and runtime-po/Makevars read-only, too.
2006-09-05* tests/cp/acl: Skip this test when cp lacks ACL support.Jim Meyering
* tests/cp/Makefile.am (TESTS_ENVIRONMENT): Set $(CONFIG_HEADER).