summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-10-14[ChangeLog]Jim Meyering
* Makefile.cfg: Remove cruft that's now handled via bootstrap. * Makefile.maint: Likewise, remove these targets/rules/variables: (local_updates, update, cvs-update, wget_files, get-targets): Remove. (cvs_files, wget-update, automake_repo): Likewise. Move the comment about cvsu to build-aux/vc-list-files, where cvsu is actually used. [build-aux/ChangeLog] * vc-list-files: Add a comment about cvsu.
2006-10-14* Makefile.maint (cvs-update): Use $(CVS), not "cvs".Jim Meyering
2006-10-14* vc-list-files: Don't filter git-ls-files output through cut.Jim Meyering
2006-10-14Work also when the working directory (with e.g. coreutils sources)Jim Meyering
is version controlled with git, rather than CVS. * bootstrap (CVS_only_file): Test for the existence of README-cvs, rather than CVS. In messages and comments, say e.g., "checked-out sources", rather than "CVS sources". (version_controlled_file): New function. Work for git as well as for CVS. Don't use grep's -q option. (slurp): Call it here, in place of CVS-specific code.
2006-10-14* NEWS: cp -r --backup dir1 dir2, would rename an existing dir1/dir2Jim Meyering
to dir1/dir2~. * src/copy.c (copy_internal): Although we do create a backup of each destination directory when in move mode, don't do that when copying. Reported by Peter Breitenlohner, in <http://article.gmane.org/gmane.comp.gnu.core-utils.bugs/8616>. * tests/cp/backup-dir: New file. Test for the above.
2006-10-14*** empty log message ***Jim Meyering
2006-10-13More chown/chgrp dereferencing-related fixes.Jim Meyering
* src/chown-core.c (change_file_owner): Don't use fts_statp if we're dereferencing symlinks. Reverse conjuncts, so that we use dereference file_stats (aka ent->fts_statp) only *after* we've confirmed that chopt->affect_symlink_referent is true. Otherwise, we might use ent->fts_statp uninitialized. Don't turn on FTS_NOSTAT when dereferencing symlinks. * tests/chown/deref: Update the expected diagnostic, now that this test case (trying to use "chown --dereference ..." on a dangling symlink) takes a different code path.
2006-10-13Sync from Bison, as follows:Paul Eggert
2006-10-01 Paul Eggert <eggert@cs.ucla.edu> Fix problems with translating English-language diagnostics. * bootstrap: Fix bug introduced in recent bootstrap changes, with respect to bison-runtime pot generation. The YY_ stuff wasn't being captured.
2006-10-13* NEWS: Mention the above.Jim Meyering
2006-10-13* src/chown-core.c (change_file_owner): Use fstatat, not stat,Jim Meyering
now that we're using fts_open with FTS_CWDFD. * tests/chgrp/posix-H: Add --preserve-root to an invocation of chgrp, to exercise the above fix.
2006-10-13* src/du-tests: Clean up a little, though it's still not portable.Jim Meyering
2006-10-13* .vg-suppressions: Add 3 more for debian unstable.Jim Meyering
2006-10-13* tests/ls/Test.pm: Remove long-unused file.Jim Meyering
Suggestions from Bruno Haible.
2006-10-13* Makefile.am (EXTRA_DIST): Add bootstrap.conf.Jim Meyering
Suggestion from Bruno Haible.
2006-10-12* Makefile.am (libcoreutils_a_LIBADD): Append $(LIBOBJS),Jim Meyering
to accommodate the latest version of gnulib-tool. (libcoreutils_a_DEPENDENCIES): Likewise. From Bruno Haible.
2006-10-12* Makefile.am (THANKS-to-translators): Add missing $(srcdir).Jim Meyering
(MAINTAINERCLEANFILES): Add .kludge-stamp. * man/Makefile.am (MAINTAINERCLEANFILES): Typo $(dist_man_MANS) instead of $(man_MANS). 2006-10-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2006-10-12* configure.ac: Avoid compiler warnings about default returnJim Meyering
type in function definitions and unused variables in tests. * src/who.c (print_user) [HAVE_UT_HOST]: hostlen is only needed if this is #defined.
2006-10-12[ChangeLog]Jim Meyering
* configure.ac: Reflect s/gl_MACROS/coreutils_MACROS/ renaming. Call gl_INIT directly, rather than through the above. [m4/ChangeLog] * jm-macros.m4 (coreutils_MACROS): Rename from gl_MACROS, now that most of the gnulib macros have migrated into gnulib. Don't call gl_INIT here (now it's called from configure.ac, directly).
2006-10-11* bootstrap (symlink_to_gnulib): Fix bug: the dot_dots shellPaul Eggert
variable was sometimes used without being initialized. This messed up the installation of the INSTALL file in some cases.
2006-10-11*** empty log message ***Jim Meyering
2006-10-11* src/ls.c (usage): Correct description of -s, --size.Jim Meyering
It works even without -l. Suggestion from Karl Berry.
2006-10-10* src/ls.c (quote_name): Use initializer rather than memset toPaul Eggert
initialize an object to zero. This is easier to read and is less likely to introduce an runtime error due to a mixup. It causes gcc -W to issue a warning, but you can work around this by appending -Wno-missing-field-initializers. * src/pathchk.c (portable_chars_only): Likewise. * src/shred.c (main): Likewise. * src/stty.c (main): Likewise. * src/tr.c (card_of_complement): Likewise. * src/wc.c (wc): Likewise.
2006-10-09* src/sort.c (usage): Mention again that sort fields are origin 1.Paul Eggert
2006-10-09* NEWS: Fix typo: iso-8602 -> iso-8601. Problem reported byPaul Eggert
Bob Proulx.
2006-10-09* bootstrap (usage, main program, symlink_to_gnulib): Add optionPaul Eggert
--copy. Inspired by a suggestion from Bruno Haible.
2006-10-09Avoid a compiler warning.Jim Meyering
* src/pathchk.c (portable_chars_only): Initialize variable of type mbstate_t via memset, rather than via '{0}'. Patch from Bruno Haible.
2006-10-07* jm-macros.m4 (gl_MACROS): Remove use of AC_CONFIG_LIBOBJ_DIR(lib).Jim Meyering
It is no longer needed, and was causing dependencies to appear in lib/lib/.deps, which provoked a "make distcheck" failure.
2006-10-07Give credit to Lars Wendler.Paul Eggert
2006-10-07* src/install.c (make_ancestor): New arg COMPONENT.Paul Eggert
* src/mkdir.c (make_ancestor): Likewise. * tests/install/basic-1: Check for install -Dv bug.
2006-10-06Fix bug reported today by Mike Frysinger: mkdir -pv is logging thePaul Eggert
wrong file name in some cases. * src/install.c (struct install_options): New type. (install_file_in_file_parents, main): Use it instead of struct cp_options. (process_dir): Remember the full name. (announce_mkdir, make_ancestor): Use the full name in announcements. * src/mkdir.c (struct mkdir_options): Add full_name member. (make_ancestor): Use the full name in announcements. (process_dir): Remember the full name. * tests/mkdir/Makefile.am (TESTS): Add p-v. * tests/mkdir/p-v: New file, to test this bug.
2006-10-06Avoid a compiler warning: const'ify and remove a cast.Jim Meyering
* randread.c (struct randread_source) [handler]: Make parameter "const". [handler_arg]: Add "const" attribute. (randread_error): Make parameter "const". (simple_new, randread_set_handler, randread_set_handler_arg): Likewise. (randread_new): Remove now-unnecessary cast. * randread.h: Adjust prototypes.
2006-10-06* src/c99-to-c89.diff: Update to reflect new offsets.Jim Meyering
2006-10-05* src/chgrp.c: Don't include lchown.h; no longer needed.Paul Eggert
* src/chown.c: Likewise.
2006-10-05* tests/ls/stat-dtype: Use a dynamic test to decide whether thePaul Eggert
current file system has useful d_type info.
2006-10-05* src/dd.c (flags): noatime and nofollow now depend onPaul Eggert
HAVE_WORKING_O_NOATIME and HAVE_WORKING_O_NOFOLLOW, too. (usage): Output info about noatime and nofollow only if they are known to work. * src/remove.c (AD_push): Inspect HAVE_WORKING_O_NOFOLLOW rather than O_NOFOLLOW, when testing whether it's possible to avoid a race condition reliably.
2006-10-05* tests/install/basic-1: Skip the latter part of this test if theJim Meyering
just-built dd binary is not readable. Otherwise, this test would fail when binaries were created as root. Reported by Bauke Jan Douma in <http://article.gmane.org/gmane.comp.gnu.core-utils.bugs/8433>.
2006-10-03* src/system.h (ST_BLKSIZE): Ceiling at SIZE_MAX / 8 + 1, not at 4Paul Eggert
MiB, since XFS hosts can legitimately have large values of st_blksize. Problem reported by Tony Ernst in <http://savannah.gnu.org/bugs/?17903>.
2006-10-03* NEWS: Update here, too.Jim Meyering
2006-10-03* src/remove.c (nonexistent_file_errno): Remove ENAMETOOLONG.Jim Meyering
Paul Eggert pointed out that the specified file may exist, in spite of such an errno value. * tests/rm/Makefile.am (TESTS): Remove ignore-name-too-long. * tests/rm/ignore-name-too-long: Remove file.
2006-10-03* tests/rm/fail-eperm: Report failure also if rm is terminated byJim Meyering
a signal.
2006-10-03* src/c99-to-c89.diff: Convert two c99'isms -- one in remove.cJim Meyering
and one in shred.c -- that were added before coreutils-6.3. Reported by Michael Deutschmann.
2006-10-03* src/c99-to-c89.diff: Update to reflect new offsets.Jim Meyering
2006-10-03* src/remove.c (remove_entry): With -f, exit successfully in spiteJim Meyering
of a missing file under some very unusual conditions (with errno being any of ENOENT, ENOTDIR, ENAMETOOLONG).
2006-10-03With --force (-f), rm no longer fails for ENOTDIR.Jim Meyering
* src/remove.c (ignorable_missing): New function. Use it everywhere, rather than open-coding the test. Andreas Schwab reported the ENOTDIR problem. (ignorable_missing): Similarly, don't fail for ENAMETOOLONG. * NEWS: Mention the bug fix. * tests/rm/ignorable: New file. Test for the ENOTDIR case. * tests/rm/ignore-name-too-long: New file. Test for ENAMETOOLONG. * tests/rm/Makefile.am (TESTS): Add the new file names.
2006-10-02* NEWS: Add a line for 6.4-cvs.Jim Meyering
* configure.ac (AC_INIT): Bump to 6.4 and add "-cvs" suffix.
2006-10-02* bootstrap: Undo last change to this file, since now gnulib-toolJim Meyering
sticks with the automake default in generating dependencies.
2006-09-30.Jim Meyering
2006-09-30Version 6.3.Jim Meyering
* NEWS: Record the 6.3 release date. * configure.ac (AC_INIT): Remove "-cvs" suffix from version string. * NEWS: Mention Paul's Solaris 8 vs. 10 work-around.
2006-09-30* src/c99-to-c89.diff: Update offsets.Jim Meyering
2006-09-30* .cvsignore: Add openat-proc.c.Paul Eggert