]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* doc/autoconf.texi (Limitations of Builtins): Warn about Solaris
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 26 Apr 2007 19:50:46 +0000 (19:50 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 26 Apr 2007 19:50:46 +0000 (19:50 +0000)
/bin/printf '%010000x' 123.  Problem reported by Arto C. Nirkko
via Bruno Haible.

ChangeLog
doc/autoconf.texi

index c40af5520c1824512c694fb0fed5f9b402f50e11..b82ce141856abf85ae9b6a376c13de8693a7bb8b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-04-26  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * doc/autoconf.texi (Limitations of Builtins): Warn about Solaris
+       /bin/printf '%010000x' 123.  Problem reported by Arto C. Nirkko
+       via Bruno Haible.
+
 2007-04-12  Paul Eggert  <eggert@cs.ucla.edu>
 
        * NEWS: Document recent changes to AC_CHECK_ALIGNOF, AC_CHECK_SIZEOF,
index 5b4771e2fc8b15b8cf64dfa0470e76b57440c318..c2b9628756a2a561fe0ba0949ec0ef19e38a28d4 100644 (file)
@@ -12700,6 +12700,12 @@ $ @kbd{printf '\045'}
 bash: printf: `%': missing format character
 @end example
 
+Large outputs may cause trouble.  On Solaris 8 through 10, for example,
+the command @samp{/bin/printf %010000x 123} dumps core.  This particular
+bug should have little practical effect since Solaris shells' builtin
+@command{printf} commands do not have the bug, but it indicates an area
+that other @command{printf} implementations may have trouble in.
+
 
 @item @command{read}
 @c ------------------