Ignore:
Timestamp:
Oct 29, 2001, 9:08:40 PM (24 years ago)
Author:
sandervl
Message:

minor updates

File:
1 edited

Legend:

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

    r7202 r7270  
    1 /* $Id: oslibdos.cpp,v 1.80 2001-10-25 13:19:05 sandervl Exp $ */
     1/* $Id: oslibdos.cpp,v 1.81 2001-10-29 20:08:40 sandervl Exp $ */
    22/*
    33 * Wrappers for OS/2 Dos* API
     
    729729  if(rc)
    730730  {
    731     SetLastError(error2WinError(rc));
    732     return -1;
    733   }
    734   else  return newoffset;
     731      SetLastError(error2WinError(rc));
     732      return -1;
     733  }
     734  SetLastError(ERROR_SUCCESS_W);
     735  return newoffset;
    735736}
    736737//******************************************************************************
     
    742743  rc = DosDelete(lpszFileName);
    743744  if(rc) {
    744   SetLastError(error2WinError(rc));
    745   return FALSE;
     745      SetLastError(error2WinError(rc));
     746      return FALSE;
    746747  }
    747748  return TRUE;
Note: See TracChangeset for help on using the changeset viewer.