Re: human interface change?!? [Re: xstrtol.h

2007-08-04 Thread Paul Eggert
Jim Meyering <[EMAIL PROTECTED]> writes: > The patches are probably ok, but I won't have time to deal with > this (adding the tests I mentioned) for a couple more days. > I prefer not to leave gnulib and coreutils out of sync like that. I finally got to this (sorry about the delay), and have some

Re: human interface change?!? [Re: xstrtol.h

2007-08-04 Thread Jim Meyering
Paul Eggert <[EMAIL PROTECTED]> wrote: ... > namely, the options to be prefixed with "--" need to be marked. > > Here's a proposed patch to address both problems. It comes in two parts: > the first to gnulib, the second to coreutils. I haven't installed the > gnulib part. Elegantly twisted :-) T

Re: human interface change?!? [Re: xstrtol.h

2007-08-04 Thread Bruno Haible
Paul Eggert wrote: > First, human_options should probably not output to stderr or exit, but > should instead let the caller do it. Indeed; this allows to not increase the number of arguments to human_options from 3 to 4. > +static char opt_str_storage[3] = {'-', 0, 0}; > +#define OPT_STR(opt_idx,