<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils, branch v8.7</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v8.7</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v8.7'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2010-11-13T16:21:08Z</updated>
<entry>
<title>version 8.7</title>
<updated>2010-11-13T16:21:08Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2010-11-13T16:21:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=e143ba52c458bb724b6834119b1d68d3eacac1b9'/>
<id>urn:sha1:e143ba52c458bb724b6834119b1d68d3eacac1b9</id>
<content type='text'>
* NEWS: Record release date.
</content>
</entry>
<entry>
<title>build: update gnulib...</title>
<updated>2010-11-13T14:45:56Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2010-11-13T12:28:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=d2e0f3602ea3ffbe75267e5989afc04f673dfcea'/>
<id>urn:sha1:d2e0f3602ea3ffbe75267e5989afc04f673dfcea</id>
<content type='text'>
...to fix the failing update-copyright test,
and for the openat portability fix.
</content>
</entry>
<entry>
<title>build: update gnulib for linux 2.6.9 nanosleep workaround</title>
<updated>2010-11-13T10:41:02Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2010-11-13T09:12:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=2d5b3329a2c97a2fee4851d9551ee3d080106765'/>
<id>urn:sha1:2d5b3329a2c97a2fee4851d9551ee3d080106765</id>
<content type='text'>
Also, do the following to avoid "make syntax-check" failure
induced by new rules.
* .x-sc_bindtextdomain: Exempt files with an #ifdef'd "main".
* Makefile.am: Add this file.
</content>
</entry>
<entry>
<title>maint: remove fstimeprec (variable precision time stamp) support</title>
<updated>2010-11-13T10:41:02Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2010-11-13T07:04:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=ff5fc553f974513e27015faa414fca3603e928e7'/>
<id>urn:sha1:ff5fc553f974513e27015faa414fca3603e928e7</id>
<content type='text'>
The implementation of variable-precision time stamps relied
on heuristics that made the output subtly nondeterministic,
or at least hard to reproduce:
http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/21531/focus=21538
So, for now at least, we're removing that feature.
* bootstrap.conf (gnulib_modules): Remove fstimeprec.
* gl/lib/fstimeprec.c, gl/lib/fstimeprec.h: Remove files.
* gl/modules/fstimeprec, gl/modules/fstimeprec-tests: Likewise.
* gl/tests/test-fstimeprec.c: Remove file.
</content>
</entry>
<entry>
<title>stat: do not provide variable precision time stamps</title>
<updated>2010-11-13T10:40:52Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2010-11-13T07:02:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=4a8e9bf14c33b356680298d29f7321d82d4fde5d'/>
<id>urn:sha1:4a8e9bf14c33b356680298d29f7321d82d4fde5d</id>
<content type='text'>
* src/stat.c: Don't include fstimeprec.c.
(out_epoch_sec): Don't call fstimeprec.
* NEWS: Update description.
* doc/coreutils.texi: Likewise.
</content>
</entry>
<entry>
<title>csplit: do not rely on undefined behavior in printf formats</title>
<updated>2010-11-11T07:16:24Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2010-11-11T04:34:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=6568b173db1c98f39a53eadd9b09e0a0e5c11920'/>
<id>urn:sha1:6568b173db1c98f39a53eadd9b09e0a0e5c11920</id>
<content type='text'>
* doc/coreutils.texi (csplit invocation): Say that %d and %i are
aliases for %u.
* src/csplit.c (FLAG_THOUSANDS, FLAG_ALTERNATIVE): New constants.
(get_format_flags): Now take char const * and int * and return
size_t.  It now stores info about the flags instead of merely
scanning them.  Also, it handles '0' correctly.  Drop support for
the undocumented '+' and ' ' flags since the value is unsigned.
Add support for the (undocumented) "'" flag.  All uses changed.
(get_format_width, get_format_prec): Remove.
(check_format_conv_type): Renamed from get_format_conv_type, with
a different signature.  It now converts the format to one that is
compatible with unsigned int, and checks flags.  All uses changed.
(max_out): Have snprintf compute the number of bytes needed rather
than attempting to do it ourselves (which doesn't work portably
with outlandish formats such as %4294967296d).
(check_format_conv_type, main): Check for overflow in size
calculations.  Don't assume size_t fits in unsigned int.
* tests/misc/csplit: Check for proper handling of flags, with
%0#6.3x.  Coreutils 8.6 mishandles this somewhat-weird example.
</content>
</entry>
<entry>
<title>csplit: fix a memory leak per input buffer</title>
<updated>2010-11-11T01:40:12Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2010-11-10T14:35:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=0339eb4598600024cedca14a7e882c1737dd2d82'/>
<id>urn:sha1:0339eb4598600024cedca14a7e882c1737dd2d82</id>
<content type='text'>
* src/csplit.c (free_buffer): Also free the line offsets buffers
(remove_line): Also free the containing structure
* tests/misc/csplit-heap: A new test to trigger with leaks of
this magnitude.
* tests/Makefile.am: Reference the new test
* NEWS: Mention the fix
Reported by David Hofstee
</content>
</entry>
<entry>
<title>tests: fix comments and --version invocation in new test</title>
<updated>2010-11-10T21:08:05Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2010-11-10T20:54:57Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=7727908335ef1049deac42851026ed8bf5ae2734'/>
<id>urn:sha1:7727908335ef1049deac42851026ed8bf5ae2734</id>
<content type='text'>
* tests/misc/csplit-1000: Fix comments and --version invocation.
</content>
</entry>
<entry>
<title>csplit: avoid buffer overrun when writing more than 999 files</title>
<updated>2010-11-10T13:28:03Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2010-11-10T12:53:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=0cfd4f2161de5e942cbd7c273d03a90c1dfd2062'/>
<id>urn:sha1:0cfd4f2161de5e942cbd7c273d03a90c1dfd2062</id>
<content type='text'>
Without this fix, seq 1000 | csplit - /./ '{*}' would write
the NUL-terminated file name, xx1000, into a buffer of size 6.
* src/csplit.c (main): Use properly sized file name buffer.
* NEWS (Bug fixes): Mention it.
* tests/misc/csplit-1000: New test to trigger the bug.
* tests/Makefile.am (TESTS): Add misc/csplit-1000.
</content>
</entry>
<entry>
<title>tests: avoid portability problem with dash vs. symlinked ttys</title>
<updated>2010-11-09T12:43:20Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2010-11-09T12:43:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=425503c8073a17df5ace9bb9330ce283804b07e1'/>
<id>urn:sha1:425503c8073a17df5ace9bb9330ce283804b07e1</id>
<content type='text'>
* tests/mv/i-3: Adjust so that the symlink is resolved
before redirecting to the background command, as otherwise
the stdin descriptor passed to the command will fail the
isatty() or ttyname() test.
</content>
</entry>
</feed>
