cygwin 1.7.35 absolute/relative path bug
Corinna Vinschen
corinna-cygwin@cygwin.com
Tue Mar 17 13:43:00 GMT 2015
On Mar 17 15:05, Dmitry Bely wrote:
> Consider the following test case:
>
> [Makefile]
> .PHONY: default
> default:
> ./test.sh
>
> [test.sh]
> #!/bin/sh
> uname -a
> pwd
> echo $0
>
> make under Cygwin 1.7.34-6 produced the following results:
>
> ./test.sh
> CYGWIN_NT-6.3 bely-win81 1.7.34(0.285/5/3) 2015-02-04 12:14 x86_64 Cygwin
> /cygdrive/c/Work/Test/Cygwin
> ./test.sh
>
> But now Cygwin 1.7.35-1 gives:
>
> ./test.sh
> CYGWIN_NT-6.3 bely-win81 1.7.35(0.287/5/3) 2015-03-04 12:09 x86_64 Cygwin
> /cygdrive/c/Work/Test/Cygwin
> /cygdrive/c/Work/Test/Cygwin/test.sh
>
> Note that $0 was relative with 1.7.34, but now it's absolute. I
> believe it's a bug, isn't it?
Incidentally I think I fixed this problem just a few hours ago, thanks
to the report from LRN in
https://cygwin.com/ml/cygwin/2015-03/msg00270.html.
Please try the latest developer snapshot from
https://cygwin.com/snapshots/
Thanks,
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20150317/8fd61048/attachment.sig>
More information about the Cygwin
mailing list