summaryrefslogtreecommitdiff
path: root/ChangeLog
AgeCommit message (Collapse)Author
2006-12-14* NEWS: Mention the chmod fix induced by the recent change to gnulib's ↵Jim Meyering
openat.m4.
2006-12-13Don't fail if mv/acl test succeeds.Andreas Schwab
* tests/mv/acl (skip): Check for acl support in the file system. * tests/mv/Makefile.am (XFAIL_TESTS): Remove. (TESTS_ENVIRONMENT): Pass CONFIG_HEADER. Signed-off-by: Jim Meyering <jim@meyering.net>
2006-12-13Remove some arbitrary restrictions on size fields,Paul Eggert
so that commands like "sort -k 18446744073709551616" no longer fail merely because 18446744073709551616 doesn't fit in uintmax_t. The trick is that these fields can all be treated as effectively infinity; their exact values don't matter, since no internal buffer can be that long. * src/join.c (string_to_join_field): Verify that SIZE_MAX <= ULONG_MAX if the code assumes this. Silently truncate too-large values to SIZE_MAX, as the remaining code will do the right thing in this case. * src/sort.c (parse_field_count): Likewise. * src/uniq.c (size_opt, main): Likewise. * tests/join/Test.pm (bigfield): New test. * tests/sort/Test.pm (bigfield): New test. * tests/uniq/Test.pm (121): New test. Signed-off-by: Jim Meyering <jim@meyering.net>
2006-12-13* tests/chgrp/default-no-deref: New test.Jim Meyering
* tests/chgrp/Makefile.am (TESTS): Add default-no-deref.
2006-12-12* src/system.h (SETVBUF): Remove definition, now that theJim Meyering
autoconf macro, AC_FUNC_SETVBUF_REVERSED, does nothing. * src/tee.c (tee_files): s/SETVBUF/setvbuf/. * src/od.c (open_next_file): Likewise.
2006-12-09* man/Makefile.am (.x.1): Make help2man use $(PACKAGE_STRING) as theJim Meyering
"source". I.e. "GNU coreutils 6.7".
2006-12-09* NEWS: With the change from "-pre" to "-dirty" suffix, also changeJim Meyering
from NEXT_VER-pre to CUR_VER-dirty. So, this is 6.7-dirty. * configure.ac (AC_INIT): s/6.8-dirty/6.7-dirty/.
2006-12-09* tests/uniq/Test.pm (test_vector): Skip the pipe-reading testJim Meyering
whenever uniq is expected to fail. This should catch the other case [test #112] in which uniq emits "cat: write error: Broken pipe" on some systems.
2006-12-08Include bootstrap tool version info in the announcement form.Jim Meyering
* Makefile.maint (gnulib_snapshot_date): Define. (announcement): Use two new announce-gen options, --bootstrap-tools and --gnulib-snapshot-date. * Makefile.cfg (gnulib_dir): Set.
2006-12-08Post-release version change.Jim Meyering
* NEWS: Add a line for 6.8-dirty. * configure.ac (AC_INIT): Set new version string.
2006-12-08Version 6.7.Jim Meyering
* NEWS: Record release date. Remove '-pre' suffix. * configure.ac (AC_INIT): Remove version string suffix.
2006-12-07* tests/touch/empty-file: Use envvar-check, so "make check" doesn'tJim Meyering
evoke diagnostics like this when COLUMNS=0 in the environment: ls: ignoring invalid width in environment variable COLUMNS: 0 * tests/touch/no-rights: Likewise. * tests/help-version: Likewise.
2006-12-07Make the output of "make check" more reproducible.Jim Meyering
* tests/uniq/Test.pm: Don't perform the pipe-reading version of test 118, since it emits "cat: write error: Broken pipe" on some systems.
2006-12-07cp -p now clears special bits if it fails to preserve owner or groupPaul Eggert
* NEWS: Document the cp -p fix for special bits. * src/copy.c (set_owner): Now returns a three-way result, so that the caller can clear the special bits. All callers changed. (copy_reg): Don't set the special bits if chown failed. (copy_internal): Likewise. * tests/cp/special-bits: Test this fix. Signed-off-by: Jim Meyering <jim@meyering.net>
2006-12-06* NEWS: Document the cp --preserve=ownership fix.Paul Eggert
* m4/jm-macros.m4 (coreutils_MACROS): Check for fchmod. * src/copy.c (fchmod_or_lchmod): New function. (copy_reg): New arg OMITTED_PERMISSIONS. All uses changed. Omit confusing and unused ", dst_mode" arg to 'open' without O_CREAT. When creating a file, use O_EXCL, so we're more likely to detect funny business by other processes. At the end, if permissions were omitted, chmod them back in. (copy_internal): If the ownership might change, omit some permissions at first, then restore them after chowning the file. * src/cp.c (make_dir_parents_private): Likewise. * src/copy.c (cached_umask): New function. * src/copy.h (cached_umask): New decl.
2006-12-06Make the output of "make check" more reproducible.Jim Meyering
* tests/misc/date-sec: Don't emit any diagnostic about sleeping.
2006-12-04install.c: Preserve time stamps before changing owner or file mode bits,Paul Eggert
for consistency with other coreutils programs.
2006-12-03* tests/misc/date-sec: Output a fixed string.Jim Meyering
2006-12-03Add "Reported by"Jim Meyering
2006-12-03* NEWS: du --one-file-system (-x) would skip subdirectories of anyJim Meyering
directory listed as second or subsequent command line argument. * tests/du/one-file-system: New file. Test for today's fts.c fix. * tests/du/Makefile.am (TESTS): Add one-file-system.
2006-12-02* tests/du/basic: Generate 4KB file simply using printf, rather thanJim Meyering
seq+head. This avoids a spurious "Broken pipe" diagnostic from seq.
2006-11-28* tests/mv/no-target-dir: Detect a buggy rename syscall. If found,Jim Meyering
skip this test. This happens at least on ia64 linux-2.4.19 w/ext3. Reported by Matthew Woehlke.
2006-11-28* tests/mv/dir2dir: Also accept EBUSY.Jim Meyering
Reported by Matthew Woehlke.
2006-11-27* Makefile.maint (patch-check): Rewrite to diagnose failure.Jim Meyering
* src/c99-to-c89.diff: Adjust shred.c offsets.
2006-11-27Improve the check for departures from C89, and fix the departuresPaul Eggert
I found. * Makefile.maint (my-distcheck): Also check for C89 compatibility as best we can with GCC. * src/stat.c (PRINTF_OPTION): Omit comma before } in enum declaration; C89 doesn't allow this. * src/dcgen: Don't generate string literals longer than what C89 requires support for. * src/cut.c (usage): Don't use string literals longer than what C89 requires support for. * src/date.c (usage): Likewise. * src/dd.c (usage): Likewise. * src/du.c (usage): Likewise. * src/ls.c (usage): Likewise. * src/od.c (usage): Likewise. * src/readlink.c (usage): Likewise. * src/seq.c (usage): Likewise. * src/shred.c (usage): Likewise.
2006-11-27recognize new archive, audio, image formats; give audio files a separate colorMike Frysinger
* src/dircolors.hin: Add comments for common .sh and .csh scripts. Add .bz2, .tbz2, .tz, .rar, .ace, .zoo, .cpio, .7z, .rz as archive suffixes. Add .mng, .pcx, .m2v, .mkv, .ogm, .mp4, .m4v, .mp4v, .vob, .qt, .nuv, .wmv, .asf, .rm, .rmvb, .flc, .yuv as image formats. Add .aac, .au, .mid, .midi, .mka, .ra as audio suffixes. Change audio color to 00;36 to differentiate from image/video color.
2006-11-26* Makefile.maint (patch-check): Compile patched sources withJim Meyering
CFLAGS='-Wdeclaration-after-statement -Werror', to ensure that no violations remain.
2006-11-26* src/c99-to-c89.diff: Remove 3 bogus hunks.Jim Meyering
2006-11-26* src/remove.c (fd_to_subdirp): Remove unused parameter, ds.Jim Meyering
Update callers.
2006-11-26* src/c99-to-c89.diff: Adjust for changes in rm.c and in remove.c.Jim Meyering
2006-11-26* src/rm.c (main): Remove unnecessary (assuming C99) braces.Jim Meyering
2006-11-26Reflect that these are Paul's changes. I've divided them into separateJim Meyering
deltas. Signed-off-by: Paul Eggert <eggert@cs.ucla.edu>
2006-11-26Port parts of the code to C89 to minimize the need for c99-to-c89.diff,Paul Eggert
while trying to retain the readability of C99 as much as possible. * src/remove.c (close_preserve_errno): Remove. (fd_to_subdirp): Rewrite to avoid the need for decl after statement. Signed-off-by: Paul Eggert <eggert@cs.ucla.edu>
2006-11-26* src/remove.c (rm): Move cycle_check_init call into callee...Paul Eggert
Use an else clause in place of a "continue" statement. Signed-off-by: Paul Eggert <eggert@cs.ucla.edu>
2006-11-26* src/remove.c (AD_ensure_initialized): New function.Paul Eggert
after statement. Signed-off-by: Paul Eggert <eggert@cs.ucla.edu>
2006-11-26* src/remove.c (AD_pop_and_chdir): Return prev_dir rather than storing throughPaul Eggert
a pointer argument. All uses changed. Signed-off-by: Paul Eggert <eggert@cs.ucla.edu>
2006-11-26* src/remove.c (cache_stat_init): Return its argument, for convenience.Paul Eggert
Update the caller in remove_dir. Signed-off-by: Paul Eggert <eggert@cs.ucla.edu>
2006-11-26* src/remove.c (rm_1): Remove decl of local, fd_cwd.Paul Eggert
Replace each of two uses with literal AT_FDCWD. Signed-off-by: Paul Eggert <eggert@cs.ucla.edu>
2006-11-25* Makefile.am (EXTRA_DIST): Remove announce-gen from here, too.Jim Meyering
2006-11-24* tests/du/inacc-dest: Skip this test when running as root.Theodoros V. Kalamatianos
2006-11-23* announce-gen: Remove file. It's moving to gnulib.Jim Meyering
* bootstrap: Pull it from gnulib/build-aux instead. * Makefile.maint (announcement): Reflect move to ./build-aux.
2006-11-23* tests/du/deref-args: Use "printf %65536s x" to create a 64KB file,Jim Meyering
rather than a pipeline that would sometimes evoke a diagnostic like "seq: write error: Broken pipe".
2006-11-23* tests/help-version: Suppress dd transfer rate output.Jim Meyering
2006-11-23* configure.ac (AC_INIT): Bump to 6.7-pre, not 6.6-pre.Jim Meyering
2006-11-22* announce-gen (print_news_deltas): Fix silly, but harmless typo:Jim Meyering
change "(:?..." to "(?:..." in regexps.
2006-11-22Post-release version change.Jim Meyering
* NEWS: Add a line for 6.7-pre. * configure.ac (AC_INIT): Bump to 6.7 and add "-pre" suffix.
2006-11-22Version 6.6.Jim Meyering
* NEWS: Record release date. Remove "-pre" suffix. * configure.ac (AC_INIT): Remove "-pre" suffix from version string.
2006-11-22* Makefile.maint (announcement): Don't use now-removedJim Meyering
--release-archive-directory=... option.
2006-11-22* announce-gen: Remove unused --release-archive-directory option.Jim Meyering
(print_news_deltas): Accept new adjective, "Noteworthy", in addition to the old "Major". Match version numbers in NEWS using tighter regular expressions. (main): Require the --gpg-key-id=ID option.
2006-11-22* NEWS: Mention the three noteworthy changes, all fixed via gnulib.Jim Meyering