Changeset 826 for trunk/dll/copyf.c


Ignore:
Timestamp:
Sep 1, 2007, 11:50:33 PM (18 years ago)
Author:
Gregg Young
Message:

Add xDosSetPathInfo to work around FILESTATUSx buffer crossing 64k boundry

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/copyf.c

    r793 r826  
    1717  14 Jul 06 SHL Use Runtime_Error
    1818  20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat
     19  01 Sep 07 GKY Add xDosSetPathInfo to fix case where FS3 buffer crosses 64k boundry
    1920
    2021***********************************************************************/
     
    299300    eaop.oError = 0L;
    300301    DosError(FERR_DISABLEHARDERR);
    301     rc = DosSetPathInfo(filename,
     302    rc = xDosSetPathInfo(filename,
    302303                        FIL_QUERYEASIZE,
    303304                        (PVOID) & eaop, (ULONG) sizeof(EAOP2), DSPI_WRTTHRU);
     
    667668    fsi.attrFile = 0;
    668669    DosError(FERR_DISABLEHARDERR);
    669     if (!DosSetPathInfo(filename,
     670    if (!xDosSetPathInfo(filename,
    670671                        FIL_STANDARD, &fsi, sizeof(FILESTATUS3), 0L))
    671672      ret = 0;
Note: See TracChangeset for help on using the changeset viewer.