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

    r689 r841  
    1818#define INCL_WIN
    1919#define INCL_DOS
     20#define INCL_LONGLONG
    2021
    2122#include <os2.h>
     
    3334{
    3435
    35   ULONG openflag = OPEN_ACTION_OPEN_IF_EXISTS, openmode = 0, action = 0;
     36  ULONG openflag = OPEN_ACTION_OPEN_IF_EXISTS, openmode = 0;
     37  ULONGLONG action = 0;
    3638  HFILE handle;
    3739  FILE *fp;
     
    6668  else
    6769    openmode |= OPEN_FLAGS_RANDOMSEQUENTIAL;
    68   if (DosOpen(filename, &handle, &action, 0L, FILE_NORMAL, openflag, openmode,
    69               (PEAOP2) 0))
     70  if (DosOpenL(filename, &handle, &action, 0, FILE_NORMAL, openflag, openmode,
     71               (PEAOP2) 0))
    7072    return NULL;
    7173  if (mode[strlen(mode) - 1] == 't')
Note: See TracChangeset for help on using the changeset viewer.