Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Reply-To: From: "Norman Vine" To: Subject: RE: cygpath hangings: A fix - bash patch enclosed -- bash maintainer please note! Date: Sat, 18 Oct 2003 04:54:17 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal In-Reply-To: <20031018060607.GA28198@redhat.com> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Virus-Scanned: Cape.Com VirusScan, no known virus found Note-from-DJ: This may be spam 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/