Changeset 843 for trunk/dll/copyf.c


Ignore:
Timestamp:
Sep 24, 2007, 12:46:47 AM (18 years ago)
Author:
Steven Levine
Message:

Revert to standard APIs where large file support not required by ticket #41

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/copyf.c

    r841 r843  
    5151char *MakeTempName(char *buffer)
    5252{
    53   FILESTATUS3L fs3;
     53  FILESTATUS3 fs3;
    5454  APIRET rc;
    5555  char *p, *o;
     
    6060  for (;;) {
    6161    DosError(FERR_DISABLEHARDERR);
    62     rc = DosQueryPathInfo(buffer, FIL_STANDARDL, &fs3, (ULONG) sizeof(fs3));
     62    rc = DosQueryPathInfo(buffer, FIL_STANDARD, &fs3, sizeof(fs3));
    6363    if (rc == ERROR_DISK_CHANGE) {
    6464      DosError(FERR_ENABLEHARDERR);
    65       rc = DosQueryPathInfo(buffer, FIL_STANDARDL, &fs3, (ULONG) sizeof(fs3));
     65      rc = DosQueryPathInfo(buffer, FIL_STANDARD, &fs3, sizeof(fs3));
    6666    }
    6767    if (rc)
     
    9191{
    9292  CHAR *p, *f, *s, *o;
    93   FILESTATUS3L fs3;
     93  FILESTATUS3 fs3;
    9494  APIRET rc;
    9595
     
    154154  for (;;) {
    155155    DosError(FERR_DISABLEHARDERR);
    156     rc = DosQueryPathInfo(buffer, FIL_STANDARDL, &fs3, (ULONG) sizeof(fs3));
     156    rc = DosQueryPathInfo(buffer, FIL_STANDARD, &fs3, sizeof(fs3));
    157157    if (rc == ERROR_DISK_CHANGE) {
    158158      DosError(FERR_ENABLEHARDERR);
    159       rc = DosQueryPathInfo(buffer, FIL_STANDARDL, &fs3, (ULONG) sizeof(fs3));
     159      rc = DosQueryPathInfo(buffer, FIL_STANDARD, &fs3, sizeof(fs3));
    160160    }
    161161    if (rc)
Note: See TracChangeset for help on using the changeset viewer.