summaryrefslogtreecommitdiff
path: root/ChangeLog
AgeCommit message (Collapse)Author
2007-11-05Don't use GNU-sed-specific \< \> operators.Jim Meyering
* configure.ac (MAN): Transform ginstall.1 to install.1 using a loop, rather than sed with \<...\>. Problem reported by Bruno Haible. Andreas Schwab reminded me that \< and \> are not portable.
2007-11-05Get git-version-gen from gnulib.Jim Meyering
* build-aux/git-version-gen: Remove file. * build-aux/.gitignore: Add git-version-gen. * bootstrap.conf (gnulib_modules): Add git-version-gen.
2007-11-03git-version-gen: Sync from autoconf's version.Jim Meyering
* build-aux/git-version-gen: Run git-status
2007-11-03Sync copyright and scriptversion bits from gnulib.Jim Meyering
* build-aux/git-version-gen: No semantic change.
2007-11-03Change the first '-' to '.' in the snapshot version string,Jim Meyering
e.g., 6.9-377-08144 -> 6.9.377-08144 * build-aux/git-version-gen: ... and add comments.
2007-11-03seq: add another test for the %% bugJim Meyering
* tests/misc/seq (fmt-c): Test the other fixed case, too.
2007-11-03Fix bug with "seq 10.8 0.1 10.95", plus another bug with %% in format.Paul Eggert
* NEWS: Mention the %%-in-format bug fix. * src/seq.c (struct layout): New type. (long_double_format): New arg LAYOUT. Fill it in. Fix mishandling of %% in formats. (print_numbers): New arg LAYOUT. Don't convert LAST to output format when deciding whether to go slightly past LAST. Instead, convert X to output format and back. This fixes a bug reported by Andreas Schwab in <http://lists.gnu.org/archive/html/bug-coreutils/2007-10/msg00237.html> where "seq 10.8 0.1 10.95" would output 11.0 on platforms where 10.95 rounds to a value that prints as 11.0 when only one digit past the decimal point is asked for. (main): Compute layout, for benefit of print_numbers. * tests/misc/seq (float-3): Undo previous change, since the bug should be fixed now. (fmt-b): New test, for the %% bug.
2007-11-01tests/misc/printf-surprise: Correct sed transform.Jim Meyering
Reported by Bob Proulx.
2007-11-01Add example inspired by "make dist" running gzip and lzma in sequence.Jim Meyering
* doc/coreutils.texi (tee invocation): Show how to run tar just once, compressing the tee'd output streams in parallel.
2007-11-01Say that the first process substitution example is contrived.Jim Meyering
* doc/coreutils.texi (tee invocation): ... and show how to do it properly. Pointed out by James Antill.
2007-11-01Use mktemp, not mkdtemp, to create test directories.Jim Meyering
* tests/test-lib.sh: Use the mktemp binary we've just built, not the mkdtemp script. * tests/mkdtemp: Remove file. * tests/Makefile.am (EXTRA_DIST): Remove mkdtemp.
2007-11-01Adjust a seq subtest not to depend on the vagaries of floating point.Jim Meyering
* tests/misc/seq (float-3): Use 10.94 as the endpoint, not 10.95, since 10.95 was precisely in the middle of the interval, and with a %.1f format could map to either 10.9 or 11.0. Reported by Mike Frysinger
2007-11-01Make the new printf-surprise test more precise.Jim Meyering
* tests/test-lib.sh (require_ulimit_): New function. * tests/misc/printf-surprise: Use ulimit -v to trigger the fixed bug, and rather than checking printf's exit status (which would go wrong on FreeBSD 6.1, since their printf(3) function doesn't require lots of memory in this case) simply test whether it outputs the first 10 bytes.
2007-11-01Accommodate FreeBSD 6.1 hard-link-to-symlink differences.Jim Meyering
* tests/cp/same-file: Detect when linking to a symlink links to the target of the symlink (FreeBSD 6.1 does this, Linux does not), and skip the few tests that would otherwise fail. Redirect output of final comparison to stderr, since all stdout is already redirected.
2007-10-31Fix a "make distcheck" failure.Jim Meyering
* Makefile.maint (my-distcheck): Don't stub-out dirname, since build-aux/check.mk now uses it.
2007-10-31* bootstrap.conf (gnulib_modules): Add xprintf-posix.Jim Meyering
2007-10-30Avoid seq floating-point test failure on FreeBSD 6.1.Jim Meyering
* tests/misc/seq (float-4): Also accept -0.0.
2007-10-29Change a "make dist" diagnostic.Jim Meyering
* GNUmakefile: Don't imply that $(_curr-ver) is the new version string.
2007-10-29Improve color terminal escape usage.Bob Proulx
* build-aux/check.mk (am__tty_colors): Use 'tput' to deduce terminal color capabilities.
2007-10-29Don't try to colorize a dumb terminal.Jim Meyering
* build-aux/check.mk (am__tty_colors): Skip colors if $TERM is "dumb". Thanks to Bob Proulx.
2007-10-29Remove gnulib's printf-posix module, for now.Jim Meyering
* bootstrap.conf (gnulib_modules): It caused too many test failures.
2007-10-29Remove spurious semicolon after "else".Jim Meyering
* build-aux/check.mk (am__tty_colors): Fix syntax error.
2007-10-29Attribute suggestion for last change.Jim Meyering
2007-10-29If $TERM is empty, don't use colors. This helps the buildbot,Jim Meyering
since it produces its result in an environment with a tty, but we don't want color codes in that case. * build-aux/check.mk (am__tty_colors): Test for nonempty $TERM.
2007-10-29Always initialize terminal colorization string variables.Jim Meyering
* build-aux/check.mk (am__tty_colors): Always initialize red, grn, etc., In case they're defined in the environment.
2007-10-29Avoid test failure in non-srcdir build vs. the git tree.Jim Meyering
* tests/check.mk (vc_exe_in_TESTS): Run this test only in a srcdir build directory. Reported by Andreas Schwab.
2007-10-28Define ENOTSUP, not ENOSYS. Needed on OpenBSD 3.9.Jim Meyering
* gl/lib/se-context.in.h (ENOTSUP): Define if missing. * gl/lib/se-selinux.in.h: Likewise.
2007-10-28Define ENODATA, for FreeBSD 5.0 and 6.1.Jim Meyering
* src/system.h (ENODATA): Define, if missing.
2007-10-28Run autoreconf, not just autoconf, to avoid warnings.Jim Meyering
* GNUmakefile (dummy): Otherwise, we'd sometimes get a warning about autoconf version mismatch between what was used to generate aclocal.m4 and the currently-running autoconf.
2007-10-28Require gnulib's printf-posix module, to support Interix.Jim Meyering
* bootstrap.conf (gnulib_modules): Add printf-posix.
2007-10-28Help xgettext recognize more printf-style format strings.Jim Meyering
* bootstrap.conf (XGETTEXT_OPTIONS): Add directives for error, error_at_line, xasprintf, xfprintf and xprintf.
2007-10-27Adjust format string so msgfmt doesn't object.Jim Meyering
* src/df.c (main): Use "%s%s" (not %smsg) to print "msg" with or without a "Warning: " prefix. Reported by Clytie Siddall.
2007-10-27Clean up tests/Makefile.am.Jim Meyering
* tests/Makefile.am (EXTRA_DIST): Remove $(TESTS). No longer defined. (TESTS_ENVIRONMENT): Remove definition.
2007-10-27* build-aux/check.mk: Merge with latest from Akim.Jim Meyering
2007-10-27Add a test for the printf fix of 2007-10-21.Jim Meyering
* tests/misc/printf-surprise: New file. Test for 2007-10-21's fix. * tests/misc/Makefile.am (TESTS): Add printf-surprise.
2007-10-25Add attribution for the expr.c-vs-xgettext report.Jim Meyering
2007-10-25Remove vestiges of cvs-gnulib-checkout process. Now we use git.Jim Meyering
* bootstrap: Remove support for now-unnecessary option, --cvs-user, and envvars CVS_USER, CVS_RSH. 2007-10-24 Micah Cowan <micah@cowan.name>
2007-10-25Tell xgettext that "ARG1 % ARG2" is not a C format string.Micah Cowan
* src/expr.c (usage): Add a comment to override xgettext's default behavior, which would classify "ARG1 % ARG2" as a fprintf-style format string.
2007-10-24Avoid diagnostics from sha1sum when there is no cached checksum.Jim Meyering
* bootstrap (update_po_files): Skip the sha1sum check if the po.s1 file hasn't been created yet.
2007-10-24Get gnulib from the git repository, not from an obsolete cvs one.Jim Meyering
* bootstrap: Suggestion from Micah Cowan.
2007-10-24Doc improvements.Jim Meyering
* README-hacking: Prefer the no-hyphen variant of git commands, e.g., use "git pull" not "git-pull". Don't presume that the only way to read this document is via a prior git clone: provide instructions for cloning coreutils, too. * README-hacking: Add "cd automake" in build instructions. From Bob Proulx.
2007-10-24Don't fail part 2 of tests/rm/unreadable when run as root.Jim Meyering
* tests/rm/unreadable: With UID == 0, expect different results. Reported by Mike Frysinger.
2007-10-23* README-hacking: Refer to LZMA Utils <http://tukaani.org/lzma/>.Jim Meyering
2007-10-22* README-hacking: Describe how to build with LZMA.Paul Eggert
2007-10-22Remove git-version-gen's first parameter.Jim Meyering
* build-aux/git-version-gen: Add comments. Remove first command-line parameter. * configure.ac: Remove corresponding first argument. * GNUmakefile (_curr-ver): Likewise.
2007-10-21Attribute the printf bug report.Jim Meyering
2007-10-21* NEWS: Mention the printf fix.Jim Meyering
2007-10-21Reorder tests to run more basic ones earlier.Jim Meyering
* tests/misc/Makefile.am (TESTS): Reorder. * tests/Makefile.am (SUBDIRS): Reorder. Signed-off-by: Jim Meyering <meyering@redhat.com>
2007-10-21tr: do not reject an unmatched [:lower:] or [:upper:] in SET1.Jim Meyering
* NEWS: Mention this. * src/tr.c (get_next) [RE_CHAR_CLASS]: Don't skip the loop when processing [:lower:] and [:upper:]. (main): Require [:lower:] or [:upper:] in SET1 only when when one of those is specified in SET2. * tests/tr/Test.pm: Add tests for this fix. Reported by Per Starbäck. Signed-off-by: Jim Meyering <meyering@redhat.com>
2007-10-21* tests/misc/help-version: Add a comment.Jim Meyering
Signed-off-by: Jim Meyering <meyering@redhat.com>