feature request for coreutils: b2sum

2015-05-27 Thread Zooko Wilcox-OHearn
Dear coreutils folks and RMS: I'm writing to ask you to add the BLAKE2 hash function to coreutils. The reason is that md5sum is the most widely-used tool for file integrity, but it has flaws that could lead to users being exploited if they use md5sum in certain reasonable-sounding ways. (I refer

bug#20667: [GNULIB v2 1/2] file-has-acl: Split feature tests again

2015-05-27 Thread Paul Eggert
I found one nit: +AC_CHECK_HEADERS([linux/xattr.h]) +AC_CHECK_HEADERS([sys/xattr.h], + [AC_CHECK_FUNCS_ONCE([getxattr])]) This is missing _ONCE and non-ONCE calls, which doesn't work as expected. Simplest fix is to replace AC_CHECK_FUNCS_ONCE with AC_CHECK_FUNCS.

bug#20666: [GNULIB v2 1/2] file-has-acl: Split feature tests again

2015-05-27 Thread Andreas Grünbacher
Paul, 2015-05-27 20:14 GMT+02:00 Paul Eggert egg...@cs.ucla.edu: Simplest fix is to replace AC_CHECK_FUNCS_ONCE with AC_CHECK_FUNCS. thanks, I've fixed that on github. Andreas

bug#20666: [GNULIB v2 2/2] qacl: Reimplement qset_acl and qcopy_acl

2015-05-27 Thread Paul Eggert
On 05/26/2015 01:53 PM, Andreas Gruenbacher wrote: --- lib/acl-internal.c| 30 ++ This one is missing a patch to ChangeLog. Please put the commit message into the ChangeLog. Also, please put the string Bug#20666 somewhere into the commit message body and the ChangeLog (they should

bug#20678: new bug that Paul asked for... grep -P aborts on non-utf8 input.

2015-05-27 Thread L. A. Walsh
(skip to end if you don't care to read how I found this mess)... Paul Eggert wrote: Linda Walsh wrote: I had one file that it bailed on saying it has an invalid UTF-8 encoding -- but the line was recursive starting from '.' -- and it didn't name the file That's pretty vague. Can you

[PATCH] copy: prefer our hardlink to symlink emulation on OS X 10.10

2015-05-27 Thread Pádraig Brady
* src/copy.c (CAN_HARDLINK_SYMLINKS): Don't enable use of linkat() on Darwin 14, as the gnulib fallback emulation there doesn't preserve ownership and timestamps etc. This fixes a test failure in tests/cp/link-symlink.sh * tests/cp/link-deref.sh: Adjust accordingly. --- src/copy.c |

[PATCH] build: remove workarounds for unsupported gettext versions

2015-05-27 Thread Pádraig Brady
Now that we depend on gettext = 0.19.2 remove the workaround for issues in autopoint 0.18.3. Note the scheme currently used in newer gettext (autopoint) to avoid these issues requires autoconf = 2.69, therefore we update this requirement also. Note the gettext version dependence from gnulib

bug#20679: A bug of pwd

2015-05-27 Thread 徐兴旺
If the name of current diretory including blank, pwd return raw blank istead of escaping character, \ . When used with cp command, the directory name will be recognized two params.

bug#20666: [GNULIB v2 2/2] qacl: Reimplement qset_acl and qcopy_acl

2015-05-27 Thread Andreas Grünbacher
Paul, requested changes made and pushed. I don't think I have commit access to coreutils, so could you please push the coreutils change to update gnulib (attached)? Thanks, Andreas From 0f9db36d658b9cb8933f334109c6e0a8a72c5160 Mon Sep 17 00:00:00 2001 From: Andreas Gruenbacher

bug#20678: new bug that Paul asked for... grep -P aborts on non-utf8 input.

2015-05-27 Thread Paul Eggert
On 05/27/2015 02:41 PM, L. A. Walsh wrote: *** file = libvtkUtilitiesPythonInitializer-pv4.2.so.1 grep: invalid UTF-8 byte sequence in input This looks like you're using an old version of libpcre, or of grep. I can't reproduce the problem with the latest stable versions of both (libpcre

bug#20678: new bug that Paul asked for... grep -P aborts on non-utf8 input.

2015-05-27 Thread Linda Walsh
Paul Eggert wrote: On 05/27/2015 02:41 PM, L. A. Walsh wrote: *** file = libvtkUtilitiesPythonInitializer-pv4.2.so.1 grep: invalid UTF-8 byte sequence in input This looks like you're using an old version of libpcre, or of grep. I can't reproduce the problem with the latest stable versions