automake-patches
[Top][All Lists]
Advanced

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

Testsuite: workaround for ksh bug w.r.t. `${1+"$@"}'


From: Stefano Lattarini
Subject: Testsuite: workaround for ksh bug w.r.t. `${1+"$@"}'
Date: Sun, 13 Dec 2009 18:40:53 +0100
User-agent: KMail/1.12.1 (Linux/2.6.30-2-686; KDE/4.3.2; i686; ; )

Hello automakers.

While doing more tests on my patch series about zsh xtraces
incompatibilities, I run into a subtle bug of ksh.  This bug is
related to a mishandling of the `${1+"$@"}' expression (occurring
when exactly one empty argument is given), and it breaks the test
script `automake.test'.

This breakage is not a regression introduced by my patch, as it
occurs also in the master branch.

Unfortunately, in master, the code triggering the bug is located in 
`AUTOMAKE_run()', and this function is removed by my patch series. 
Thus writing a new patch against master would be mostly useless if
my zsh-xtrace-incompatibilities patch series is going to be applied,
as a conflict will surely arise.
Thus I decided to write the patch against the private branch I'm
using for the zsh-xtrace series.

I will soon post a minimal testcase illustrating the ksh bug, and
then the patch introducing a workaround for it.

Regards,
   Stefano




reply via email to

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