ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@apache.org>
Subject Re: FileUtils.normalize
Date Mon, 21 Feb 2005 10:44:42 GMT
Martijn Kruithof wrote:
> Matt Benson wrote:
> 
>> FileUtils.resolveFile claims to return absolute files;
>> however calling FileUtils.resolveFile(null, "\\") on
>> DOS returns the non-absolute File "\\".  So we lie. :)
>>
>> -Matt
>>  
>>
> 
> No file on windows is allowed to have \ in the name, so \\ would not be a
> valid file on dos at all (so not a non-absolute one, but none at all).
> 

FYI the DOS forbidden list is

\/:*?"<>|


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message