Opened 4 years ago

Closed 20 months ago

#7604 closed bug (fixed)

System.Directory.canonicalizePath "" behaviour differs between platforms

Reported by: igloo Owned by: ekmett
Priority: normal Milestone: 7.10.1
Component: Core Libraries Version: 7.6.1
Keywords: Cc: core-libraries-committee@…
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case: T4113
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:

Description (last modified by igloo)

On Linux, System.Directory.canonicalizePath "" gives an exception. On i386 OS X, it returns the current directory.

In a System.Directory function, we should consistently do one or the other.

Change History (7)

comment:1 Changed 4 years ago by igloo

  • Description modified (diff)

comment:2 Changed 4 years ago by igloo

  • Milestone set to 7.8.1

comment:3 Changed 2 years ago by thoughtpolice

  • Milestone changed from 7.8.3 to 7.10.1

Moving to 7.10.1

comment:4 Changed 2 years ago by thoughtpolice

  • Component changed from libraries/directory to Core Libraries
  • Owner set to ekmett

Moving over to new owning component 'Core Libraries'.

comment:5 Changed 22 months ago by thoughtpolice

  • Milestone changed from 7.10.1 to 7.12.1

Moving to 7.12.1 milestone; if you feel this is an error and should be addressed sooner, please move it back to the 7.10.1 milestone.

comment:6 Changed 20 months ago by ekmett

  • Cc core-libraries-committee@… added

comment:7 Changed 20 months ago by argiopeweb

  • Milestone changed from 7.12.1 to 7.10.1
  • Resolution set to fixed
  • Status changed from new to closed

Calling canonicalizePath on an empty string now explicitly returns the result of calling canonicalizePath on the current directory (".") as in OS X.

Note: See TracTickets for help on using tickets.