bug-autoconf
[Top][All Lists]
Advanced

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

Re: _AS_ECHO_N_PREPARE - bug correction in ksh88 on AIX 6.1


From: Eric Blake
Subject: Re: _AS_ECHO_N_PREPARE - bug correction in ksh88 on AIX 6.1
Date: Mon, 29 Jun 2009 22:13:15 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.22) Gecko/20090605 Thunderbird/2.0.0.22 Mnenhy/0.7.6.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Ralf Wildenhues on 6/28/2009 1:24 AM:
> * Eric Blake wrote on Sat, Jun 27, 2009 at 04:01:15PM CEST:
>> According to Ralf Wildenhues on 6/25/2009 9:18 PM:
>>> * Jan Madzik wrote on Thu, Jun 25, 2009 at 06:48:37PM CEST:
>>>> I found bug in korn shell (version M-11/16/88f) on AIX 6.1 (tested
>>>> only on one server instance) and due to this bug I couldn't correctly
>>>> configure ImageMagick.
>>> Confirmed on AIX 5.3, thanks for the bug report.
>>>
>>> This patch should be sufficient to fix this instance of the bug, but
>>> it's still lacking a testsuite and documentation addition.
>> So how exactly do you describe the bug?  Using 'echo \c' inside a command
>> substitution corrupts state until the next command substitution echo?
> 
> Yes, I think that's what it is.

Let's get that documented, then, before approving this patch, although I'd
like to see the fix go in before 2.64.

> More generally though, I'd
> be wary of uses of ECHO_C within command substitutions, as the
> substitution will strip off a trailing newline anyway, so it shouldn't
> be a wide-spread problem.

True enough, and worth mentioning as part of the documentation.  I don't
have access to an AIX machine, so I'm trusting your patch has been
properly tested.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkpJkNsACgkQ84KuGfSFAYAlbwCfc0TwLNnuEmKQjNsVTib68n4T
jO0An1/Spz3rnH0rceSOfk+2ZcOZZ7fn
=b/hM
-----END PGP SIGNATURE-----




reply via email to

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