<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils, branch v8.18</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v8.18</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v8.18'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2012-08-12T07:37:42Z</updated>
<entry>
<title>version 8.18</title>
<updated>2012-08-12T07:37:42Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2012-08-12T07:37:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=7e96482b4740b3750703f386f3c31740b0ab74cc'/>
<id>urn:sha1:7e96482b4740b3750703f386f3c31740b0ab74cc</id>
<content type='text'>
* NEWS: Record release date.
</content>
</entry>
<entry>
<title>tests: fix validation of local file systems</title>
<updated>2012-08-08T16:46:58Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2012-08-08T15:38:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=433de5ebbddce4c2179fa37296ca9b39400f99ed'/>
<id>urn:sha1:433de5ebbddce4c2179fa37296ca9b39400f99ed</id>
<content type='text'>
* tests/init.cfg (require_mount_list_): A new function
to ensure we can read the list of file systems.
(require_local_dir_): Call the above function, as otherwise
the check is invalid.
* tests/df/total-unprocessed: Ensure df can read the
list of mounted file systems so that --local can be honored.
</content>
</entry>
<entry>
<title>build: update gnulib submodule to latest</title>
<updated>2012-08-06T14:02:39Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2012-08-06T14:02:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=1bacb4bca688afa2a4756b954787dcf54d5e6e46'/>
<id>urn:sha1:1bacb4bca688afa2a4756b954787dcf54d5e6e46</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: printf-surprise: avoid unwarranted failure on FreeBSD 9.0</title>
<updated>2012-08-06T14:02:28Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2012-08-05T14:10:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=47583adceda8c9ad5f52805b7af3683179e0b4a6'/>
<id>urn:sha1:47583adceda8c9ad5f52805b7af3683179e0b4a6</id>
<content type='text'>
* tests/misc/printf-surprise: A VM size of 10,000KiB was too
little in which to run "env printf ..." on FreeBSD 9.0-p3.
Increase it to 15,000.
</content>
</entry>
<entry>
<title>build: avoid sort link failure on Solaris 10</title>
<updated>2012-08-05T08:05:13Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2012-08-05T08:05:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=f1b85e3ca7265b3ced70f573fcfe02ce0ed6e189'/>
<id>urn:sha1:f1b85e3ca7265b3ced70f573fcfe02ce0ed6e189</id>
<content type='text'>
* src/Makefile.am (sort_LDADD): Sort uses euidaccess, which may require
whatever library configure deemed necessary to resolve the eaccess
function, but no one told sort to link with that library.
(sort_LDADD): Add $(LIB_EACCESS).
</content>
</entry>
<entry>
<title>df: fix exit code and error messages with --total</title>
<updated>2012-08-04T16:30:07Z</updated>
<author>
<name>Bernhard Voelker</name>
<email>mail@bernhard-voelker.de</email>
</author>
<published>2012-08-03T23:09:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=3b8139e85f3a96dfefaba94d0764135376135ae8'/>
<id>urn:sha1:3b8139e85f3a96dfefaba94d0764135376135ae8</id>
<content type='text'>
When the combination of the file system options with given files or
devices does not lead to output, "df --total" would exit successfully
although it should not.

Examples:
  $ df --total --type=xfs /          # when / is not an XFS file system
  $ df --total --local -t nfs  DIR   # nfs is remote per se ...
  $ df --total -t qwerty /dev/sdb5   # typo in file system type

Furthermore, "df --total" would not print the error message "no file
systems processed" when the file argument does not exist or is otherwise
not accessible.

Example:
  $ df --total __not_exist__

These 2 bugs are present since --total was added by commit
v6.12-166-gea2887b.

* src/df.c (get_dev): Do not set file_systems_processed to true when
force_fsu is true, i.e. when the row for the "total" line is processed.
(main): Don't print totals unless we've processed a file system.
Also only print the "no FS processed" message if there was no
preceding diagnostic.
* tests/df/total-unprocessed: Add a new test.
* tests/Makefile.am: Reference the new test.
* NEWS: Mention the fix.

Improved-by: Jim Meyering
</content>
</entry>
<entry>
<title>truncate: don't leak a file descriptor with --ref=PIPE</title>
<updated>2012-08-04T10:27:20Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2012-08-04T09:02:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=cbd1cffa3eb9e6e5ca82ec67d3c4211a019dd1ed'/>
<id>urn:sha1:cbd1cffa3eb9e6e5ca82ec67d3c4211a019dd1ed</id>
<content type='text'>
* src/truncate.c (main): For a user who makes the mistake of
using a non-seekable file as a reference for the desired length,
truncate would open that file, attempt to seek to its end, but
upon seek failure would neglect to close the file descriptor.
Close the file descriptor even when lseek fails.
In addition, ignore failure to close that reference FD, since as
long as the lseek succeeds, a close failure doesn't matter.
Coverity spotted the potential FD leak.

Improved-by: Pádraig Brady.
</content>
</entry>
<entry>
<title>tests: avoid FP ulimit failure with valgrind-wrapped tools</title>
<updated>2012-08-04T10:03:06Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2012-08-02T17:12:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=4bee223d96fe34fd5290575ddb6eba7c9c7d7418'/>
<id>urn:sha1:4bee223d96fe34fd5290575ddb6eba7c9c7d7418</id>
<content type='text'>
* tests/init.cfg (require_ulimit_): Raise VM limit from 10MiB to
20MiB, to accommodate overhead of a valgrind-wrapped date program.
Also declare this function's local variables "local".
</content>
</entry>
<entry>
<title>split: plug nominal leaks</title>
<updated>2012-08-04T09:32:01Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2012-08-02T17:31:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=4abec7ef9a3e162098b6b4c1e19a8235023130d4'/>
<id>urn:sha1:4abec7ef9a3e162098b6b4c1e19a8235023130d4</id>
<content type='text'>
* src/split.c (lines_rr) [IF_LINT]: Plug a harmless leak.
(main) [IF_LINT]: Free a usually-small (~70KB) buffer
just before exit, mainly to take this off the radar of
leak-detecting tools.

Improved-by: Pádraig Brady.
</content>
</entry>
<entry>
<title>tail: avoid rare error-path FD leak</title>
<updated>2012-08-03T12:54:01Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2012-07-27T21:42:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=e11a2cf3198bcec9a5e10205bf3ebe66dc7edc59'/>
<id>urn:sha1:e11a2cf3198bcec9a5e10205bf3ebe66dc7edc59</id>
<content type='text'>
* src/tail.c (tail_forever): Close FD to avoid leak after a
failed fstat.
</content>
</entry>
</feed>
