summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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).
2006-09-05* src/c99-to-c89.diff (remove.c): Adapt one hunk to match the newJim Meyering
context from change of 2006-09-02.
2006-09-04(Infrastructure changes): make wording more accurateJim Meyering
2006-09-04* README-cvs: Fix typo in update command.Jim 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-03Use $CONFIG_HEADER, rather than hard-coding it.Jim Meyering
* tests/rm/Makefile.am (TESTS_ENVIRONMENT): Set $CONFIG_HEADER.
2006-09-03* tests/rm/inaccessible: Adjust for movement of config.h to lib/.Jim Meyering
2006-09-03rm now rejects attempts to remove /, ./, and ../.Paul Eggert
2006-09-03(Treating / specially): --preserve-root isPaul Eggert
now the default for rm. (rm invocation): Likewise. Also, document that you can't remove `.' or `..'. Use the POSIX term "root directory" rather than the more-ambiguous "file system root".
2006-09-03New file.Paul Eggert
2006-09-03(TESTS): Add r-4.Paul Eggert
2006-09-03Don't include dirname.h, since system.h does it now.Paul Eggert
(cache_fstatat, cache_stat_init): New functions. (cache_statted, cache_stat_ok): New functions. (write_protected_non_symlink): Remove struct stat ** buf_p arg, which is no longer needed with the new functions. All callers changed. (prompt, is_dir_lstat, remove_entry, remove_dir): New struct stat * arg. All callers changed. (write_protected_non_symlink, prompt, is_dir_lstat, remove_entry): (remove_cwd_entries, remove_dir, rm_1): Use and maintain the file status cache. (prompt, remove_entry): Omit the first "directory" in the diagnostic "Cannot remove directory `foo': is a directory". This causes "rm" to pass a test case that it would otherwise fail now that it "knows" more about its argument. I think the diagnostic is better without the first "directory" anyway. (prompt): Remove the no-longer-needed IS_DIR arg; all callers changed. (rm_1): Reject attempts to remove /, ./, or ../.
2006-09-03Fix comment.Paul Eggert
2006-09-03Don't include dirname.h, since system.h does it now.Paul Eggert
(usage, main): --preserve-root is now the default.
2006-09-03Include "dirname.h", since dot_or_dotdot needs itPaul Eggert
now. (dot_or_dotdot): Succeed even if "." or ".." is followed by a slash.