* doc/autoconf.texi (File Descriptors): Solaris 10 /bin/sh
"optimizes" away redirected `:' commands in a shell function
after the first call.
+2011-08-04 Stefano Lattarini <stefano.lattarini@gmail.com>
+
+ docs: another Solaris sh bug with redirected `:'
+ * doc/autoconf.texi (File Descriptors): Solaris 10 /bin/sh
+ "optimizes" away redirected `:' commands in a shell function
+ after the first call.
+
2011-07-31 Paul Eggert <eggert@cs.ucla.edu>
docs: modernize treatment of ns-resolution timestamps
probably not of practical concern to modern platforms.
Solaris 10 @command{sh} will try to optimize away a @command{:} command
-in a loop after the first iteration, even if it is redirected:
+(even if it is redirected) in a loop after the first iteration, or in a
+shell function after the first call:
@example
$ @kbd{for i in 1 2 3 ; do : >x$i; done}
-$ @kbd{ls}
+$ @kbd{ls x*}
x1
+$ @kbd{f () @{ : >$1; @}; f y1; f y2; f y3;}
+$ @kbd{ls y*}
+y1
@end example
@noindent