This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Bash 3.1.17(9) $@ Expansion error


Hi,

I have just tried a 'make check' on CSSC-1.0.1 and found a number of
failures caused by what would appear to be a $@ expansion failure for the
case where $@ is an empty string.
It expands to '\x7F' !!!

Test case: Download and unpack CSSC-1.0.1.
Enter the following commands:
cd CSSC-1.0.1                   # Change dir if required
./configure -enable-binary
make
make check

The make check fails. This first failure has been tracked this down to $@
expansions in the echo_nonl (line 106) function in tests/common/test-common
lines 198 and 207.
After changing the code to avoid using the echo_nonl function at the
specified lines, make check continues a bit further.
The second failure is in tests/admin/I-option.sh (line 59) , again due to a
$@ expansion in echo_nonl.
This third failure is in tests/binary/auto.sh (line 96), again due to a $@
expansion in echo_nonl (at line 64).

After fixing these lines so that none of them use the echo_nonl function,
the tests passed.

bash -version gives:
GNU bash, version 3.1.17(9)-release (i686-pc-cygwin)
Copyright (C) 2005 Free Software Foundation, Inc.

The cygcheck file is attached.

Regards
        Mark Fortescue.

Attachment: cygcheck.out
Description: Binary data

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]