<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/src, branch v8.22</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v8.22</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v8.22'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2013-12-13T14:05:53Z</updated>
<entry>
<title>stat,tail: improve support for hostfs and smackfs</title>
<updated>2013-12-13T14:05:53Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2013-12-13T14:05:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=ee7512cf007dbbfa10b44d7dd8aceb9d0033094b'/>
<id>urn:sha1:ee7512cf007dbbfa10b44d7dd8aceb9d0033094b</id>
<content type='text'>
hostfs is provided by the Linux UML subsystem.
smackfs is provided by the Linux Smack security module.

* src/stat.c (human_fstype): Add new file system ID definitions.
* NEWS: Mention the improvement, and adjust for the fact that
SNFS is a remote file system.
</content>
</entry>
<entry>
<title>tail: use consistent diagnostics with and without inotify</title>
<updated>2013-12-09T09:26:17Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2013-12-09T01:58:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=402e8ecbc4bf3b3fe866338e77e21feceac910f0'/>
<id>urn:sha1:402e8ecbc4bf3b3fe866338e77e21feceac910f0</id>
<content type='text'>
* src/tail.c: With inotify, when a file is initially absent,
we fstat(-1) for that file spec, thus recording an errnum of EBADF,
which caused the "has become accessible" diagnostic to be issued,
when the file first appears.  Instead we avoid the fstat(-1) and
thus emit the more natural and consistent "has appeared" diagnostic.
* tests/tail-2/retry.sh: Use the new diagnostic which also causes
this test to pass on systems without inotify.
</content>
</entry>
<entry>
<title>shuf: --repeat, not --repetitions; default --head-count is infinity</title>
<updated>2013-12-06T17:55:55Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2013-12-06T17:55:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=e1b753b3e3a3506746f5615cc1f6b5b22f564ccf'/>
<id>urn:sha1:e1b753b3e3a3506746f5615cc1f6b5b22f564ccf</id>
<content type='text'>
Original problem reported by Philipp Thomas in
&lt;http://bugs.gnu.org/16061&gt;.
* NEWS: shuf --repeat, not shuf --repetitions.
* doc/coreutils.texi (shuf invocation):
* src/shuf.c (usage, long_opts, main):
* tests/misc/shuf.sh:
Likewise.  Also, the default head-count is infinity.
</content>
</entry>
<entry>
<title>selinux: fix --context=CTX for cp and diagnose defaultcon() errors</title>
<updated>2013-12-05T00:18:36Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2013-12-04T19:10:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=0013de3e603162081c4464ea1f7ad3285f633d78'/>
<id>urn:sha1:0013de3e603162081c4464ea1f7ad3285f633d78</id>
<content type='text'>
* src/selinux.h (ignorable_ctx_err): A new function used
to determine if a warning should be given after a call
to defaultcon() or restorecon().
* src/cp.c (main): Fix the setfscreatecon() call to use
the argument passed by the user.
* src/mkdir.c (make_ancestor): Show all but "ignoreable" errors
from defaultcon() and restorecon().
* tests/misc/selinux.sh: Add a test run as root in selinux enforcing
mode, to ensure cp --context=invalid is honored and fails immediately.
</content>
</entry>
<entry>
<title>md5sum, sha*sum: use libcrypto where available</title>
<updated>2013-12-04T13:18:56Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2013-12-03T03:51:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=b53b0fd940382497e58a9e912f1262c2084fe534'/>
<id>urn:sha1:b53b0fd940382497e58a9e912f1262c2084fe534</id>
<content type='text'>
libcrypto is generally available and has well optimized
crypto hash routines particular to various systems.
For example, testing sha1sum with openssl-1.0.0j
on an i3-2310M, gives a performance boost of about 40%:

$ time sha1sum.old --tag ~/test.iso
SHA1 (/home/padraig/test.iso) = 3c27f7ed01965fd2b89e22128fd62dc51a3bef30
real    0m4.692s
user    0m4.499s
sys     0m0.162s

$ time sha1sum.new --tag ~/test.iso
SHA1 (/home/padraig/test.iso) = 3c27f7ed01965fd2b89e22128fd62dc51a3bef30
real    0m2.685s
user    0m2.512s
sys     0m0.170s

* configure.ac: By default, enable use of libcrypto if available.
* src/local.mk: Link with libcrypto.
* NEWS: Mention the md5sum and sha*sum improvements.
</content>
</entry>
<entry>
<title>df: handle bind mounts when processing device nodes</title>
<updated>2013-12-04T13:17:17Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2013-12-04T00:50:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=2091f44993c4d0ad16cbe272c247bb452ae74216'/>
<id>urn:sha1:2091f44993c4d0ad16cbe272c247bb452ae74216</id>
<content type='text'>
* src/df.c (get_disk): Use the same heuristic used in
get_point() to select the shortest file system mount point,
in an attempt to show the base mounted file system.
* NEWS: Mention the bug fix.
</content>
</entry>
<entry>
<title>df: dereference symlinks to disk device nodes</title>
<updated>2013-12-04T13:16:27Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2013-12-03T23:36:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=33660b4973baf66423207615bef0d277ca7a5938'/>
<id>urn:sha1:33660b4973baf66423207615bef0d277ca7a5938</id>
<content type='text'>
This is so the matching for the device is done on the canonical name
of the disk node, rather than on the path of the symlink.
In any case the user will generally want to use the symlink target.

* src/df.c (get_disk): Canonicalize the passed file,
before matching against the list of mounted file system devices.
Note we pass the original symlink name to the "file" output field,
as the symlink target is usually available through the "source" field.
* tests/df/df-symlink.sh: Test the dereferencing operation.
* tests/local.mk: Mention the new test.
* NEWS: Mention the fix.
Reported by Ondrej Oprala
</content>
</entry>
<entry>
<title>maint: avoid '%s' quoting notation in diagnostic messages</title>
<updated>2013-12-03T09:03:51Z</updated>
<author>
<name>Bernhard Voelker</name>
<email>mail@bernhard-voelker.de</email>
</author>
<published>2013-12-03T07:02:57Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=f65a3841606fcbc256c5dfcb7bd3ef90a7adec10'/>
<id>urn:sha1:f65a3841606fcbc256c5dfcb7bd3ef90a7adec10</id>
<content type='text'>
Add a new rule to ensure the use of quote() instead of '%s' or `%s'
in format strings of diagnostics messages.

* cfg.mk (sc_prohibit_quotes_notation): Add rule.
* TODO: Remove the entry regarding the '%s' notation.
* src/mkfifo.c (main): Remove the offending and in this case even
duplicate quoting in the format string of the error diagnostic.
* src/mknod.c (main): Likewise.
* src/df.c (decode_output_arg): Change two invocations of error()
according to the above new rule.
* src/numfmt.c: Fix numerous wrong quote notations to fit the above
new rule, mostly in internal debugging diagnostic messages.
</content>
</entry>
<entry>
<title>build: fix potential factor build failure on arm and powerpc</title>
<updated>2013-11-29T15:23:54Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2013-11-29T04:13:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=e20d2ea1260ef1ecd086879548ef8ac2c573d785'/>
<id>urn:sha1:e20d2ea1260ef1ecd086879548ef8ac2c573d785</id>
<content type='text'>
* src/longlong.h: Sync with the latest longlong.h from libgmp to:
- avoid arm asm when being compiled for the thumb instruction [sub]set
- avoid old powerpc assembly that is incompatible with newer GCC
- add arm64 optimized count_trailing_zeros()
- add sparc64 optimized add_ssaaaa() and umul_ppmm()
</content>
</entry>
<entry>
<title>maint: remove various FIXME comments</title>
<updated>2013-11-29T12:08:44Z</updated>
<author>
<name>Bernhard Voelker</name>
<email>mail@bernhard-voelker.de</email>
</author>
<published>2013-11-29T11:18:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=e11df57c3b9ccd7dff5e3953544371a6bf9b6178'/>
<id>urn:sha1:e11df57c3b9ccd7dff5e3953544371a6bf9b6178</id>
<content type='text'>
* src/extent-scan.c (extent_need_sync): Remove the FIXME comment about
removing the work around.  As discussed in [1], the needed FIEMAP fix
never made it into the Linux kernel.

* src/realpath.c (longopts): Remove the FIXME comment about deprecating
the --strip option as it's a valid alias for --no-symlinks option.
Also discussed in [1].

[1] http://lists.gnu.org/archive/html/coreutils/2013-11/msg00103.html
</content>
</entry>
</feed>
