Eric Blake wrote:
> Also, I find it a bit funny to have the comment:
> 
> dnl Test whether obstack_printf exists and is POSIX compliant.
> 
> since POSIX does not specify obstack_printf.  I get what you meant,
> but maybe it is better to word as "Test whether obstack_printf exists
> and its behavior matches POSIX compliant printf."

OK. Improved like this:


2026-01-12  Bruno Haible  <[email protected]>

        obstack-printf-posix: Improve comment.
        Reported by Eric Blake in
        <https://lists.gnu.org/archive/html/bug-gnulib/2026-01/msg00085.html>.
        * m4/obstack-printf-posix.m4 (gl_FUNC_OBSTACK_PRINTF_IS_POSIX): Improve
        comment.

diff --git a/m4/obstack-printf-posix.m4 b/m4/obstack-printf-posix.m4
index aca4c9715e..8baeef34a7 100644
--- a/m4/obstack-printf-posix.m4
+++ b/m4/obstack-printf-posix.m4
@@ -1,5 +1,5 @@
 # obstack-printf-posix.m4
-# serial 12
+# serial 13
 dnl Copyright (C) 2008-2026 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -17,7 +17,8 @@ AC_DEFUN([gl_FUNC_OBSTACK_PRINTF_POSIX]
   gl_DECL_OBSTACK_PRINTF
 ])
 
-dnl Test whether obstack_printf exists and is POSIX compliant.
+dnl Test whether obstack_printf exists and interprets the format string in a
+dnl POSIX compliant way.
 dnl Result is gl_cv_func_obstack_printf_posix.
 AC_DEFUN([gl_FUNC_OBSTACK_PRINTF_IS_POSIX],
 [




Reply via email to