inttostr: add a new function, inttostr, and tests
authorJim Meyering <meyering@redhat.com>
Wed, 9 Jun 2010 16:22:25 +0000 (18:22 +0200)
committerJim Meyering <meyering@redhat.com>
Thu, 10 Jun 2010 13:16:51 +0000 (15:16 +0200)
commitdb74d417293e937ab171addd937b7b6c00d44444
tree0fe8790cef6e3d582bc911ea5bf848427da4c56e
parent47e899ad11a04647942b39dd501bfc2381e9b2f0
inttostr: add a new function, inttostr, and tests

The namesake function was not available.  The existence of the
template file, inttostr.c makes its addition nontrivial.
* lib/anytostr.c: Rename from inttostr.c.
(anytostr): Rename from inttostr.
* lib/inttostr.c: New file.
* modules/inttostr (Files): Add anytostr.c.
(Makefile.am): Set lib_SOURCES instead of ...
* m4/inttostr.m4: Remove uses of AC_LIBOBJ.
* lib/imaxtostr.c: Update use.  s/inttostr/anytostr/
* lib/offtostr.c: Likewise.
* lib/uinttostr.c: Likewise.
* lib/umaxtostr.c: Likewise.
* modules/inttostr-tests: New file.
* tests/test-inttostr.c: New file.  Test these functions.
12 files changed:
ChangeLog
lib/anytostr.c [new file with mode: 0644]
lib/imaxtostr.c
lib/inttostr.c
lib/inttostr.h
lib/offtostr.c
lib/uinttostr.c
lib/umaxtostr.c
m4/inttostr.m4
modules/inttostr
modules/inttostr-tests [new file with mode: 0644]
tests/test-inttostr.c [new file with mode: 0644]