comparison src/fileio.c @ 4864:a03421eb562b

Fix VS6 build breakage in fileio.c
author Vin Shelton <acs@xemacs.org>
date Thu, 14 Jan 2010 20:55:10 -0500
parents b3ea9c582280
children 7822019c5d98
comparison
equal deleted inserted replaced
4863:5ab6dc5d789e 4864:a03421eb562b
2342 DWORD dwPrivSetSize = sizeof( PRIVILEGE_SET ); 2342 DWORD dwPrivSetSize = sizeof( PRIVILEGE_SET );
2343 BOOL fAccessGranted = FALSE; 2343 BOOL fAccessGranted = FALSE;
2344 DWORD dwAccessAllowed; 2344 DWORD dwAccessAllowed;
2345 Extbyte *fnameext; 2345 Extbyte *fnameext;
2346 2346
2347 LOCAL_FILE_FORMAT_TO_TSTR (filename, fnameext); 2347 LOCAL_FILE_FORMAT_TO_TSTR ((Ibyte *)filename, fnameext);
2348 2348
2349 // First check for a normal file with the old-style readonly bit 2349 // First check for a normal file with the old-style readonly bit
2350 attributes = qxeGetFileAttributes(fnameext); 2350 attributes = qxeGetFileAttributes(fnameext);
2351 if (FILE_ATTRIBUTE_READONLY == (attributes & (FILE_ATTRIBUTE_DIRECTORY|FILE_ATTRIBUTE_READONLY))) 2351 if (FILE_ATTRIBUTE_READONLY == (attributes & (FILE_ATTRIBUTE_DIRECTORY|FILE_ATTRIBUTE_READONLY)))
2352 return 0; 2352 return 0;