<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/src, 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-14T09:39:14Z</updated>
<entry>
<title>bug#7213: [PATCH] sort: fix buffer overrun on 32-bit hosts when warning re obsolete keys</title>
<updated>2010-10-14T09:39:14Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2010-10-14T07:12:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=6b9ab1831f7b05883ed1797a5c71cf5c594b6124'/>
<id>urn:sha1:6b9ab1831f7b05883ed1797a5c71cf5c594b6124</id>
<content type='text'>
* src/sort.c (key_warnings): Local buffer should be of size
INT_BUFSIZE_BOUND (uintmax_t), not INT_BUFSIZE_BOUND (sword).
This bug was discovered by running 'make check' on a 32-bit
Solaris 8 sparc host, using Sun cc.  I saw several other instances
of invoking umaxtostr on a buffer declared to be of size
INT_BUFSIZE_BOUND (VAR), and these instances should at some point
be replaced by INT_BUFSIZE_BOUND (uintmax_t) too, as that's a
less error-prone style.
</content>
</entry>
<entry>
<title>install: avoid warning with Solaris 10 cc</title>
<updated>2010-10-14T05:41:21Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2010-10-14T03:44:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=c586bff1c0d36fc7b57c35fe7e5e8fbd00f83342'/>
<id>urn:sha1:c586bff1c0d36fc7b57c35fe7e5e8fbd00f83342</id>
<content type='text'>
* src/install.c (extra_mode): Don't assign ~S_IRWXUGO &amp; ~S_IFMT
to a mode_t variable, as the number might be too big to fit.
Solaris 10 cc warns about this, and the C standard says it
has undefined behavior.
</content>
</entry>
<entry>
<title>sort: fix unportable cast of unsigned char * -&gt; char *</title>
<updated>2010-10-14T05:41:13Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2010-10-14T03:35:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=34ef0a01f0e1d620dac17d35832449b6880641b0'/>
<id>urn:sha1:34ef0a01f0e1d620dac17d35832449b6880641b0</id>
<content type='text'>
* src/sort.c (fold_toupper): Change this back from char to
unsigned char, fixing a portability issue introduced in commit
59e2e55d0f154a388adc9bac37d2b45f2ba971f8 dated February 26, as the
C Standard doesn't let you convert from unsigned char * to char *
without a cast, and the (in theory more portable) style here is to
convert char values, not pointer values.
(getmonth): Convert char to unsigned char when needed for
comparison.
</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>build: complete the rename of get_date</title>
<updated>2010-10-05T18:12:30Z</updated>
<author>
<name>Eric Blake</name>
<email>eblake@redhat.com</email>
</author>
<published>2010-10-05T17:47:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=2f41f563d1b827bdc0ab87b6f2ef1cbd4e2decef'/>
<id>urn:sha1:2f41f563d1b827bdc0ab87b6f2ef1cbd4e2decef</id>
<content type='text'>
* gnulib: Update to latest.
* src/date.c (includes, batch_convert, main): Track rename.
* src/touch.c (includes, get_reldate): Likewise.
* doc/coreutils.texi (Top, Date input formats): Likewise.
* bootstrap.conf (gnulib_modules): Likewise.
* doc/Makefile.am (EXTRA_DIST): Likewise.
* doc/.gitignore: Likewise.
* bootstrap: Synchronize from upstream.
</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: adjust the printing of SELinux context</title>
<updated>2010-10-05T10:00:10Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2010-10-05T07:40:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=77063bf819f44bbae4dd057e75d23ee72c728a63'/>
<id>urn:sha1:77063bf819f44bbae4dd057e75d23ee72c728a63</id>
<content type='text'>
* src/stat.c (default_format): Don't print SELinux context
when in file system (-f) mode, as the context is associated
with the file, not the file system.
Fix logic inversion, so that in terse mode, %C is included
only when is_selinux_enabled and not vice versa.
</content>
</entry>
<entry>
<title>maint: suppress a bogus used-uninitialized warning in tr.c</title>
<updated>2010-10-03T18:42:41Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2010-10-01T09:07:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=5862b677f13e965a29a7099b83e2f4f598d3b2a7'/>
<id>urn:sha1:5862b677f13e965a29a7099b83e2f4f598d3b2a7</id>
<content type='text'>
* src/tr.c (string2_extend): Insert an abort call to tell
gcc that char_to_repeat is not used uninitialized.
</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>
</feed>
