program_name in error.c

2006-09-08 Thread Sergey Poznyakoff
Hello, I'd like to install the following change to error.c in order to better cooperate with argp. Any objections? Regards, Sergey Index: error.c === RCS file: /cvsroot/gnulib/gnulib/lib/error.c,v retrieving revision 1.46 diff -p -

Fixing argp doc strings

2006-09-08 Thread Sergey Poznyakoff
Hello, I have installed the following change: 2006-09-09 Sergey Poznyakoff <[EMAIL PROTECTED]> * argp-help.c (argp_doc): Split the untranslated doc string on '\v', and translate the two parts separately, instead of feeding the whole string to gettext. This allows t

mktime fix for glibc bug 2821

2006-09-08 Thread Paul Eggert
I installed this into gnulib; when the patch gets back to glibc we can undo the change to srclist.txt. 2006-09-08 Paul Eggert <[EMAIL PROTECTED]> * config/srclist.txt: Temporarily comment out mktime.c until glibc bug 2821 is fixed. * lib/mktime.c (guess_time_tm): Fix bu

Re: bootstrap: marking gnulib-copied/generated files as such

2006-09-08 Thread Jim Meyering
"Mark D. Baushke" <[EMAIL PROTECTED]> wrote: > Jim Meyering <[EMAIL PROTECTED]> writes: > >> case $CVS_RSH in >> '') export CVS_RSH=ssh;; >> esac > > One of the following would be better, given that not all shells > allow assignment on an export command: > >case $CVS_RSH in '') CVS_

Re: bootstrap: marking gnulib-copied/generated files as such

2006-09-08 Thread Mark D. Baushke
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim Meyering <[EMAIL PROTECTED]> writes: > case $CVS_RSH in > '') export CVS_RSH=ssh;; > esac One of the following would be better, given that not all shells allow assignment on an export command: case $CVS_RSH in '') CVS_RSH=ssh; exp

isapipe change to export HAVE_FIFO_PIPES

2006-09-08 Thread Paul Eggert
I installed this since coreutils can use the HAVE_FIFO_PIPES definition. 2006-09-08 Paul Eggert <[EMAIL PROTECTED]> * lib/isapipe.h (HAVE_FIFO_PIPES) [!defined HAVE_FIFO_PIPES]: Moved to here ... * lib/isapipe.c (HAVE_FIFO_PIPES) [!defined HAVE_FIFO_PIPES]: ... f

Re: ensure that generated files are read-only

2006-09-08 Thread Jim Meyering
Paul Eggert <[EMAIL PROTECTED]> wrote: > Jim Meyering <[EMAIL PROTECTED]> writes: > >> alloca.h: alloca_.h >> rm -f [EMAIL PROTECTED] $@ >> cp $(srcdir)/alloca_.h [EMAIL PROTECTED] >> chmod a-x [EMAIL PROTECTED] >> mv [EMAIL PROTECTED] $@ > > One other thing -- how about if we j

Re: strnlen.h

2006-09-08 Thread Simon Josefsson
Paul Eggert <[EMAIL PROTECTED]> writes: > "Mark D. Baushke" <[EMAIL PROTECTED]> writes: > >> If you must check for it being defined, wouldn't this form >> >> #if !defined HAVE_DECL_STRNLEN || !HAVE_DECL_STRNLEN > > In the old days we were worried about people using gnulib .c files > without using

Re: ensure that generated files are read-only

2006-09-08 Thread Simon Josefsson
Bruce Korb <[EMAIL PROTECTED]> writes: > Ralf Wildenhues wrote: >> [ adding automake-patches ] >> >> * Simon Josefsson wrote on Thu, Sep 07, 2006 at 04:56:02PM CEST: >> >>>Bruce Korb <[EMAIL PROTECTED]> writes: >>> Ralf Wildenhues wrote: >The fix is to > find FOOPKG-x.y.z -e

Re: [bug #17643] Include sys/param.h when testing whether getmntinfo() fills struct statvfs.

2006-09-08 Thread Jim Meyering
Pavel Tsekov <[EMAIL PROTECTED]> wrote: > URL: > > Summary: Include sys/param.h when testing whether > getmntinfo() fills struct statvfs. > > The recent changes with regard to compilation failures in mountlist.c on > NetBSD 3.0 added a new check in ls-mntd-

Re: bootstrap: marking gnulib-copied/generated files as such

2006-09-08 Thread Jim Meyering
Ralf Wildenhues <[EMAIL PROTECTED]> wrote: > Hello Jim, > > * Jim Meyering wrote on Fri, Sep 08, 2006 at 09:44:31AM CEST: >> Ralf Wildenhues <[EMAIL PROTECTED]> wrote: >> > >> > Just FYI: this bootstrap script will not work any more with some shells >> > that are still in practical use. >> >> Thank

Re: bootstrap: marking gnulib-copied/generated files as such

2006-09-08 Thread Ralf Wildenhues
Hello Jim, * Jim Meyering wrote on Fri, Sep 08, 2006 at 09:44:31AM CEST: > Ralf Wildenhues <[EMAIL PROTECTED]> wrote: > > > > Just FYI: this bootstrap script will not work any more with some shells > > that are still in practical use. > > Thanks for the quick review and the heads up. > However, d

Re: bootstrap: marking gnulib-copied/generated files as such

2006-09-08 Thread Jim Meyering
Ralf Wildenhues <[EMAIL PROTECTED]> wrote: > Hello Jim, > > * Jim Meyering wrote on Fri, Sep 08, 2006 at 08:54:50AM CEST: >> --- bootstrap7 Sep 2006 21:00:58 - 1.8 >> +++ bootstrap8 Sep 2006 06:48:43 - >> @@ -212,6 +212,29 @@ >>fi;; >> esac >> >> +cp_mark_as_gene

Re: gnulib-tool: support for LDFLAGS

2006-09-08 Thread Ralf Wildenhues
* Ralf Wildenhues wrote on Fri, Sep 08, 2006 at 08:36:54AM CEST: > I recommend that if libgnu.a needs symbols from other libraries, then it > should provide a macro $(LIBGNULIB) or so, that programs can use to link > against, and that it should then contain those additional libraries. > This way, i

Re: bootstrap: marking gnulib-copied/generated files as such

2006-09-08 Thread Ralf Wildenhues
Hello Jim, * Jim Meyering wrote on Fri, Sep 08, 2006 at 08:54:50AM CEST: > --- bootstrap 7 Sep 2006 21:00:58 - 1.8 > +++ bootstrap 8 Sep 2006 06:48:43 - > @@ -212,6 +212,29 @@ >fi;; > esac > > +cp_mark_as_generated() > +{ > + local src=$1 > + local dst=$2 > + local c1 c2 J