Re: documentation about program_name use

2006-02-13 Thread Claudio Fontana
--- Paul Eggert <[EMAIL PROTECTED]> ha scritto: > Claudio Fontana <[EMAIL PROTECTED]> writes: > > > There is a missing dependency at least in the > error > > module, which should require progname. > > No, because some programs define program_name > without using progname. > Please see this thr

Re: documentation about program_name use

2006-02-13 Thread Paul Eggert
Claudio Fontana <[EMAIL PROTECTED]> writes: > There is a missing dependency at least in the error > module, which should require progname. No, because some programs define program_name without using progname. Please see this thread for more discussion: http://lists.gnu.org/archive/html/bug-gnuli

Re: gnulib-tool basics

2006-02-13 Thread Karl Berry
configure.ac will have to include: gl_EARLY gl_INIT So, no more gl_SOURCE_BASE and gl_SOURCE_BASE in configure.ac? (They're still in the doc.) Thanks much for the help. ___ bug-gnulib mailing list bug-gnulib@gnu.org http://lists.gnu.org/m

Re: documentation about program_name use

2006-02-13 Thread Claudio Fontana
--- Paul Eggert <[EMAIL PROTECTED]> ha scritto: > Claudio Fontana <[EMAIL PROTECTED]> writes: > > > I'd suggest it is prominently displayed in the > bug-gnulib manual and > > error module documentation. > > Better yet, there should be some automated way of > detecting the > portability problem

Re: documentation about program_name use

2006-02-13 Thread Paul Eggert
Claudio Fontana <[EMAIL PROTECTED]> writes: > I'd suggest it is prominently displayed in the bug-gnulib manual and > error module documentation. Better yet, there should be some automated way of detecting the portability problem, even when you are testing on a GNU/Linux host where program_name is

Re: rules, rules, and more (code policy) rules

2006-02-13 Thread Jim Meyering
Simon Josefsson <[EMAIL PROTECTED]> wrote: > Simon Josefsson <[EMAIL PROTECTED]> writes: > >>> If I forget to run ./configure ..., I'd rather get a warning >>> than have GNUmakefile run it for me. >>> >>> Providing the rules might be nice, as long as they're hooked to some >>> nonstandard target. >

Re: documentation about program_name use

2006-02-13 Thread Claudio Fontana
--- Karl Berry <[EMAIL PROTECTED]> ha scritto: > I would suggest to add this to the GNU coding > standards: > > I'm not sure program_name should be in the coding > standards. If/since > gnulib functions require it, then I can see that it > should be in the > gnulib doc. But programs t

Re: documentation about program_name use

2006-02-13 Thread Karl Berry
I would suggest to add this to the GNU coding standards: I'm not sure program_name should be in the coding standards. If/since gnulib functions require it, then I can see that it should be in the gnulib doc. But programs that don't use gnulib don't necessarily have to have it. Do they?

documentation about program_name use

2006-02-13 Thread Claudio Fontana
Hello, while using gnulib I stumbled upon a not well documented 'program_name' symbol requirement. I would suggest to add this to the GNU coding standards: "Each C program should define program_name as a string of characters (char*), used to store the name of the program." I would also suggest

Re: gnulib-tool basics

2006-02-13 Thread Simon Josefsson
[EMAIL PROTECTED] (Karl Berry) writes: > First, regarding gnulib-tool --help. > > --update isn't mentioned under "Operation modes:", although it is one > of the usages. I don't know what --update is supposed to do, so I'll leave it to others. > I suggest mentioning that --import can also be used

Re: rules, rules, and more (code policy) rules

2006-02-13 Thread Simon Josefsson
Simon Josefsson <[EMAIL PROTECTED]> writes: >> If I forget to run ./configure ..., I'd rather get a warning >> than have GNUmakefile run it for me. >> >> Providing the rules might be nice, as long as they're hooked to some >> nonstandard target. > > Yep, I agree. It should be possible to override

Autoupdate undoing changes (Was Re: [Bug-tar] tar.c:237: warning: too few arguments for format)

2006-02-13 Thread Sergey Poznyakoff
After a brief examination I discovered yet another important bugfix to argp library undone on the same date (2005-12-12), namely this: 2005-12-10 Sergey Poznyakoff <[EMAIL PROTECTED]> * argp-fmtstream.c (__argp_fmtstream_update): Fix coredump I have restored it. Karl, please do not up

Re: rules, rules, and more (code policy) rules

2006-02-13 Thread Simon Josefsson
Jim Meyering <[EMAIL PROTECTED]> writes: > Simon Josefsson <[EMAIL PROTECTED]> wrote: >> I'm now using this (with a couple of modifications) in GNU SASL. >> >> One thing that struck me as very useful, is the ability to invoke >> tests without having to autoreconf + configure. > ... > > If I forget

Re: rules, rules, and more (code policy) rules

2006-02-13 Thread Simon Josefsson
Jim Meyering <[EMAIL PROTECTED]> writes: > Simon Josefsson <[EMAIL PROTECTED]> wrote: # Make tar archive easier to reproduce. export TAR_OPTIONS = --owner=0 --group=0 --numeric-owner >>> >>> Those options help minimize unnecessary differences between tar archives. > ... >> Still, I think

Re: [Bug-tar] tar.c:237: warning: too few arguments for format

2006-02-13 Thread Sergey Poznyakoff
Paul Eggert <[EMAIL PROTECTED]> wrote: > Back then, argp-namefrob.h was automatically updated from the latest > version of the file of the same name in glibc. We no longer do that, > since the sources have diverged. It must have been updated by mistake, then. > Shouldn't the glibc and gnulib so

Re: [Bug-tar] tar.c:237: warning: too few arguments for format

2006-02-13 Thread Paul Eggert
"Sergey Poznyakoff" <[EMAIL PROTECTED]> writes: > Somehow the necessary changes to argp-namefrob.h were lost near > 2005-12-12 (it is marked as 'autoupdate' in the repository, don't > know what was meant). Back then, argp-namefrob.h was automatically updated from the latest version of the file of