ftoastr: depend on snprintf, improve comments
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 19 Nov 2010 05:30:29 +0000 (21:30 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 19 Nov 2010 05:31:05 +0000 (21:31 -0800)
commit925bf02167741d4c0e398e0f5907bbcecb4b4de5
treef427d2bc6530122efac24cbaba3d7d0ad2e848de
parent32a4812677fe70153e37bc19925aab9bac6a283d
ftoastr: depend on snprintf, improve comments

* lib/ftoastr.c: Also mention Loitsch's draft.
* lib/ftoastr.h: Require WIDTH to be nonnegative.  This isn't
needed in the current implementation, but it might simplify
speeding up the code later.
* modules/ftoastr: Depend on snprintf; this improves portability.
Suggested by Bruno Haible in the same email.
ChangeLog
lib/ftoastr.c
lib/ftoastr.h
modules/ftoastr