summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-06-27* coreutils.texi (wc invocation): Remove ./ prefix from example.Jim Meyering
From Padraig Brady.
2006-06-27* tests/misc/cat-proc: Try to avoid any spurious numericJim Meyering
differences in frequently-changing /proc/cpuinfo. Reported by Nelson Beebe.
2006-06-26* coreutils.texi (wc invocation): Spell out `--files0-from' inJim Meyering
the example. Suggestion from Bob Proulx.
2006-06-26Attempt rmdir (actually, unlinkat-with-AT_REMOVEDIR) upon anyJim Meyering
fd_to_subdirp failure, not just when errno == EACCES. * src/remove.c (remove_dir): Use unlinkat-with-AT_REMOVEDIR, not rmdir, here, even though rmdir may happen to be adequate.
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-26* coreutils.texi (wc invocation): Document new --files0-from option.Jim Meyering
2006-06-26now, trunk passes tests on openbsdJim Meyering
2006-06-26Avoid a segfault for wc --files0=- < /dev/null.Jim Meyering
* src/wc.c (compute_number_width): Return right away if nfiles == 0.
2006-06-25remove wc --files0-from itemJim Meyering
2006-06-25tweak grammar in commentJim Meyering
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-25(sleep invocation): Document that acceptingJim Meyering
multiple arguments and suffixes are extensions. Reported by Dan Jacobson.
2006-06-24* src/md5sum.c (DIGEST_BUFFER): Remove now-unused definitions.Jim Meyering
2006-06-22* src/tee.c (tee_files): Rename from tee, to avoid conflict withJim Meyering
the function in glibc's <fcntl.h>. Reported by Andreas Schwab.
2006-06-20(openat): Use ?:, not if, to work around GCC bug 4210.Paul Eggert
2006-06-20fix typo in comment: s/nerrower/narrower/Jim Meyering
2006-06-20(gl_IGNORE_UNUSED_LIBRARIES):Paul Eggert
Use -Wl,--as-needed, not bare --as-needed, since HP-UX 11.11 cc merely issues a bunch of annoying warnings for --as-needed (this problem was reported by Bob Proulx). Also, try linking with -lm to detect a bug in binutils 2.16 (this problem was reported by Ralf Wildenhues).
2006-06-19*** empty log message ***Jim Meyering
2006-06-19Apply this change from gnulib:Jim Meyering
2006-06-16 Eric Blake <ebb9@byu.net> * unsetenv.c [!defined errno]: Assume errno.h declares errno.
2006-06-19(gl_IGNORE_UNUSED_LIBRARIES): Prefer binutils'sPaul Eggert
--as-needed option if available.
2006-06-18* Makefile.cfg (local-checks-to-skip): Add changelog-check,Jim Meyering
so this check is not run as part of "make distcheck".
2006-06-18Test for a bug that causes glibc's getcwd to suffer a failed assertion.Jim Meyering
* getcwd-abort-bug.m4 (gl_FUNC_GETCWD_ABORT_BUG): New file and macro. * getcwd.m4 (gl_FUNC_GETCWD): If we detect support for getcwd_null, also check for glibc-2.4's abort-inducing bug.
2006-06-18*** empty log message ***Jim Meyering
2006-06-18Fix typo (s/neq/ne/) in previous change.Jim Meyering
2006-06-18* getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Fix typo.Jim Meyering
Low-probability clean-up should be to use rmdir to get rid of the just-created directory, not unlink.
2006-06-18* ftruncate.m4 (gl_FUNC_FTRUNCATE): If ftruncate is missing, makeJim Meyering
configure fail, and request a bug report to inform us about it. Add a comment that, barring reports to the contrary, in 2007 we'll assume ftruncate is universally available.
2006-06-18make error output a little clearerJim Meyering
2006-06-17* tests/rm/inaccessible: Skip this test on systems without openat support.Jim Meyering
Reported by Bob Proulx.
2006-06-16.Jim Meyering
2006-06-16add these two files (a and b) so that I can remove them -- in the eyes of cvspsJim Meyering
2006-06-16remove the files once and for all, so that tools like cvsps (and even 'cvs ↵Jim Meyering
update') don't think they're still around
2006-06-15Improve permission checks to handlePaul Eggert
running mkdir test in set-gid directories.
2006-06-14tests/du/basic: Revamp not to hard-code file system block sizes.Jim Meyering
2006-06-12tests/du/Makefile.am (TESTS_ENVIRONMENT): Pass $(PERL), for the files0-from ↵Jim Meyering
test.
2006-06-12(check-texinfo): Use $(_W) and $(W_) instead ofPaul Eggert
assuming grep -w (which is not portable).
2006-06-11Makefile.am (EXTRA_DIST): Add .gitignore.Jim Meyering
2006-06-11*** empty log message ***Jim Meyering
2006-06-11Setting TIME_STYLE=long-iso in the environment would make theJim Meyering
cp/same-file test fail. * tests/envvar-check (vars): Add TIME_STYLE to the list. * tests/cp/same-file: Revert last change. Source the envvar-check script, to ensure that TIME_STYLE settings don't affect these tests.
2006-06-11* tests/cp/same-file: Execute 'ls' in the C locale, so that itPaul Eggert
uses POSIX time stamp formats. Problem reported by John Nixon in <http://lists.gnu.org/archive/html/bug-coreutils/2006-06/msg00062.html>.
2006-06-11(__attribute__): Don't define if already defined.Paul Eggert
2006-06-10Mention the AIX-strndup-bug vs. dircolors workaround.Jim Meyering
2006-06-10Apply this change from gnulib:Jim Meyering
2006-05-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> Bruno Haible <bruno@clisp.org> * strndup.c (strndup) [!_LIBC]: Don't undefine macro definition.
2006-06-10Apply this change from gnulib:Jim Meyering
2006-05-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> Bruno Haible <bruno@clisp.org> * strndup.m4 (gl_FUNC_STRNDUP): Replace the AC_REPLACE_FUNCS with a check for the declaration of strnlen and a run test that exposes the AIX 5.1 strnlen bug. In the failure case, #define strndup to rpl_strndup.
2006-06-10*** empty log message ***Jim Meyering
2006-06-10Require a "Version N.M" line at the top of the ChangeLogJim Meyering
file only when making the actual release, not when running "make distcheck". (maintainer-distcheck): Don't depend on changelog-check. (alpha beta major): Depend on it here, instead.
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-08(eval4): Detect overflow properly when multiplying INTMAX_MIN * -1.Paul Eggert
2006-06-07Don't claim x86 behavior is erroneous in a comment.Paul Eggert
2006-06-07The 'expr' command now detects and reports integer overflow.Paul Eggert
2006-06-07(integer_overflow): New function.Paul Eggert
(eval4, eval3): Check for integer overflow.