[MLton] Windows ports and paths

Andreas Rossberg rossberg@ps.uni-sb.de
Tue, 03 May 2005 12:06:20 +0200


> What you wrote doesn't work for dir="C:" and file=""... 
> InvalidArc is raised.

So much hassle for such a lame function...

While we're having so much fun with OS.Path on Windows, I just 
discovered another strange thing that had escaped me before: in the 
description of validVolume it says that "" is only a valid volume under 
Windows if the path is not absolute. Now, this would effectively rule 
out paths like "\b\c" or even "\", i.e. every absolute path had to 
contain a volume.

Anybody's got a clue what that could be about? Do they really mean it? 
It is contradicted by the example given in the last paragraph of the 
introduction.

   - Andreas

-- 
Andreas Rossberg, rossberg@ps.uni-sb.de

Let's get rid of those possible thingies!  -- TB