Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | inttostr: add a new function, inttostr, and tests | Jim Meyering | 2010-06-10 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | 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. | ||||
* | inttostr: aesthetics and improved (compile-time) safety | Jim Meyering | 2009-10-31 | 1 | -0/+1 |
| | | | | | | | | | | | | | Define inttype_is_signed rather than inttype_is_unsigned, since the sole use is via "#if inttype_is_signed". * lib/imaxtostr.c (inttype_is_signed): Define this, rather than inttype_is_unsigned. * lib/offtostr.c (inttype_is_signed): Likewise. * lib/uinttostr.c (inttype_is_signed): Likewise. * lib/umaxtostr.c (inttype_is_signed): Likewise. * lib/inttostr.c (inttostr): Use verify to cross-check the inttype_is_signed value and the signedness of the actual type. * modules/inttostr (Depends-on): Add verify. | ||||
* | New module inttostr. | Paul Eggert | 2004-03-31 | 1 | -0/+3 |