summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-03-20Fix a typo in the handling of %x and %X.Jim Meyering
* vasnprintf.c (VASNPRINTF): When adding 2 to buffer length, don't double it.
2007-03-20Skip part of this test when "." is not a local file system.Jim Meyering
* tests/install/basic-1: Otherwise, it would fail on some NFS file systems.
2007-03-20* src/Makefile.am (dir_LDADD, ls_LDADD, vdir_LDADD):Paul Eggert
Add $(LIB_ACL_TRIVIAL).
2007-03-18Fix a generic NFS-related test failure.Jim Meyering
* tests/mkdir/p-3: When setting up an unreadable "." in an inaccessible parent, make the parent inaccessible *after* making "." unreadable. Otherwise, running "chmod a-r ." in an already- inaccessible parent would fail on NFS with "Stale NFS file handle". Signed-off-by: Jim Meyering <jim@meyering.net>
2007-03-18Merge branch 'master' of /cuJim Meyering
2007-03-18Fix a bug in how pr -m -s works.Jim Meyering
* NEWS: Describe how the fix affects pr. * src/pr.c (init_parameters): The --merge (-m) option does not imply --expand-tabs (-e), so don't set "untabify_input". Reported by Wis Macomson. * tests/misc/pr: New file. Test for the above fix. * tests/misc/Makefile.am (TESTS): Add pr. * THANKS: Update.
2007-03-17Fix a silly syntax error introduced in last change.Jim Meyering
2007-03-17fix a syntax errorJim Meyering
2007-03-17Detect use of AC_CONFIG_AUX_DIR also when its argument is quoted.Jim Meyering
* bootstrap: Put ""s around use of $build_aux, in case someone uses a name containing shell meta-characters. Reported by Alfred M. Szmidt.
2007-03-17* tests/misc/tty-eof: Add shuf to the list of tested commands.Jim Meyering
2007-03-17Avoid test failure on NFS-mounted Solaris ZFS file system.Jim Meyering
* tests/du/basic: Skip a test if "." is on a non-local file system.
2007-03-17Avoid an obscure build failure, prefer waitpid over wait.Jim Meyering
* src/install.c (strip): Use waitpid, not wait. It's equivalent, but feels less obsolescent.
2007-03-17* bootstrap: Don't use \> in grep regexp. For HP-UX.Jim Meyering
2007-03-16Begin adding support for Solaris ZFS (4 entries per trivial ACL)Jim Meyering
* gl/lib/acl.c (ACL_NOT_WELL_SUPPORTED): New macro. (file_has_acl, copy_acl): Use it, rather than enumerating errno values. (is_trivial_acl): New function. Incomplete, for now. (file_has_acl, copy_acl): Use the new function, rather than counting the number of entries in an ACL.
2007-03-16* bootstrap: Update from gnulib.Jim Meyering
2007-03-16* .x-sc_prohibit_atoi_atof: Add TODO here, too.Jim Meyering
2007-03-16* src/copy.c: Include filemode.h.Paul Eggert
(overwrite_prompt): Say "try to overwrite", not "overwrite", to make it clearer that the attempt may fail. Problem reported by Dan Jacobson in: http://lists.gnu.org/archive/html/bug-coreutils/2007-03/msg00130.html Output symbolic mode as well as numeric. * tests/mv/i-2 (fail): Adjust to new prompt format.
2007-03-16Fix manual in response to bug reports by Dan Jacobson.Paul Eggert
* coreutils.texi (sort invocation): Explain numeric sorts better. Compress self-congratulation into a simple "comparison is exact" notice; the --general-numeric-sort option already explains the tradeoffs. (seq invocation): Add example of -f.
2007-03-15Enforce policy: don't use *scanf functions.Jim Meyering
* Makefile.maint (sc_prohibit_atoi_atof): Add to regexp and diagnostic. * .x-sc_prohibit_atoi_atof: Give stty a temporary pass. * TODO: note that stty.c needs this small clean-up.
2007-03-13Prepare to work on ACL-related failure when using Solaris ZFS.Jim Meyering
* gl/lib/acl.c: New file, copied from gnulib.
2007-03-13Work around a failing test due to an NFS-based race condition.Jim Meyering
* tests/cp/sparse: Accept a report that the copy is *smaller*.
2007-03-12* coreutils.texi (cp invocation): Mention that --preserve=timestampsJim Meyering
doesn't preserve time stamps on symbolic links. Reported by Polo Talnir in <https://bugzilla.redhat.com/230866>.
2007-03-12Merge branch 'master' of /cuJim Meyering
2007-03-12Make bootstrap.conf a tiny bit more generic.Jim Meyering
* bootstrap.conf (XGETTEXT_OPTIONS): Exclude gettext-related .m4 files when e.g., AM_GNU_GETTEXT([external] appears in configure.ac.
2007-03-10Try to fix today's NFS-related failure: Treat ESTALE like EACCES.Jim Meyering
* gl/lib/savewd.c: Copy this file from gnulib, then change "errno != EACCES" to (errno != EACCES && errno != ESTALE). The symptom was this failure in tests/install/basic-1: ginstall: cannot create directory `rel/a': Stale NFS file handle
2007-03-10The preceding change solved part of the problem. Now ginstall fails.Jim Meyering
* tests/install/basic-1: Temporarily, don't redirect ginstall's stderr to /dev/null, so I can see why the NFS autobuilder's NFS test is failing.
2007-03-10* tests/install/basic-1: When setting up an unreadable "." in anJim Meyering
inaccessible parent, make the parent inaccessible *after* making "." unreadable. Otherwise, running "chmod a-r ." in an already- inaccessible parent would fail on NFS with "Stale NFS file handle". Reported by Bob Proulx.
2007-03-10remove trailing blanksJim Meyering
2007-03-10* Makefile.maint (po-check): Exclude c99-to-c89.diff.Jim Meyering
2007-03-10Mention that both Jay Soffian and Charles Randall wrote early versionsJim Meyering
of sort's temp-file-compression code.
2007-03-09* tests/chgrp/basic: Also avoid test failures on Darwin 8.8.x (MacOS X 10.4).Jim Meyering
2007-03-09src/fs.h: git-rm a generated but already-ignored fileJim Meyering
2007-03-09Avoid test failures on Darwin 7.9.0 (MacOS X 10.3.9)Jim Meyering
* tests/chgrp/basic: Don't let failure by chgrp to set the group of a symlink make this test fail. Do give a diagnostic. In the chgrp-no-change-ctime test, add darwin7.9.0 as another known-failing system. When failing on some other system, print $host_triplet, too. Reported by Peter Fales.
2007-03-08* src/c99-to-c89.diff: Reflect the new c99'ism, update offsets.Jim Meyering
2007-03-08Add to .cvsignore and .gitignore files.Jim Meyering
2007-03-08TODO: printf: support %a even when the native *printf(3) is deficientJim Meyering
2007-03-08rm without -f: give a better diagnostic when euidaccess fails.Jim Meyering
* src/remove.c (write_protected_non_symlink): Return int, not bool, so that we can indicate failure too (as a postive error number). (prompt): If write_protected_non_symlink fails, report that error number and fail rather than charging ahead and removing the dubious entry. Redo the logic of printing a diagnostic so that we need to invoke quote (full_filename (...)) only once. More details at: <http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/9952/focus=9996>
2007-03-08Generalize a few more cvs-isms.Jim Meyering
* bootstrap (checkout_only_file): Rename from CVS_only_file. Change comments and diagnostics not to say "CVS".
2007-03-08* bootstrap: Run libtool, if necessary.Jim Meyering
2007-03-08Make bootstrap a little more general.Jim Meyering
* bootstrap (build_aux): Factor out/use this definition. Formally require a "AC_CONFIG_AUX_DIR($build_aux)" line in configure.ac. (insert_sorted_if_absent): Move function definition "up", to precede new first use. If $build_aux/ doesn't exist initially, create it, and mark it as ignored.
2007-03-04* vasnprintf.c (VASNPRINTF): Add missing semicolon.Jim Meyering
2007-03-03Fix a bug: cp -x would fail to set mount point permissions.Andrew Church
* NEWS: mention cp -x bug fix * src/copy.c (copy_internal): Don't return immediately after copying a mount point that we do not intend to recurse under. Based on a patch by Andrew Church.
2007-03-03pwd-unreadable-parent: Skip test on ia64/Linux, too.Jim Meyering
* tests/misc/pwd-unreadable-parent: Also skip when $REPLACE_GETCWD. Reported by Bob Proulx.
2007-03-02Add to .cvsignore and .gitignore files.Jim Meyering
2007-03-02* vasnprintf.c (VASNPRINTF): Remove cast of alloca return value.Jim Meyering
2007-03-02pwd-unreadable-parent: Skip test on non-Linux/GNU systems.Jim Meyering
* tests/misc/pwd-unreadable-parent: Rather than trying to decide whether this test has a chance of succeeding, run it only when $(host_os) is linux-gnu. It was failing on powerpc-apple-darwin8.8.0 * tests/misc/Makefile.am (TESTS_ENVIRONMENT): Add host_os=$(host_os).
2007-03-02* tests/misc/pwd-long: Also allow "+" in $PWD.Jim Meyering
2007-03-02* Makefile.maint (my-distcheck): Skip the c99/c89 check if there's no such ↵Jim Meyering
.diff file.
2007-03-02Remove another coreutils-ism. Formatting cleanup.Jim Meyering
* Makefile.maint (my-distcheck): Update an outdated comment. (emit_upload_commands): Use $(PACKAGE) rather than "coreutils".
2007-03-01* Makefile.maint (warn_cflags): Hoist, adding "-Dlint -O".Jim Meyering
(my-distcheck): Use the new variable, instead of too-long literal.