Re: coreutils-8.12.178-df9cd on Solaris 10

2011-09-05 Thread Bruno Haible
> > So, in summary, there are two problems: > > - 'cp' creates a nontrivial ACL for a directory when the original > > directory had none. > > ... > This patch fixes it. I'm committing it in gnulib. We shouldn't need coreutils tests in order to detect that a gnulib module is not working well.

maint.mk syntax check problems

2011-09-05 Thread Martin von Gagern
Hi! I'm currently updating GNU wdiff to use latest gnulib, 2c53fc42. In the process, I've encountered a number of problems with maint.mk syntax checks. 1. main.mk fails its own checks: The checks sc_makefile_at_at_check and sc_prohibit_undesirable_word_seq both fail for me, as the maint.mk file

Re: Merge autoconf-archive into gnulib?

2011-09-05 Thread Reuben Thomas
On 5 September 2011 00:43, Bruno Haible wrote: > I think it > would be useful to allow more projects of this kind to use the same > tool for propagating the source code, namely gnulib-tool, extended >  1. to allow multiple --local-dir options, >  2. to allow fetching source code from git, hg, bzr,

RE: ACLs on HP NonStop

2011-09-05 Thread Schmitz, Joachim
Hi Bruno I know, it's been a while... but I think I found a problem in ACL support for NonStop. There are file systems and OS version that don't support them, and gnu-lib code thows an error for these. The code I'm referring to is in file-has-acl.c and goes like this: … # elif HAVE_ACLSORT /*

Re: test-float fails on regular PowerPC, too.

2011-09-05 Thread Andreas Metzler
On 2011-09-04 Bruno Haible wrote: > Andreas Metzler wrote: > > test-float fails on PowerPC (not PowerPC64), too. This causes [...] > Does the test failure go away if you change in lib/float.in.h the > condition > (defined _ARCH_PPC || defined _POWER) && defined _AIX > to > (defined _ARC

Re: btowc(0) configure check hangs clang? [was: Possible configure bug]

2011-09-05 Thread Bruno Haible
On 2011-09-03 I wrote: > I guess that clang hangs or produces an endless loop because of > this inline definition in : > > extern wint_t __btowc_alias (int __c) __asm ("btowc"); > __extern_inline wint_t > __NTH (btowc (int __c)) > { return (__builtin_constant_p (__c) && __c >= '\0' && __c <= '\x7f

Re: maint.mk syntax check problems

2011-09-05 Thread Bruno Haible
Hi, Martin von Gagern wrote: > 2. sc_prohibit_undesirable_word_seq and gettext: > > Makefile.in.in as generated by gettextize will contain the undesirable > phrase "can not" ... > > 3. sc_prohibit_doubled_word and non-ASCII text: > > In my po/pt_BR.po file >

Re: coreutils-8.12.178-df9cd on Solaris 10

2011-09-05 Thread Bruno Haible
> I'm extending the ACL tests in gnulib so that they > detect the failure before the fix: > > mode = 4700: tmpfile1 got an ACL > FAIL: test-set-mode-acl-2.sh > files tmpfile0 and tmpfile1: different ACL entry #2: different ids -1 and 0 > FAIL: test-copy-acl-2.sh The change to lib/set-mode

Re: coreutils-8.12.178-df9cd on Solaris 10

2011-09-05 Thread Bruno Haible
> The change to lib/set-mode-acl.c fixed the first test failure. For the > second test failure, I'm applying this fix: And finally, clean up the pieces of unused Solaris code: 2011-09-05 Bruno Haible acl: Clean up Solaris code. * lib/acl-internal.h: Remove no-op #if.

Improve sha1sum speed

2011-09-05 Thread Loïc Le Loarer
Hi, I saw in the todo list for coreutils that improving sha1sum speed was a target. So I worked a bit on that. By using the ideas from the sha1.c file from git sources ( http://git.kernel.org/?p=git/git.git;a=tree;f=block-sha1;hb=pu) which is clearly faster than the one in gnulib, I have been able

Re: ACLs on HP NonStop

2011-09-05 Thread Bruno Haible
Hi Joachim, > I know, it's been a while... but I think I found a problem in ACL support for > NonStop. There are file systems and OS version that don't support them, and > gnu-lib code thows an error for these. The code I'm referring to is in > file-has-acl.c and goes like this: > > … > # elif

Re: Improve sha1sum speed

2011-09-05 Thread Pádraig Brady
Thanks for working on this. Looks like my TODO list is reaping rewards :) A few general points. You essentially used Linus' code (albeit by very helpfully isolating the significant differences). It might be easier/required to just include it in gnulib? There are a few files in gnulib that are not

Re: Improve sha1sum speed

2011-09-05 Thread Karl Berry
There are a few files in gnulib that are not copyright of the FSF, There are? so would Nicolas and Linus need to assign copyright? Evidently.

Re: Improve sha1sum speed

2011-09-05 Thread Pádraig Brady
On 09/06/2011 12:41 AM, Karl Berry wrote: > There are a few files in gnulib that are not copyright of the FSF, > > There are? only a few, like sinl.c > > so would Nicolas and Linus need to assign copyright? > > Evidently.

Re: Improve sha1sum speed

2011-09-05 Thread Karl Berry
only a few, like sinl.c GNU policy is all or nothing on this. There shouldn't be any.

Re: files in gnulib copyright by someone other than the FSF

2011-09-05 Thread Paul Eggert
On 09/05/11 16:41, Karl Berry wrote: > There are a few files in gnulib that are not copyright of the FSF, > > There are? Yes, there are. I expect there are several trivial files without any copyright notices (and which are public domain) but I just now audited gnulib for files that are copyr

[PATCH] openat: port to AIX 7.1 with large files

2011-09-05 Thread Paul Eggert
Further investigation into problems GNU tar has on AIX 7.1 revealed a problem with openat that is similar to the recent fstatat problem. I installed the following to fix it. Given the email cited below, this should be the last such issue with AIX 7.1, as gnulib now addresses the issue for openat,

Re: files in gnulib copyright by someone other than the FSF

2011-09-05 Thread Jim Meyering
Paul Eggert wrote: > On 09/05/11 16:41, Karl Berry wrote: >> There are a few files in gnulib that are not copyright of the FSF, >> >> There are? > > Yes, there are. I expect there are several trivial files without > any copyright notices (and which are public domain) but I just now > audited