@@ -1617,7 +1617,7 @@ GetFileAttributesExW(
1617
1617
attr_data = (LPWIN32_FILE_ATTRIBUTE_DATA)lpFileInformation;
1618
1618
1619
1619
attr_data->dwFileAttributes = GetFileAttributesW (lpFileName);
1620
- /* assume that GetFileAttributes will call SetLastError appropriately */
1620
+ /* assume that GetFileAttributesW will call SetLastError appropriately */
1621
1621
if ( attr_data->dwFileAttributes == (DWORD)-1 )
1622
1622
{
1623
1623
goto done;
@@ -1753,7 +1753,7 @@ SetFileAttributesA(
1753
1753
new_mode = stat_data.st_mode ;
1754
1754
TRACE (" st_mode is %#x\n " , new_mode);
1755
1755
1756
- /* if we can't do GetFileAttributes on it, don't do SetFileAttributes */
1756
+ /* if we can't do GetFileAttributesA on it, don't do SetFileAttributesA */
1757
1757
if ( !(new_mode & S_IFREG) && !(new_mode & S_IFDIR) )
1758
1758
{
1759
1759
ERROR (" Not a regular file or directory, S_IFMT is %#x\n " ,
@@ -3542,10 +3542,10 @@ CopyFileA(
3542
3542
}
3543
3543
3544
3544
/* Need to preserve the file attributes */
3545
- dwSrcFileAttributes = GetFileAttributes (lpExistingFileName);
3545
+ dwSrcFileAttributes = GetFileAttributesA (lpExistingFileName);
3546
3546
if (dwSrcFileAttributes == 0xffffffff )
3547
3547
{
3548
- ERROR (" GetFileAttributes failed for %s\n " , lpExistingFileName);
3548
+ ERROR (" GetFileAttributesA failed for %s\n " , lpExistingFileName);
3549
3549
goto done;
3550
3550
}
3551
3551
0 commit comments