Fix .. in path names

Dimitrie O. Paun dimi at intelliware.ca
Wed Jan 28 08:46:50 CST 2004


On Wed, 28 Jan 2004, Mike McCormack wrote:

> This patch fixes the problem with non-existant directories and .. in 
> pathnames. (and it makes my test case work, Dimi!)


> +    /* don't mess with unix path names */
> +    if( strchrW(name,'/') )
> +        return DOSFS_GetFullNameNoDots( name, check_last, full );

I don't think this is a good test for Unix path names.
AFAAIK, DOS supports '/' as well as path separator.
Maybe we should export a wine_is_unix_path() function...

-- 
Dimi.





More information about the wine-devel mailing list