[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

proposed fix for Autoconf "make check" problem with ksh 11/16/88g

From: Paul Eggert
Subject: proposed fix for Autoconf "make check" problem with ksh 11/16/88g
Date: Thu, 14 Mar 2002 18:04:25 -0800 (PST)

Boyd Lynn Gerber lent me a test account, and I tracked the bug down to
what I think is a buffer overrun in that ancient ksh implementation.
Here is a proposed patch to work around the problem.

This patch assumes the other ksh-related patch I sent in earlier today.
(Methinks the current code hasn't been used with ksh much.  :-)

2002-03-14  Paul Eggert  <address@hidden>

        * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP):
        Create at_test_all by a series of assignments,
        not by a single assignment of a long string.  The latter causes ksh
        version 11/16/88g to silently misbehave on OpenServer 5.0.6a,
        presumably because of a buffer overrun.

RCS file: lib/autotest/general.m4,v
retrieving revision
retrieving revision
diff -pu -r2.53.0.1 -r2.53.0.2
--- lib/autotest/general.m4     2002/03/14 13:45:38
+++ lib/autotest/general.m4     2002/03/15 01:54:51
@@ -167,7 +167,8 @@ at_groups_all='AT_groups_all'
 # numerical order.
 at_format='m4_bpatsubst(m4_defn([AT_ordinal]), [.], [.])'
 # Description of all the test groups.
 while test address@hidden:@] -gt 0; do
@@ -732,7 +733,8 @@ m4_define([AT_KEYWORDS],
 # Complete a group of related tests.
     $at_times_skip || times >$at_times_file

reply via email to

[Prev in Thread] Current Thread [Next in Thread]