From 922a5e46817495ab1aed0b03a716135e80a54724 Mon Sep 17 00:00:00 2001 From: Jason Edmeades Date: Tue, 28 May 2002 22:38:54 +0000 Subject: [PATCH] Silence fixme in unnecessary situation, add missing \n to another fixme. --- files/file.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/files/file.c b/files/file.c index ef6dc52fa05..7f7cca7de70 100644 --- a/files/file.c +++ b/files/file.c @@ -813,11 +813,6 @@ BOOL WINAPI SetFileAttributesA(LPCSTR lpFileName, DWORD attributes) return FALSE; TRACE("(%s,%lx)\n",lpFileName,attributes); - if (attributes & FILE_ATTRIBUTE_NORMAL) { - attributes &= ~FILE_ATTRIBUTE_NORMAL; - if (attributes) - FIXME("(%s):%lx illegal combination with FILE_ATTRIBUTE_NORMAL.\n", lpFileName,attributes); - } if(stat(full_name.long_name,&buf)==-1) { FILE_SetDosError(); @@ -840,11 +835,11 @@ BOOL WINAPI SetFileAttributesA(LPCSTR lpFileName, DWORD attributes) if (attributes & FILE_ATTRIBUTE_DIRECTORY) { if (!S_ISDIR(buf.st_mode)) - FIXME("SetFileAttributes expected the file '%s' to be a directory", + FIXME("SetFileAttributes expected the file '%s' to be a directory\n", lpFileName); attributes &= ~FILE_ATTRIBUTE_DIRECTORY; } - attributes &= ~(FILE_ATTRIBUTE_ARCHIVE|FILE_ATTRIBUTE_HIDDEN|FILE_ATTRIBUTE_SYSTEM); + attributes &= ~(FILE_ATTRIBUTE_NORMAL|FILE_ATTRIBUTE_ARCHIVE|FILE_ATTRIBUTE_HIDDEN|FILE_ATTRIBUTE_SYSTEM); if (attributes) FIXME("(%s):%lx attribute(s) not implemented.\n", lpFileName,attributes); if (-1==chmod(full_name.long_name,buf.st_mode))