Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: Chris Faylor Date: Tue, 19 Sep 2000 07:29:41 -0400 To: "'cygwin AT sources DOT redhat DOT com'" Subject: Re: Change to argv[0] in recent snapshots (was RE: sig_send: wait for sig_complete event failed) Message-ID: <20000919072941.A28153@cygnus.com> Reply-To: cygwin AT sources DOT redhat DOT com Mail-Followup-To: "'cygwin AT sources DOT redhat DOT com'" References: <13179A03C694D211B84700105A1E6C8B2FCFC2 AT cfx-server DOT cfds DOT harwell DOT aeat DOT co DOT uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.6i In-Reply-To: <13179A03C694D211B84700105A1E6C8B2FCFC2@cfx-server.cfds.harwell.aeat.co.uk>; from andy.mortimer@aeat.co.uk on Tue, Sep 19, 2000 at 09:37:08AM +0100 On Tue, Sep 19, 2000 at 09:37:08AM +0100, Mortimer, Andy wrote: >Hi List, > >Chris Faylor writes: >> I've made a change to recent snapshots which will cause >> cygwin to core dump >> in this situation rather than try to send a signal to itself >> which is never >> caught. >> >> If you have the time, please try out a snapshot. > >I tried out a new snapshot last night (from Sep 17), and unfortunately >a change which has gone back since the 1.1.4 release seems to have >broken the (fairly popular, in my experience at least) idiom for scripts >which have associated data files: > SCRIPT_ROOT=`dirname $0` >Witness: > [1]:~$ cat /tmp/test.sh > #!/bin/sh > echo $0 > echo `dirname $0` > pwd > [1]:~$ /tmp/test.sh > C:\cygwin\tmp\test.sh > . > /cygdrive/u It's a bug. cgf -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com