[Top][All Lists]

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

Re: Shell crash on SunOS 4.1.3

From: Akim Demaille
Subject: Re: Shell crash on SunOS 4.1.3
Date: 22 Jan 2001 12:13:15 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Crater Lake)

>>>>> "akim" == akim  <address@hidden> writes:

akim> Thanks.  We must be hitting some internal size limitation I
akim> guess.  I will apply the patch you suggest.

I'm applying the patch below.  Harlan, please, try this Autoconf, or
maybe even the test suite (but I'm quite pessimistic wrt the
possibility of running the test suite on these machines), because I
really fear yet another occurrence of the 8th bit bug.

Testing should be extremely simple:

cat >




I'm interesting in knowing whether your system finds or not.


Index: ChangeLog
from  Akim Demaille  <address@hidden>
        * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Work around a currently
        impossible to describe bug of SunOS 4.1.3 which causes a shell
        crash when using the `VAR=${VAR="$default"}'.
        Reported and diagnosed by Kevin Ryde.

Index: acgeneral.m4
RCS file: /cvs/autoconf/acgeneral.m4,v
retrieving revision 1.670
diff -u -u -r1.670 acgeneral.m4
--- acgeneral.m4 2001/01/22 09:06:11 1.670
+++ acgeneral.m4 2001/01/22 11:13:10
@@ -3746,18 +3746,20 @@
 # If the user did not use the arguments to specify the items to instantiate,
 # then the envvar interface is used.  Set only those that are not.
+# We use the long form for the default assignment because of an extremely
+# bizarre bug on SunOS 4.1.3.
 if $ac_need_defaults; then
-[  CONFIG_FILES=${CONFIG_FILES="$config_files"}
+[  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
-[  CONFIG_HEADERS=${CONFIG_HEADERS="$config_headers"}
+[  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
-[  CONFIG_LINKS=${CONFIG_LINKS="$config_links"}
+[  test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
-[  CONFIG_COMMANDS=${CONFIG_COMMANDS="$config_commands"}
+[  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands

reply via email to

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