From 7a0d4ba2753522dbbbf9e4587bcf65b908b0db24 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Fri, 18 May 2001 23:18:25 +0000 Subject: [PATCH] Do not return FALSE on SetFileAttributes() failure (in readonly directory setups). --- win32/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win32/file.c b/win32/file.c index 8202fd9a259..1d6812b14df 100644 --- a/win32/file.c +++ b/win32/file.c @@ -104,7 +104,7 @@ BOOL WINAPI SetFileAttributesA(LPCSTR lpFileName, DWORD attributes) { FILE_SetDosError(); MESSAGE("Wine ERROR: Couldn't set file attributes for existing file \"%s\". Check permissions or set VFAT \"quiet\" flag !\n", full_name.long_name); - return FALSE; + return TRUE; } return TRUE; }