From: Akim Demaille Date: Wed, 15 Aug 2001 12:06:30 +0000 (+0000) Subject: * doc/autoconf.texi (Function Portability): sprintf's return X-Git-Tag: AUTOCONF-2.52d~91 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dc9d3f61b40a7f1ce2708b66c68ccf0ba63f2ae2;p=thirdparty%2Fautoconf.git * doc/autoconf.texi (Function Portability): sprintf's return value. From Kevin Ryde. --- diff --git a/ChangeLog b/ChangeLog index ac3d6ef09..a30967414 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2001-08-15 Akim Demaille + + * doc/autoconf.texi (Function Portability): sprintf's return + value. + From Kevin Ryde. + 2001-08-15 Akim Demaille * Makefile.maint (CVS): New. diff --git a/doc/autoconf.texi b/doc/autoconf.texi index 350652554..101cd6217 100644 --- a/doc/autoconf.texi +++ b/doc/autoconf.texi @@ -3228,9 +3228,14 @@ on some architectures. This section tries to make an inventory of these portability issues. By definition, this list will always require additions, please help us keeping it as complete as possible -@table @code +@table @asis + +@item @code{sprintf} +The ISO C standard says @code{sprintf} and @code{vsprintf} return the +number of characters written, but on some old systems (SunOS for +instance) they return the buffer pointer instead. -@item unlink +@item @code{unlink} The @sc{posix} spec says that @code{unlink} causes the given files to be removed only after there are no more open file handles for it. Not all OS's support this behaviour though. So even on systems that provide