This is the mail archive of the cygwin@cygwin.com 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: cygpath hangings: A fix - bash patch enclosed -- bash maintainer please note!


Christopher Faylor writes:
> > 
> 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.

Your patched 'bash' runs the above script fine here,
whereas the distributed one hangs

Note this is with a fairly recent locally built DLL

HTH

Norman

    Cygwin DLL version info:
        DLL version: 1.5.6
        DLL epoch: 19
        DLL bad signal mask: 19005
        DLL old termios: 5
        DLL malloc env: 28
        API major: 0
        API minor: 94
        Shared data: 3
        DLL identifier: cygwin1
        Mount registry: 2
        Cygnus registry name: Cygnus Solutions
        Cygwin registry name: Cygwin
        Program options name: Program Options
        Cygwin mount registry name: mounts v2
        Cygdrive flags: cygdrive flags
        Cygdrive prefix: cygdrive prefix
        Cygdrive default prefix:
        Build date: Thu Oct 2 06:59:48 EDT 2003
        Shared id: cygwin1S3-2003-10-02 06:59



--
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]