Changeset 841 for trunk/dll/avl.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/avl.c

    r832 r841  
    3636#define INCL_WINSTDDRAG
    3737#define INCL_DOS
     38#define INCL_LONGLONG
    3839#include <os2.h>
    3940
     
    168169    topsig = arcsighead;
    169170  DosError(FERR_DISABLEHARDERR);
    170   if (DosOpen(filespec,
    171               &handle,
    172               &action,
    173               0,
    174               0,
    175               OPEN_ACTION_FAIL_IF_NEW |
    176               OPEN_ACTION_OPEN_IF_EXISTS,
    177               OPEN_FLAGS_FAIL_ON_ERROR |
    178               OPEN_FLAGS_NOINHERIT |
    179               OPEN_FLAGS_RANDOMSEQUENTIAL |
    180               OPEN_SHARE_DENYNONE | OPEN_ACCESS_READONLY, 0))
     171  if (DosOpenL(filespec,
     172               &handle,
     173               &action,
     174               0,
     175               0,
     176               OPEN_ACTION_FAIL_IF_NEW |
     177               OPEN_ACTION_OPEN_IF_EXISTS,
     178               OPEN_FLAGS_FAIL_ON_ERROR |
     179               OPEN_FLAGS_NOINHERIT |
     180               OPEN_FLAGS_RANDOMSEQUENTIAL |
     181               OPEN_SHARE_DENYNONE | OPEN_ACCESS_READONLY, 0))
    181182    return NULL;
    182183  // Scan signatures
Note: See TracChangeset for help on using the changeset viewer.