public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* cygwin 1.7.35 absolute/relative path bug
@ 2015-03-17 12:06 Dmitry Bely
  2015-03-17 13:43 ` Corinna Vinschen
  0 siblings, 1 reply; 4+ messages in thread
From: Dmitry Bely @ 2015-03-17 12:06 UTC (permalink / raw)
  To: cygwin

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?

- Dmitry Bely

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: cygwin 1.7.35 absolute/relative path bug
  2015-03-17 12:06 cygwin 1.7.35 absolute/relative path bug Dmitry Bely
@ 2015-03-17 13:43 ` Corinna Vinschen
  2015-03-17 16:08   ` Dmitry Bely
  0 siblings, 1 reply; 4+ messages in thread
From: Corinna Vinschen @ 2015-03-17 13:43 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 1115 bytes --]

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

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: cygwin 1.7.35 absolute/relative path bug
  2015-03-17 13:43 ` Corinna Vinschen
@ 2015-03-17 16:08   ` Dmitry Bely
  2015-03-17 17:06     ` Corinna Vinschen
  0 siblings, 1 reply; 4+ messages in thread
From: Dmitry Bely @ 2015-03-17 16:08 UTC (permalink / raw)
  To: cygwin

Corinna,

Thanks, your snapshot works for me.

- Dmitry Bely

On Tue, Mar 17, 2015 at 4:29 PM, Corinna Vinschen
<corinna-cygwin@cygwin.com> wrote:
> 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

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: cygwin 1.7.35 absolute/relative path bug
  2015-03-17 16:08   ` Dmitry Bely
@ 2015-03-17 17:06     ` Corinna Vinschen
  0 siblings, 0 replies; 4+ messages in thread
From: Corinna Vinschen @ 2015-03-17 17:06 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 298 bytes --]

On Mar 17 18:23, Dmitry Bely wrote:
> Corinna,
> 
> Thanks, your snapshot works for me.

Good to know, thanks for your feedback.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-03-17 16:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-17 12:06 cygwin 1.7.35 absolute/relative path bug Dmitry Bely
2015-03-17 13:43 ` Corinna Vinschen
2015-03-17 16:08   ` Dmitry Bely
2015-03-17 17:06     ` Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).