From c470a65ca32afe5a28f7ed8b55fed9c15658163e Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 26 Apr 2007 19:50:46 +0000 Subject: [PATCH] * doc/autoconf.texi (Limitations of Builtins): Warn about Solaris /bin/printf '%010000x' 123. Problem reported by Arto C. Nirkko via Bruno Haible. --- ChangeLog | 6 ++++++ doc/autoconf.texi | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/ChangeLog b/ChangeLog index c40af552..b82ce141 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-04-26 Paul Eggert + + * 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 * NEWS: Document recent changes to AC_CHECK_ALIGNOF, AC_CHECK_SIZEOF, diff --git a/doc/autoconf.texi b/doc/autoconf.texi index 5b4771e2..c2b96287 100644 --- a/doc/autoconf.texi +++ b/doc/autoconf.texi @@ -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 ------------------ -- 2.11.4.GIT