Changeset 827 for trunk/dll/attribs.c


Ignore:
Timestamp:
Sep 2, 2007, 8:32:14 PM (18 years ago)
Author:
Steven Levine
Message:

Future proof xDosSetPathInfo
Clean up callers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/attribs.c

    r826 r827  
    1111  14 Jul 06 SHL Use Runtime_Error
    1212  20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat
    13   01 Sep 07 GKY Add xDosSetPathInfo to fix case where FS3 buffer crosses 64k boundry
     13  01 Sep 07 GKY Use xDosSetPathInfo to fix case where FS3 buffer crosses 64k boundry
    1414
    1515***********************************************************************/
     
    378378          else if (state == 1)
    379379            fi.attrFile |= FILE_ARCHIVED;
    380           xDosSetPathInfo(li->list[x], FIL_STANDARD, (PVOID) & fi,
    381                          (ULONG) sizeof(FILESTATUS3), 0L);
     380          xDosSetPathInfo(li->list[x], FIL_STANDARD, &fi, sizeof(fi), 0);
    382381        }
    383382        WinDismissDlg(hwnd, 1);
Note: See TracChangeset for help on using the changeset viewer.