Silence fixme in unnecessary situation, add missing \n to another fixme.

This commit is contained in:
Jason Edmeades 2002-05-28 22:38:54 +00:00 committed by Alexandre Julliard
parent 07439cd2d0
commit 922a5e4681
1 changed files with 2 additions and 7 deletions

View File

@ -813,11 +813,6 @@ BOOL WINAPI SetFileAttributesA(LPCSTR lpFileName, DWORD attributes)
return FALSE; return FALSE;
TRACE("(%s,%lx)\n",lpFileName,attributes); 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) if(stat(full_name.long_name,&buf)==-1)
{ {
FILE_SetDosError(); FILE_SetDosError();
@ -840,11 +835,11 @@ BOOL WINAPI SetFileAttributesA(LPCSTR lpFileName, DWORD attributes)
if (attributes & FILE_ATTRIBUTE_DIRECTORY) if (attributes & FILE_ATTRIBUTE_DIRECTORY)
{ {
if (!S_ISDIR(buf.st_mode)) 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); lpFileName);
attributes &= ~FILE_ATTRIBUTE_DIRECTORY; 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) if (attributes)
FIXME("(%s):%lx attribute(s) not implemented.\n", lpFileName,attributes); FIXME("(%s):%lx attribute(s) not implemented.\n", lpFileName,attributes);
if (-1==chmod(full_name.long_name,buf.st_mode)) if (-1==chmod(full_name.long_name,buf.st_mode))