file.c:246: Test failed: shouldn't be able to delete a readonly file

Huw D M Davies h.davies1 at physics.ox.ac.uk
Thu Mar 23 13:11:15 CST 2006


On Thu, Mar 23, 2006 at 01:59:12PM -0500, Bryan Mayland wrote:
> Huw D M Davies wrote:
> >How are you trying to delete them?  The question is whether the
> >DeleteFile() function works as tested - the way to find this is to run
> >that test on Windows XP.
> >  
>    DeleteFile on an read-only file under XP returns false.  
> GetLastError returns 5 (Access denied)

Right, which is what we're testing for (well ok we don't test
GetLastError).

Huw.



More information about the wine-devel mailing list