Ignore:
Timestamp:
Sep 25, 2000, 9:00:27 PM (25 years ago)
Author:
sandervl
Message:

no need to save fs twice

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/oslibdos.cpp

    r4323 r4324  
    1 /* $Id: oslibdos.cpp,v 1.45 2000-09-25 18:58:53 sandervl Exp $ */
     1/* $Id: oslibdos.cpp,v 1.46 2000-09-25 19:00:27 sandervl Exp $ */
    22/*
    33 * Wrappers for OS/2 Dos* API
     
    19721972        *lpNumberOfFreeClusters  = fsAlloc.cUnitAvail;
    19731973        *lpTotalNumberOfClusters = fsAlloc.cUnit;
    1974   SetLastError(ERROR_SUCCESS_W);
     1974        SetLastError(ERROR_SUCCESS_W);
    19751975        return TRUE;
    19761976   }
     
    20142014{
    20152015  APIRET rc;
    2016   USHORT sel = RestoreOS2FS();
    20172016
    20182017  rc = DosDevIOCtl( (HFILE)hFile, dwCat, dwFunc,
    20192018                     pParm, dwParmMaxLen, pdwParmLen,
    20202019                     pData, dwDataMaxLen, pdwDataLen);
    2021   SetFS(sel);
     2020
    20222021  SetLastError(error2WinError(rc,ERROR_INVALID_HANDLE));
    20232022  return (DWORD)rc;
Note: See TracChangeset for help on using the changeset viewer.