This is the mail archive of the cygwin@sources.redhat.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]

Re: Change to argv[0] in recent snapshots (was RE: sig_send: wait for sig_complete event failed)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]