Reject wildcards in directory names

Alexandre Julliard julliard at winehq.org
Fri Nov 21 11:33:43 CST 2003


"Rolf Kalbermatter" <rolf.kalbermatter at citeng.com> writes:

> My tests show that RemoveDirectory just as CreateDirectory rejects all
> paths which contain one of the wildcards ": * ? \" < > |" with error 123
> completely independent where that character occurs (not just in the path
> element which is created).
> And as far as I can say DeleteFile just as much behaves also this way.
> So should we attempt to be smarter than Windows in this case?

Yes, because under Unix you can actually create files that contain
wildcards, so it should be possible to access them. We just need to
prevent the Windows app itself from creating them.

-- 
Alexandre Julliard
julliard at winehq.com



More information about the wine-devel mailing list