<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/NEWS, branch v8.6</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v8.6</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v8.6'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2010-10-15T14:50:15Z</updated>
<entry>
<title>version 8.6</title>
<updated>2010-10-15T14:50:15Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2010-10-15T14:50:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=7612e5c5c6dcf41a04f53f52a35bbf6eb2c90b1b'/>
<id>urn:sha1:7612e5c5c6dcf41a04f53f52a35bbf6eb2c90b1b</id>
<content type='text'>
* NEWS: Record release date.
</content>
</entry>
<entry>
<title>tail: fix checking of currently unavailable directories</title>
<updated>2010-10-12T10:41:17Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2010-10-12T00:39:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=61b77891c2d9af299063850a0c4d1d721340cfff'/>
<id>urn:sha1:61b77891c2d9af299063850a0c4d1d721340cfff</id>
<content type='text'>
* src/tail.c (tail_forever_inotify): Handle the case where
tail --follow=name with inotify, is not able to add a watch on
a specified directory.  This may happen due to inotify resource
limits or if the directory is currently missing or inaccessible.
In all these cases, revert to polling which will try to reopen
the file later.  Note inotify returns ENOSPC when it runs out
of resources, and instead we report a particular error message,
lest users think one of their file systems is full.
(main): Document another caveat with using inotify, where we
currently don't recheck directories recreated after the
initial watch is setup.
* tests/tail-2/F-vs-rename: Fix the endless loop triggered by
the above issue.
* tests/tail-2/inotify-hash-abuse: Likewise.
* tests/tail-2/wait: Don't fail in the resource exhaustion case.
* tests/tail-2/F-vs-missing: A new test for this failure mode
which was until now just triggered on older buggy linux kernels
which returned ENOSPC constantly from inotify_add_watch().
* NEWS: Mention the fix.
</content>
</entry>
<entry>
<title>split: fix reporting of read errors</title>
<updated>2010-10-07T19:08:16Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2010-10-07T12:12:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=758916b49e69836fcbd1e861e19edfced44e28ea'/>
<id>urn:sha1:758916b49e69836fcbd1e861e19edfced44e28ea</id>
<content type='text'>
The bug was introduced with commit 23f6d41f, 19-02-2003.

* src/split.c (bytes_split, lines_split, line_bytes_split):
Correctly check the return from full_read().
* tests/misc/split-fail: Ensure split fails when
it can't read its input.
* NEWS: Mention the fix.
</content>
</entry>
<entry>
<title>stat: drop %C support when printing file system details</title>
<updated>2010-10-05T15:07:58Z</updated>
<author>
<name>Eric Blake</name>
<email>eblake@redhat.com</email>
</author>
<published>2010-10-05T15:02:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=b7459696dca96015688e82c81eaefad756b63ddc'/>
<id>urn:sha1:b7459696dca96015688e82c81eaefad756b63ddc</id>
<content type='text'>
* src/stat.c (print_statfs, usage): Drop %C, since it applies to
files, not file systems.
(out_file_context): Match style of other out_* functions.
(print_stat): Update caller.
* doc/coreutils.texi (stat invocation): Document %C.
* NEWS: Document the change.
</content>
</entry>
<entry>
<title>stat: print SELinux context when available</title>
<updated>2010-10-01T21:27:27Z</updated>
<author>
<name>Eric Blake</name>
<email>eblake@redhat.com</email>
</author>
<published>2010-10-01T17:54:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=7a5ecae996a6a18ee9bdaf0ad50782247c53ec7b'/>
<id>urn:sha1:7a5ecae996a6a18ee9bdaf0ad50782247c53ec7b</id>
<content type='text'>
* src/stat.c (default_format): Include context when present.
* NEWS: Update blurb explaining the replacement for -Z.
</content>
</entry>
<entry>
<title>stat: optimize and translate default format strings</title>
<updated>2010-10-01T21:24:39Z</updated>
<author>
<name>Eric Blake</name>
<email>eblake@redhat.com</email>
</author>
<published>2010-10-01T17:44:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=2c14ec962a46ae53d39149112ae6902ed771d497'/>
<id>urn:sha1:2c14ec962a46ae53d39149112ae6902ed771d497</id>
<content type='text'>
Yes, this patch intentionally leaks the results of default_format(),
since it is called only twice, and since the results are in scope
until main() exits.  Not worth the extra code to pacify valgrind.

* src/stat.c (main): Hoist default format computation out of loop.
(do_statfs, do_stat): Move default format generation...
(default_format): ...into new function.  Allocate the result in
pieces, rather than repeating mostly-similar chunks.  Allow
translation of verbose format.  Pass a second format to do_stat,
for the one aspect of the default format that is conditional on
file type.
* NEWS: Document the translation aspect.
</content>
</entry>
<entry>
<title>stat: print timestamps to full resolution</title>
<updated>2010-10-01T16:43:41Z</updated>
<author>
<name>Eric Blake</name>
<email>eblake@redhat.com</email>
</author>
<published>2010-09-30T22:42:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=9069af45e691d1252c727da66aa4f3f3c7f1ea29'/>
<id>urn:sha1:9069af45e691d1252c727da66aa4f3f3c7f1ea29</id>
<content type='text'>
* src/stat.c (epoch_time): New function.
(print_stat): Use it for %[WXYZ].
* NEWS: Document this.
* tests/touch/60-seconds: Adjust test to match.
* tests/misc/stat-birthtime: Likewise.
</content>
</entry>
<entry>
<title>stat: support printing birthtime</title>
<updated>2010-10-01T16:43:25Z</updated>
<author>
<name>Eric Blake</name>
<email>eblake@redhat.com</email>
</author>
<published>2010-09-30T22:31:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=abe5c1f9bc09753fd79e7a121c8ecfa917dfaddb'/>
<id>urn:sha1:abe5c1f9bc09753fd79e7a121c8ecfa917dfaddb</id>
<content type='text'>
* src/stat.c (print_stat): New %w and %W formats.
(do_stat): Include %w in default format.
(usage): Document new specifiers.
* doc/coreutils.texi (stat invocation): Likewise.
* NEWS: Likewise.
</content>
</entry>
<entry>
<title>maint: mention the du-exclude--vs--cycle-dir fix</title>
<updated>2010-09-30T12:24:42Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2010-09-30T12:24:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=65b50c6cdd4a140a2974907423a1df1692b6d3ae'/>
<id>urn:sha1:65b50c6cdd4a140a2974907423a1df1692b6d3ae</id>
<content type='text'>
* NEWS (Bug fixes): Mention the du-exclude--vs--cycle-dir fix.
Reported by Graham Cobb in http://bugs.debian.org/598438,
that bug was fixed by the 2010-07-24 commit, 77428214f,
"du: tune, and fix some -L bugs with dangling or cyclic symlinks"
</content>
</entry>
<entry>
<title>tr: fix various issues with case conversion</title>
<updated>2010-09-29T10:05:12Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2010-09-27T06:16:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=3f48829c2939e53c7e961a42d0749765dc076279'/>
<id>urn:sha1:3f48829c2939e53c7e961a42d0749765dc076279</id>
<content type='text'>
This valid translation spec aborted:
  LC_ALL=en_US.iso-8859-1 tr '[:upper:]- ' '[:lower:]_'
This invalid translation spec aborted:
  LC_ALL=en_US.iso-8859-1 tr '[:upper:] '  '[:lower:]'
This was caused by commit 6efd1046, 05-01-2008,
"Avoid tr case-conversion failure in some locales"

This misaligned conversion spec was allowed:
  LC_ALL=C tr 'A-Y[:lower:]' 'a-z[:upper:]'
This was caused by commit af5d0c36, 21-10-2007,
"tr: do not reject an unmatched [:lower:] or [:upper:] in SET1"

This misaligned spec was allowed by extending the class:
  LC_ALL=C tr '[:upper:] ' '[:lower:]'

* src/tr.c (validate_case_classes): A new function to check
alignment of case conversion classes.  Also it adjusts the
length of the sets so that locales with different numbers of
upper and lower case characters, don't cause issues.
(string2_extend): Disallow extending the case conversion
class as in the above example.  That is locale dependent
and most likely not what the user wants.
(validate): Do the simple test for "restricted" char classes
earlier, so we don't redundantly do more expensive validation.
(main): Remove the case class validation, and simplify.
* tests/misc/tr-case-class: A new test to test the various
alignment and locale issues, associated with case conversion.
* tests/misc/tr: Move case conversion tests to new tr-case-class.
* tests/Makefile.am: Reference the new test.
* NEWS: Mention the fixes.
</content>
</entry>
</feed>
