annotate modules/xstrtol @ 9141:2f9763090486

Move xstrtol messages into gnulib domain, when --pobase is used. * lib/xstrtol.h (_STRTOL_ERROR): Move messages out of macro... * lib/xstrtol-error.c (xstrtol_error): ...into new file. * modules/xstrtol (Files): Distribute new file. * m4/xstrtol.m4 (gl_XSTRTOL): Build new file. * lib/xstrtol.c (TESTING_XSTRTO): Move tests... * tests/test-xstrtol.c: ...into new file. * tests/test-xstrtoul.c: Also test xstrtoul. * tests/test-xstrtoimax.c: Also test xstrtoimax. * tests/test-xstrtoumax.c: Also test xstrtoumax. * tests/test-xstrtol.sh: Drive the tests. * tests/test-xstrtoimax.sh: Likewise. * tests/test-xstrtoumax.sh: Likewise. * modules/xstrtol-tests: New module. * modules/xstrtoimax-tests: Likewise. * modules/xstrtoumax-tests: Likewise.
author Eric Blake <ebb9@byu.net>
date Wed, 08 Aug 2007 12:45:54 +0000
parents 1bff9b08bea3
children 4290c9101f09
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4110
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1 Description:
6154
201b3d9b99f1 Fix typo in description, spotted by Stepan Kasal.
Bruno Haible <bruno@clisp.org>
parents: 5722
diff changeset
2 Convert string to 'long' or 'unsigned long', with error checking.
4110
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
3
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
4 Files:
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
5 lib/xstrtol.h
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
6 lib/xstrtol.c
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
7 lib/xstrtoul.c
9141
2f9763090486 Move xstrtol messages into gnulib domain, when --pobase is used.
Eric Blake <ebb9@byu.net>
parents: 7526
diff changeset
8 lib/xstrtol-error.c
4110
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
9 m4/xstrtol.m4
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
10
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
11 Depends-on:
4934
0ffd1692e066 Exit-status fixes from coreutils.
Paul Eggert <eggert@cs.ucla.edu>
parents: 4197
diff changeset
12 exitfail
5085
2394c3c49c94 Add some missing dependencies and/or files.
Paul Eggert <eggert@cs.ucla.edu>
parents: 4934
diff changeset
13 error
7526
1bff9b08bea3 * lib/xstrtol.h: Include gettext.h.
Paul Eggert <eggert@cs.ucla.edu>
parents: 7497
diff changeset
14 gettext-h
6657
25df81cf2f51 * modules/intprops: New file.
Paul Eggert <eggert@cs.ucla.edu>
parents: 6154
diff changeset
15 intprops
7162
19c2e5121b2f Add and change modules to make it easier for coreutils to use
Paul Eggert <eggert@cs.ucla.edu>
parents: 6657
diff changeset
16 inttypes
4110
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
17
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
18 configure.ac:
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
19 gl_XSTRTOL
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
20
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
21 Makefile.am:
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
22
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
23 Include:
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
24 "xstrtol.h"
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
25
5251
42b53a22aee5 Add a license tag to every module.
Bruno Haible <bruno@clisp.org>
parents: 5085
diff changeset
26 License:
42b53a22aee5 Add a license tag to every module.
Bruno Haible <bruno@clisp.org>
parents: 5085
diff changeset
27 GPL
42b53a22aee5 Add a license tag to every module.
Bruno Haible <bruno@clisp.org>
parents: 5085
diff changeset
28
4197
3ccc6d0d52bb Add a Maintainer.
Bruno Haible <bruno@clisp.org>
parents: 4172
diff changeset
29 Maintainer:
3ccc6d0d52bb Add a Maintainer.
Bruno Haible <bruno@clisp.org>
parents: 4172
diff changeset
30 Jim Meyering