1 2008-07-05 Bruce Korb <bkorb@gnu.org>
3 * src/sort.c: implement version number sort
4 (compare_version): new procedure to do it.
5 * tests/misc/sort-version: new test file
6 * tests/Makefile.am: add it to the list
8 2008-02-07 Jim Meyering <meyering@redhat.com>
10 We *do* need two different version files.
11 One for tarball-only, the other to be updated any time we
12 get a new value of $(VERSION).
13 * Makefile.am (dist-hook): Create .tarball-version in dist tarball.
14 * GNUmakefile (_curr-ver): Make git-version-gen use it.
15 * .gitignore: Ignore it.
17 Fix a typo in description of size suffixes: s/GB/G/.
18 * doc/coreutils.texi (od invocation, head invocation, tail invocation):
19 Spotted by Bert Wesarg.
21 * NEWS [6.9.90]: Mention the added feature that head, od, split and
22 tail now accept the standard size suffixes (kB, M, MB, G, GB, and
23 so on for T, P, Y, Z, and Y) on arguments to selected options.
25 2008-02-06 Steven Schubiger <schubiger@gmail.com>
27 mkdir, split: write --verbose output to stdout, not stderr.
28 * src/mkdir.c (verbose_output): New function.
29 (announce_mkdir): Use it.
30 * src/split.c (usage): Update.
31 * src/split.c (cwrite): Write to stdout, not stderr.
32 * doc/coreutils.texi (split invocation): Remove the mention
33 of --verbose output being printed to stderr.
34 * tests/mkdir/p-v: Redirect stdout, not stderr.
35 * tests/misc/split-a: Likewise.
36 * NEWS: Mention this change.
37 * TODO: Remove this item.
39 2008-02-04 Jim Meyering <meyering@redhat.com>
41 * Makefile.maint (announcement): Remove stale comment.
43 2008-02-02 Jim Meyering <meyering@redhat.com>
46 * tests/sort/Test.pm: Replace a vague ChangeLog reference with a URL.
48 2008-01-31 Bob Proulx <bob@proulx.com>
50 Improve wording of date and time man page.
51 * man/date.x: Improve compact description of the --date=STRING.
52 * man/touch.x: Likewise.
53 Suggested by A. Costa.
55 2008-01-31 Jim Meyering <meyering@redhat.com>
57 Remove alignment constraint from the sha*_read_ctx functions.
58 * lib/sha256.c (set_uint32): New function.
59 (sha256_read_ctx, sha224_read_ctx): Use it.
60 * lib/sha512.c (set_uint64): New function.
61 (sha512_read_ctx, sha384_read_ctx): Use it.
62 * lib/sha256.h: Remove warning about alignment constraint.
63 * lib/sha512.h: Likewise.
64 Prompted by similar changes in gnulib's sha1 and md[45] modules.
66 Adapt to new version of vc-list-files.
67 * tests/check.mk (vc_exe_in_TESTS): Adapt to new constraint
68 that vc-list-files be run only from $(top_srcdir).
70 Pull vc-list-files from gnulib.
71 * bootstrap.conf (gnulib_modules): Add vc-list-files.
72 * build-aux/vc-list-files: Remove file.
74 Improve the cp/parent-perm test.
75 * tests/cp/parent-perm: Also check that perms of existing dest
76 dirs are changed to match those of corresponding src dir
78 2008-01-30 Paul Eggert <eggert@cs.ucla.edu>
80 Don't modify argv in dd due to ',' in arguments.
81 * src/dd.c: Include quotearg.h.
82 (operand_matches): New function.
83 (parse_symbols, operand_is): Use it.
84 (parse_symbols): 1st arg is now const pointer. Don't modify it.
85 msgid arg is now just the message, not a format.
86 (scanargs): Add some 'const's to check for problems like the above.
88 2008-01-30 Jim Meyering <meyering@redhat.com>
90 * src/c99-to-c89.diff: Adjust remove.c offsets, again.
92 Now that system.h defines is_empty_dir, include "openat.h".
93 * src/system.h: Include "openat.h" here, ...
94 * src/chcon.c: ... not here.
95 * src/chmod.c: Likewise.
96 * src/chown-core.c: Likewise.
97 * src/remove.c: Likewise.
99 * src/c99-to-c89.diff: Adjust remove.c offsets.
101 Improve "rmdir --ignore-fail-on-non-empty"
102 * src/rmdir.c (remove_parents, main): With --ignore-fail-on-non-empty,
103 suppress a diagnostic also for other errno values, which can arise
104 with read-only media or when the parent directory has the immutable
105 attribute (set via chattr +i).
106 (errno_may_be_empty, ignorable_failure): New functions.
107 * src/remove.c (is_empty_dir): Move function to ...
108 * src/system.h (is_empty_dir): ...here, and make it inline.
109 Suggested by Josselin Mouette in <http://bugs.debian.org/363011>
111 * NEWS: Mention the improvement.
113 2008-01-29 Paul Eggert <eggert@cs.ucla.edu>
115 Don't modify argv in dd.
116 * src/dd.c (operand_is): New function.
117 (scanargs): Use it so that we don't need to modify argv, as a nicety.
118 Problem reported by Adam Goode in
119 <http://lists.gnu.org/archive/html/bug-coreutils/2008-01/msg00264.html>.
121 2008-01-29 Jim Meyering <meyering@redhat.com>
123 * Makefile.am (BUILT_SOURCES): Ensure that .version exists.
124 Reported by Bob Proulx.
126 2008-01-29 Bob Proulx <bob@proulx.com>
128 Improve the man pages of --date=STRING for 'date' and 'touch'.
129 * man/date.x: Add a compact description of the --date=STRING.
130 * man/touch.x: Likewise.
131 Reported by A. Costa in http://bugs.debian.org/363011
133 2008-01-29 Michael Stone <mstone@debian.org>
135 Improve the description of when dd outputs its final statistics.
136 * doc/coreutils.texi (dd invocation): Say that dd prints stats
137 upon normal termination and upon SIGINT.
139 2008-01-29 Jim Meyering <meyering@redhat.com>
141 Avoid "make distcheck" failure: newly-created man/*.1 files not removed
142 * Makefile.am (EXTRA_DIST): Add .version.
143 (.version): New rule.
144 (dist-hook): Don't create $(distdir)/.version here, now that it's
146 * man/Makefile.am (common_dep): Use ../.version, not ../VERSION.
147 (../VERSION): Remove rule.
148 * GNUmakefile (dummy): Create .version, not VERSION.
149 Add an extra "...:= $(shell..." statement to ensure that
150 .version exists even when the preceding code is not run.
151 * .gitignore: Remove both .version and VERSION.
153 ls: don't segfault on files in /proc with an old libselinux
154 * src/ls.c (gobble_file): Work around a bug in libselinux1-2.0.15
155 whereby getfilecon returns 0 yet sets the context to NULL.
156 Reported by Jan Moringen via Michael Stone in
157 http://bugs.debian.org/463043
158 * tests/ls/Makefile.am (TESTS): Add proc-selinux-segfault.
159 * tests/ls/proc-selinux-segfault: Test for the above fix.
160 * NEWS: Mention the fix.
162 2008-01-26 Jim Meyering <meyering@redhat.com>
164 Work around Darwin9's set-GID-like group ownership inheritance.
165 This avoids another spurious Mac OS 10.5.1 (Darwin 9.1) test failure.
166 * tests/cp/preserve-gid: Accept a group ID of 0, as well.
167 Reported by Elias Pipping.
169 Emit "info coreutils 'PROG invocation'" into the man page,
170 rather than just "info PROG". The latter would often fail
171 or simply display the man page.
172 * man/help2man: Change the template.
173 Prompted by http://bugs.debian.org/399684
175 chcon: correct description of --no-dereference (-h) option.
176 * src/chcon.c (usage): Remove invalid reference to lchown.
177 Reported by Göran Uddeborg.
179 Ensure that each version string change propagates to man pages.
180 * man/Makefile.am (common_dep): Don't depend on configure.ac for
181 version changes. Instead, depend on ../VERSION.
182 (../VERSION): New rule.
183 * Makefile.am (DISTCLEANFILES): Define.
184 * GNUmakefile: Update ./VERSION.
185 * .gitignore: List VERSION.
186 Reported by Sven Joachim.
188 Avoid cp/preserve-gid test failure on Mac OS 10.5.1 (Darwin 9.1)
189 * tests/cp/preserve-gid: Set group as well as owner on ".".
190 Reported by Elias Pipping.
192 Improve a warning about non-portable "mv" usage.
193 * doc/coreutils.texi (mv invocation): Adjust the warning: moving a
194 dir-symlink-specified-with-a-trailing-slash works in a surprising
195 manner only on some systems. Reported by Tomas Pospisek in
196 http://bugs.debian.org/343652.
198 2008-01-26 Mike Frysinger <vapier@gentoo.org>
200 * src/dircolors.hin (TERM): Add jfbterm.
202 2008-01-23 Jim Meyering <meyering@redhat.com>
204 Clean up build-related rules.
205 * Makefile.cfg (gnulib_dir): Update comment.
206 * Makefile.maint (announcement) [cl_date, utc_date]: Don't set
207 now-unused variables.
209 * TODO: Update the note on getgrouplist.
211 2008-01-23 Zvi Har'El <rl@math.technion.ac.il>
213 Add a ";", so "make install" works with --enable-install-program=su.
214 * src/Makefile.am (install_su): Add a semicolon. (tiny change)
216 2008-01-23 Jim Meyering <meyering@redhat.com>
218 Avoid misinterpreting mgetgroups failure in running root-only tests.
219 * src/setuidgid.c (main): Don't misinterpret as size_t an error
220 return from mgetgroups. Reported by Theodoros V. Kalamatianos.
222 * README: Remove/convert a few stray mentions of CVS.
224 2008-01-22 Jim Meyering <meyering@redhat.com>
226 Require automake-1.10.1, for its support of dist-lzma.
227 * configure.ac (AM_INIT_AUTOMAKE): Require 1.10.1.
231 * NEWS: Record release date.
233 * README-hacking: Update to reflect existence of automake-1.10.1.
235 2008-01-18 Jim Meyering <meyering@redhat.com>
238 * README: Remove a note about failing tests on SunOS 4.
239 On Mac OS 10.5.1 (Darwin 9.1), you'll need --disable-acl.
240 (Running tests as root): Recommend using "check-root", not "check".
242 2008-01-17 Jim Meyering <meyering@redhat.com>
244 Do not define-away __attribute__ when __STRICT_ANSI__ is set.
245 * src/system.h (__attribute__): Remove the __STRICT_ANSI__ disjunct.
246 It has been unnecessary since approximately gcc-2.6, and now, leaving
247 it would cause gcc -Werror -ansi to fail to compile csplit.c.
248 * gl/lib/randread.c (__attribute__): Likewise.
250 2008-01-16 Jim Meyering <meyering@redhat.com>
252 * NEWS: Mention the configure.ac fix.
254 * TODO: Add an introduction.
255 Remove a few entries. Update a few others.
257 2008-01-13 Jim Meyering <meyering@redhat.com>
259 Remove each output redirection target before writing to it.
260 * tests/check.mk (vc_exe_in_TESTS): Remove t1 and t2 _first_,
261 in case they exist beforehand and are not writable.
262 * build-aux/check.mk (am__check_pre): Likewise, remove $@-t.
264 2008-01-13 Elias Pipping <pipping@gentoo.org>
266 * configure.ac: Correct a non-portable use of sed.
268 2008-01-12 Mike Frysinger <vapier@gentoo.org>
270 * src/dircolors.hin (image formats): Add the .svg suffix.
272 2008-01-12 Jim Meyering <meyering@redhat.com>
274 Use new version of announce-gen.
275 * Makefile.maint (announcement): Remove use of the
276 --gnulib-snapshot-time-stamp option.
277 Use new --gnulib-version option instead.
278 (gnulib-version): New variable.
280 2008-01-11 Jim Meyering <meyering@redhat.com>
284 * tests/tr/Test.pm: Prefer en_US.ISO-8859-1 to en_US.iso88591.
285 Suggestions from James Youngman and Pádraig Brady in
286 http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/12218/focus=12227
288 2008-01-10 Jim Meyering <meyering@redhat.com>
290 * README-hacking: Add Git to the list of required tools.
292 2008-01-08 Paul Eggert <eggert@cs.ucla.edu>
294 Fix a minor race condition when using cp -p --parents.
295 * src/cp.c (make_dir_parents_private): If stat fails on the parent
296 directory, do not add it to the list of directories whose modes
297 might need fixing later. Also, do not bother invoking 'stat'
298 unless the stat results might be needed later.
300 2008-01-08 Jim Meyering <meyering@redhat.com>
302 parent-perm: avoid a bizarre test failure.
303 * tests/cp/parent-perm: Accommodate the situation in which
304 chmod ("dir", 02755) returns 0 yet fails to set the S_ISGID bit.
306 Remove uses of now-undefined Makefile variable.
307 * src/Makefile.am (dir_LDADD, ls_LDADD, vdir_LDADD): Remove uses
308 of no-longer-defined variable, $(LIB_ACL_TRIVIAL).
310 2008-01-07 Jim Meyering <meyering@redhat.com>
312 cp (but not copy.c): plug a small leak.
313 * src/cp.c (do_copy) [--parents]: Free the attribute list.
315 Make a racy test failure less likely to happen.
316 * tests/misc/tty-eof: Uncomment a debug "warn".
317 This change happens to make this test far less likely to fail.
318 With that statement commented out, this test would fail about
319 20% of the time on my desktop. Now, it's gone 100 iterations
320 in a row with no failure.
322 * NEWS: Mention the cp bug fix.
324 2008-01-07 Jan Blunck <jblunck@suse.de>
326 cp --parents: don't use uninitialized memory when restoring permissions
327 * src/cp.c (make_dir_parents_private): Always stat each source
328 directory, in case its permissions are required in re_protect,
329 when setting permissions of a just-created destination directory.
331 2008-01-07 Jim Meyering <meyering@redhat.com>
333 cp: add a test for today's bug fix.
334 * tests/cp/parent-perm: New script. Test today's change.
335 Based on reproducer from Jan Blunck.
336 * tests/cp/Makefile.am (TESTS): Add parent-perm.
338 2008-01-06 Jim Meyering <meyering@redhat.com>
340 touch: add a test for today's change.
341 * tests/touch/now-owned-by-other: New script. Test today's change.
342 * tests/touch/Makefile.am (TESTS): Add now-owned-by-other.
343 * tests/Makefile.am (all_t): Add td, a new root-only test.
345 * NEWS: Mention the improvement.
347 2008-01-06 Paul Eggert <eggert@cs.ucla.edu>
349 touch: ignore "-d now" option, when appropriate
350 * src/touch.c (main): Treat "-d now" as if it were absent, if
351 neither -a nor -m is specified. Problem reported by Dan Jacobson in:
352 http://lists.gnu.org/archive/html/bug-coreutils/2008-01/msg00010.html
354 2008-01-05 Jim Meyering <meyering@redhat.com>
356 Avoid tr case-conversion failure in some locales.
357 * src/tr.c (skip_construct): New function.
358 (main): When processing a pair of case-converting classes, don't
359 iterate through the elements of each [:upper:] or [:lower:] class.
360 Reported by Gerald Pfeifer in
361 <http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/12218>.
362 * tests/tr/Test.pm [tolower-F]: New test for the above fix.
363 [upcase-xtra, dncase-xtra]: New tests, for a related code path.
364 * NEWS: Mention the tr bug fix.
366 2008-01-02 Jim Meyering <jim@meyering.net>
368 * .gitignore: Ignore lzma-compressed files, too.
370 Update copyright date.
371 * tests/sample-test: Likewise.
372 * doc/coreutils.texi: Likewise.
377 Copyright (C) 2008 Free Software Foundation, Inc.
379 Copying and distribution of this file, with or without
380 modification, are permitted provided the copyright notice
381 and this notice are preserved.