Summary

normalize-pathname x:/ deletes drive letter (on Windows)

Metadata

Description

Drive letter is deleted if directory is missing or \\ or /.

 #;2> (normalize-pathname "x:" 'windows)
 "\\."
 #;3> (normalize-pathname "x:/" 'windows)
 "\\."
 #;4> (normalize-pathname "c:/" 'windows)
 "\\."
 #;5> (normalize-pathname "c:\\" 'windows)
 "\\."
 
 ;; this one is ok
 
 #;6> (normalize-pathname "c:/chicken4" 'windows)
 "c:\\chicken4"

Changes and comments

[2011-06-18 19:42:19 UTC] felix changed status from new to closed

[2011-06-18 19:42:19 UTC] felix set resolution to fixed

[2012-09-24 21:47:48 UTC] felix changed milestone from 4.8.0 to 4.9.0

[2012-09-24 21:47:48 UTC] felix wrote:

Milestone 4.8.0 deleted