This is the mail archive of the 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]

RE: Re: cygpath hangings: A fix - bash patch enclosed -- bash maintainer please note!

>> I am using the latest version of Cygwin (1.5.5-1) on a Windows XP box on
>> domain (tried several fixes pertaining to changing the rights of
>> the cygwin
>> dir and whole c drive - Everybody full control).
>> The problem is no command substitution works (using `'s or $()'s).
>> After a fresh reboot (and the new version of the bash listed below), I
>> successfully run the (from below) or a different command
>> substitution - but only a couple of times, and then they quits
>> Once one command shell quits responding no more command substitutions
>> work from any window.

>IIRC it was cgf who wrote:
>> > I've put a patched version of bash up at:
>> >
>> >
>> >
>> > if anyone wants to try this.  It would be good to confirm or deny
>> > that this fixes the problem for everyone.
>> >
>> > Btw, maybe this has already been mentioned, but here is a simple
>> > test script that demonstrates the problem when run from the console:
>> >
>> > #!/bin/bash
>> > exec 0<&-
>> > A=$(cygpath -A -P)
>> > echo $A
>> >
>> > Save it as "hang" and run it as "bash hang" and it should hang nicely
>> > with an unpatched bash.

Absolutely was cgf, sorry for clipping incorrectly

>$ echo ""; \
>for (( i=1; i<1000; i++)) ;do
>  echo -en "\e[F\e[$((7*($i%2)))m$i - ";
>  hang;

This outputs:
1 - 
and never does anything ever again


uname -a:
CYGWIN_NT-5.1 Consultant01 1.5.5(0.94/3/2) 2003-09-20 16:31 i686 unknown
unknown Cygwin

I've attached my cygcheck -svr:

Attachment: cygcheck.out
Description: Binary data

Unsubscribe info:
Problem reports:

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