bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: xstrtol.h


From: Eric Blake
Subject: Re: xstrtol.h
Date: Sun, 22 Jul 2007 09:03:37 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.5) Gecko/20070716 Thunderbird/2.0.0.5 Mnenhy/0.7.5.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Bruno Haible on 7/22/2007 5:03 AM:
> 
> It is clearer what the message is referring to. And also --skip-bytes is a
> string that does not require translation, therefore the macro invocation
> actually can read
> 
>   STRTOL_FATAL_ERROR (optarg, "--skip-bytes", s_err);
> 
> All uses of STRTOL_FATAL_ERROR are in this category:
> 
> ./src/od.c:         STRTOL_FATAL_ERROR (optarg, _("skip argument"), s_err);
> --skip-bytes argument

CVS head m4 also uses xstrtol for --nesting-limit and --debuglen, so a
patch along these lines will benefit the translation of multiple packages.

> 
> I can prepare a patch for this; just let me know whether for
>    $ od -j -1
> you would see the error message
>    od: invalid --skip-bytes argument `-1'
> or
>    od: invalid `-j' argument `-1'

I would prefer the long option name.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGo3HJ84KuGfSFAYARApSbAJ9PbSI4iT/07U0pOzq6oPUv6/TDeQCfU0Gu
Urj/wibhBqgprMv1HUhd4nQ=
=vRa8
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]