Changeset 841 for trunk/dll/dirs.c


Ignore:
Timestamp:
Sep 23, 2007, 6:27:51 PM (18 years ago)
Author:
Gregg Young
Message:

This implements large file support; The wrappers to allow WARP3 compatibility are not done so this will not run on Warp3or Warp 4 pre fixpack 12(?)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/dirs.c

    r793 r841  
    1717#define INCL_DOS
    1818#define INCL_DOSERRORS
     19#define INCL_LONGLONG
    1920
    2021#include <os2.h>
     
    6869
    6970  APIRET ret;
    70   FILESTATUS3 fsa;
     71  FILESTATUS3L fsa;
    7172  CHAR path[CCHMAXPATH + 1], *p;
    7273
    7374  strcpy(path, s);
    7475  while (*path) {
    75     ret = DosQueryPathInfo(path, FIL_STANDARD, &fsa,
    76                            (ULONG) sizeof(FILESTATUS3));
     76    ret = DosQueryPathInfo(path, FIL_STANDARDL, &fsa,
     77                           (ULONG) sizeof(FILESTATUS3L));
    7778    if (ret || !(fsa.attrFile & FILE_DIRECTORY)) {
    7879      p = strrchr(path, '\\');
Note: See TracChangeset for help on using the changeset viewer.