several cleanups

2009-12-30 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I noticed these while working towards improving link-warning over to compile warnings. In particular, the first one makes me wonder if we have any other bugs hidden behind #pragma GCC system_header. - -- Don't work too hard, make some time for fun as

Re: adding 2009 to copyright year lists

2009-12-30 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Bruno Haible on 12/30/2009 5:50 PM: > Hi Jim, > >> I've gone ahead and pushed the result as a single commit for 2009. > > Just for the record, what was the rationale for adding the year also to files > that had not changed at all in 2009

Re: test-localename crash

2009-12-30 Thread Bruno Haible
Hi Simon, Simon Josefsson wrote: > The test-localename test crashes for me: > #0 strcmp () at ../sysdeps/i386/i686/strcmp.S:39 > #1 0x08049840 in test_locale_name_thread () at test-localename.c:421 > Debugging it shows that the variables passed to strcmp are NULL. Oops. Bad mistake of mine. Thi

Re: test-localename mingw failure?

2009-12-30 Thread Bruno Haible
Hi Simon, > i586-mingw32msvc-gcc -DHAVE_CONFIG_H -I. -I. -I. -I.. -I./.. -I../gllib > -I./../gllib -g -O2 -MT test-localename.o -MD -MP -MF > .deps/test-localename.Tpo -c -o test-localename.o test-localename.c > test-localename.c:31: error: ‘LC_CTYPE_MASK’ undeclared here (not in a > functio

Re: adding 2009 to copyright year lists

2009-12-30 Thread Bruno Haible
Hi Jim, > I've gone ahead and pushed the result as a single commit for 2009. Just for the record, what was the rationale for adding the year also to files that had not changed at all in 2009, not even with a whitespace change (such as m4/intl.m4)? (I seem to recall some change in the GNU Coding S

Re: one dependency too much

2009-12-30 Thread Bruno Haible
Eric Blake wrote: > According to Bruno Haible on 12/26/2009 11:59 AM: > > * The dependency of dup2-tests on 'cloexec' could be removed if the > > relevant (small) part of the test would be enclosed in > > #ifdef GNULIB_CLOEXEC > > so that it is skipped if the cloexec module is not present.

Re: Port findutil to z/OS

2009-12-30 Thread James Youngman
On Wed, Dec 30, 2009 at 2:42 PM, Boris Moskalev wrote: > Hello, James > > Dont know did you got my previous email. > > I took findutils version 4.4.2. On z/OS running USS (UNIX system service) > where I try to compile findutils. > > I attach arhiv with file config.log with some results. Can you t

Re: licenses of tests

2009-12-30 Thread Jim Meyering
Eric Blake wrote: > According to Jim Meyering on 12/30/2009 1:44 AM: >>> find modules -name '*-tests' | xargs grep -l License \ >>> | xargs sed -i '/^$/N; /License:/,$ d' >> >> Those changes look fine. Thanks. >> >> In case there's a next time, you'd want to add a "^" >> before the "License:

Re: touch

2009-12-30 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Eric Blake on 12/30/2009 5:50 AM: > So in general, the problem can be characterized precisely by the presence > of UTIME_OMIT, and can be worked around with a mere stat() (no gettime() > is needed, since UTIME_NOW still works). Do you hav

Re: touch

2009-12-30 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to ctrn3e8 on 12/29/2009 10:38 PM: > I couldn't find where UTIME_NOW etc. is defined, so I just pulled the > values off the internet. They are defined in . I keep forgetting that while many systems implicitly include as part of (which PO

Re: licenses of tests

2009-12-30 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Jim Meyering on 12/30/2009 1:44 AM: >> find modules -name '*-tests' | xargs grep -l License \ >> | xargs sed -i '/^$/N; /License:/,$ d' > > Those changes look fine. Thanks. > > In case there's a next time, you'd want to add a "^"

Re: licenses of tests

2009-12-30 Thread Jim Meyering
Eric Blake wrote: ... > Here's what I'll push, then. My sed script for automating the second was just > arcane enough that I had to document it in the commit comment. ... > Subject: [PATCH 2/2] tests: remove License section from module > > Per modules/TEMPLATE-TESTS, test modules do not need a lic