]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* doc/autoconf.texi (Function Portability): sprintf's return
authorAkim Demaille <akim@epita.fr>
Wed, 15 Aug 2001 12:06:30 +0000 (12:06 +0000)
committerAkim Demaille <akim@epita.fr>
Wed, 15 Aug 2001 12:06:30 +0000 (12:06 +0000)
value.
From Kevin Ryde.

ChangeLog
doc/autoconf.texi

index ac3d6ef09c05b9aa9c254ff01f35ca362168d96d..a309674143898bc7c0dac01b632b249eb3eb794a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2001-08-15  Akim Demaille  <akim@epita.fr>
+
+       * doc/autoconf.texi (Function Portability): sprintf's return
+       value.
+       From Kevin Ryde.
+
 2001-08-15  Akim Demaille  <akim@epita.fr>
 
        * Makefile.maint (CVS): New.
index 3506525541b6d9687624f8f791da93e4453c974f..101cd6217e95387c7f63d4c54ca2d29879339a89 100644 (file)
@@ -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