Skip Menu |
 

This queue is for tickets about the PathTools CPAN distribution.

Report information
The Basics
Id: 12305
Status: resolved
Priority: 0/
Queue: PathTools

People
Owner: Nobody in particular
Requestors:
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: Win32 rootdir() wrong?
Download (untitled) / with headers
text/plain 351b
File::Spec->rootdir returns '/' on Win32. I would have assumed '\'. There is no override of rootdir() in File::Spec::Win32 so its just using Unix's. While a volume-based filesystem doesn't have as strong a concept of a root directory as Unix does, its definately not /. \ is as close as you can get, at least its the rootdir of the current volume.
Agreed, I'll make the change. -Ken


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

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.