Re: modules and program name

2005-12-09 Thread Sergey Poznyakoff
Eric Blake [EMAIL PROTECTED] wrote: I noticed when compiling tar on cygwin that I got a warning: if gcc -DHAVE_CONFIG_H -DLIBDIR=\/usr/local/lib\ -I. -I. -I.. -g2 -Wall -Werror -MT argp-help.o -MD -MP -MF .deps/argp-help.Tpo -c -o argp-help.o argp-help.c; \ then mv -f

Re: ULONG_MAX on Solaris

2005-12-09 Thread Simon Josefsson
Ben Pfaff [EMAIL PROTECTED] writes: Simon Josefsson [EMAIL PROTECTED] writes: has ULONG_MAX in limits.h but not in stdlib.h. I believe C89 it to be in stdlib.h. I don't think so. In a quick search through C99, I only saw ULONG_MAX mentioned as being defined in limits.h. I don't think

argp --help infloop bug

2005-12-09 Thread Jim Meyering
You can make any argp-using program infloop simply by running it with --help and with something like ARGP_HELP_FMT=rmargin=a in the environment. Or use a valid (but small) width: ARGP_HELP_FMT=rmargin=2 $ time ARGP_HELP_FMT=rmargin=2 tar --help /dev/null ARGP_HELP_FMT=rmargin=2 tar --help

Re: argp --help infloop bug

2005-12-09 Thread Sergey Poznyakoff
Jim Meyering [EMAIL PROTECTED] wrote: You can make any argp-using program infloop simply by running it with --help and with something like ARGP_HELP_FMT=rmargin=a in the environment. Or use a valid (but small) width: ARGP_HELP_FMT=rmargin=2 Yes, indeed. Thanks for reporting. I will fix it.

Re: [Bug-tar] argp-help and program name

2005-12-09 Thread Sergey Poznyakoff
Eric Blake [EMAIL PROTECTED] wrote: the same thing as what your new __argp_base_name does. Prior to my dirname patch, the existing base_name does the same as your Thanks for noticing, I'll fix that. Usually, module owners post their patches to bug-gnulib for review, so I was a bit

Re: argp --help infloop bug

2005-12-09 Thread Jim Meyering
Sergey Poznyakoff [EMAIL PROTECTED] wrote: Jim Meyering [EMAIL PROTECTED] wrote: You can make any argp-using program infloop simply by running it with --help and with something like ARGP_HELP_FMT=rmargin=a in the environment. Or use a valid (but small) width: ARGP_HELP_FMT=rmargin=2 Yes,