bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnulib] Re: snprintf


From: Paul Eggert
Subject: Re: [Bug-gnulib] Re: snprintf
Date: Thu, 30 Sep 2004 16:43:29 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

Simon Josefsson <address@hidden> writes:

> snprintf is part of POSIX and perhaps also C99 (the
> opengroup.org man pages suggest the latter).

I think this is decisive (no matter how badly snprintf is designed :-).

I installed your patch, except with this change to MODULES.html.sh instead,
since snprintf is indeed part of C99.

2004-09-30  Paul Eggert  <address@hidden>

        * MODULES.html.sh (Support for systems lacking ISO C 99): Add snprintf.

Index: MODULES.html.sh
===================================================================
RCS file: /cvsroot/gnulib/gnulib/MODULES.html.sh,v
retrieving revision 1.61
retrieving revision 1.63
diff -p -u -r1.61 -r1.63
--- MODULES.html.sh     29 Sep 2004 22:10:44 -0000      1.61
+++ MODULES.html.sh     30 Sep 2004 23:39:58 -0000      1.63
@@ -1651,6 +1651,16 @@ func_all_modules ()
   func_module stdint
   func_end_table
 
+  element="Input/output <stdio.h>"
+  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
+  func_section_wrap isoc_sup_stdio
+  func_wrap H3
+  func_echo "$element"
+
+  func_begin_table
+  func_module snprintf
+  func_end_table
+
   element="Numeric conversion functions <stdlib.h>"
   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
   func_section_wrap isoc_sup_stdlib_conv




reply via email to

[Prev in Thread] Current Thread [Next in Thread]