On Sat, 16 Dec 2006, Ralf Wildenhues wrote: > * Tim Rice wrote on Fri, Dec 15, 2006 at 04:00:10AM CET: > > > > It doesn't fix the error I get when I configure without CONFIG_SHELL > > .... > > /bin/ksh ./testsuite > > /testsuite[966]: : is not an identifier > > I'm really not sure if the following is more portable, even if it > happens to work on your hosts. Could you try it?
Fixes the "/bin/ksh ./testsuite" part but then about 134 tests fail. [snip] > literal length; it's just not overflowing for most packages. I wonder > whether we should just document "use bash" on these systems. OK by me. If we use bash, OpenSever 5 has never looked so good. > Cheers, > Ralf > > 2006-12-16 Ralf Wildenhues <[EMAIL PROTECTED]> > > * lib/autotest/general.m4 (at_help_all): Initialize with a here > document rather than a shell string literal, to avoid triggering > some OpenUnix 5.0.7 ksh buffer overflow. > Report by Tim Rice. > > Index: lib/autotest/general.m4 > =================================================================== > RCS file: /cvsroot/autoconf/autoconf/lib/autotest/general.m4,v > retrieving revision 1.218 > diff -u -r1.218 general.m4 > --- lib/autotest/general.m4 25 Nov 2006 09:57:34 -0000 1.218 > +++ lib/autotest/general.m4 16 Dec 2006 15:45:54 -0000 > @@ -278,7 +278,12 @@ > # numerical order. > at_format='m4_bpatsubst(m4_defn([AT_ordinal]), [.], [?])' > # Description of all the test groups. > -at_help_all="AS_ESCAPE(m4_defn([AT_help_all]))"])])dnl > +cat > "$at_dir/$as_me$$.help" <<\_ATEOF > +AT_help_all > +_ATEOF > +at_help_all=`cat "$at_dir/$as_me$$.help"` > +rm -f "$at_dir/$as_me$$.help" > +])])dnl > m4_divert_push([PARSE_ARGS])dnl > > at_prev= > > > -- Tim Rice Multitalents (707) 887-1469 [EMAIL PROTECTED]
