Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Ticket #320 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

FileSystem.toAbsolute does not propertly handle FilePath(".")

Reported by: Bradley Smith Assigned to: kris
Priority: major Milestone: 0.96 Beta 2
Component: IO Version: trunk
Keywords: Cc:

Description

Example:

import tango.io.FilePath;
import tango.io.FileSystem;
import tango.io.Stdout;

void main() {
  FilePath dir = FileSystem.toAbsolute(new FilePath("."));
  Stdout(dir).newline;
}

Output when run from C:\

C:\\..

Change History

03/09/07 19:23:30 changed by kris

  • status changed from new to assigned.
  • milestone set to 0.96 Beta 2.

03/09/07 19:24:20 changed by kris

  • status changed from assigned to closed.
  • resolution set to fixed.

thanks for reporting this