* NEWS: Describe interface changes to human, xstrtol.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 6 Aug 2007 16:44:24 +0000 (16:44 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 6 Aug 2007 16:44:24 +0000 (16:44 +0000)
commit0253ee27eb11b96be8cba141e7e066787b5904c3
treef824b18dd4ad1b0a92adf95427f6277cbd184221
parentfb7fde6f658ac18b7ab7ca61dca9a290cc8c3348
* NEWS: Describe interface changes to human, xstrtol.
* lib/human.h: Include <xstrtol.h>.
(human_options): Return enum strtol_error, not int.  Remove
bool arg; take int * instead.
* lib/human.c: Don't include "gettext.h".
(_): Remove; no longer used.
Don't include <xstrtol.h>, since human.h does it.
(human_options): Adjust to abovementioned interface changes.
Do not report error to stderr; that's now the caller's
responsibility.
* lib/xstrtol.c (main) [defined TESTING_XSTRTO]: Adjust to
interface change.
* lib/xstrtol.h (_STRTOL_ERROR): Take Option, Arg rather than
Str, Argument_type_string.  All uses changed.  Put " argument"
in diagnostics to make them clearer.  Change wording of suffix
message for clarity.
(STRTOL_FATAL_ERROR): Take Option, Arg rather than Str,
Argument_type_string.
(STRTOL_FATAL_WARN): Remove; no longer used.
* modules/human (Depends-on): Remove gettext-h.
ChangeLog
NEWS
lib/human.c
lib/human.h
lib/xstrtol.c
lib/xstrtol.h
modules/human