This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: Change to argv[0] in recent snapshots (was RE: sig_send: wait for sig_complete event failed)
- To: "'cygwin at sources dot redhat dot com'" <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)
- From: Chris Faylor <cgf at cygnus dot com>
- Date: Tue, 19 Sep 2000 07:29:41 -0400
- References: <13179A03C694D211B84700105A1E6C8B2FCFC2@cfx-server.cfds.harwell.aeat.co.uk>
- Reply-To: cygwin at sources dot redhat dot com
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@sourceware.cygnus.com