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