cygpath hangings: A fix - bash patch enclosed -- bash mai ntainer please note!
Geoffrey Ruscoe
gruscoe@ARCcorp.com
Mon Nov 10 21:44:00 GMT 2003
>> I am using the latest version of Cygwin (1.5.5-1) on a Windows XP box on
a
>> 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
can
>> successfully run the hang.sh (from below) or a different command
>> substitution - but only a couple of times, and then they quits
responding.
>> Once one command shell quits responding no more command substitutions
will
>> work from any window.
>IIRC it was cgf who wrote:
>> > I've put a patched version of bash up at:
>> >
>> > ftp://sourceware.org/pub/cygwin/tmp/bash.exe
>> >
>> > 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;
>done
This outputs:
1 -
and never does anything ever again
>WFM
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:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 22194 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20031110/160e1256/attachment.obj>
-------------- next part --------------
--
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/
More information about the Cygwin
mailing list