Skip Menu |
Report information
Id: 130114
Status: open
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: mt1957 [at] gmail.com
Cc:
AdminCc:

Severity: (no value)
Tag: (no value)
Platform: (no value)
Patch Status: (no value)
VM: (no value)



Subject: IO::Path.resolve on windows prefixed with \
From: mt1957 <mt1957 [...] gmail.com>
To: rakudobug [...] perl.org
Date: Wed, 16 Nov 2016 12:01:08 +0100
Download (untitled) / with headers
text/plain 329b
Hi, On windows the path created by method resolve on windows is prefixed with a '\' which is wrong e.g. in project config-datalang-refine on appveyor the statement say 'Resolve: ', '.'.IO.resolve.Str; displays Resolve: \C:\projects\config-datalang-refine It shows a backslash before the volumename Regards, Marcel
RT-Send-CC: perl6-compiler [...] perl.org
Download (untitled) / with headers
text/plain 573b
On Wed, 16 Nov 2016 03:01:30 -0800, mt1957@gmail.com wrote: Show quoted text
> Hi, > > On windows the path created by method resolve on windows is prefixed > with a '\' which is wrong > > e.g. in project config-datalang-refine on appveyor the statement > > say 'Resolve: ', '.'.IO.resolve.Str; > > displays > > Resolve: \C:\projects\config-datalang-refine > > It shows a backslash before the volumename > > > Regards, > > Marcel > >
That's probably not the only thing broken. The comment in the method (and the docs) says "# XXXX: Not portable yet; assumes POSIX semantics"
Subject: Re: [perl #130114] IO::Path.resolve on windows prefixed with \
Date: Thu, 17 Nov 2016 10:50:35 +0100
To: perl6-bugs-followup [...] perl.org
From: mt1957 <mt1957 [...] gmail.com>
Download (untitled) / with headers
text/plain 778b
On 11/16/2016 09:17 PM, Zoffix Znet via RT wrote: Show quoted text
> On Wed, 16 Nov 2016 03:01:30 -0800, mt1957@gmail.com wrote:
>> Hi, >> >> On windows the path created by method resolve on windows is prefixed >> with a '\' which is wrong >> >> e.g. in project config-datalang-refine on appveyor the statement >> >> say 'Resolve: ', '.'.IO.resolve.Str; >> >> displays >> >> Resolve: \C:\projects\config-datalang-refine >> >> It shows a backslash before the volumename >> >> >> Regards, >> >> Marcel >> >>
> That's probably not the only thing broken. The comment in the method (and the docs) says "# XXXX: Not portable yet; assumes POSIX semantics" >
I.ve seen that too in the code, i'd just thought to mention it. In the mean time I can get by using the method abspath(). Thanks, Marcel


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org