Ignore:
Timestamp:
Feb 17, 2003, 12:31:43 PM (23 years ago)
Author:
sandervl
Message:

FindFirstFile: return ERROR_FILE_NOT_FOUND if DosFindFirst returns ERROR_PATH_NOT_FOUND

File:
1 edited

Legend:

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

    r9693 r9815  
    1 /* $Id: oslibdos.cpp,v 1.114 2003-01-20 10:46:27 sandervl Exp $ */
     1/* $Id: oslibdos.cpp,v 1.115 2003-02-17 11:31:43 sandervl Exp $ */
    22/*
    33 * Wrappers for OS/2 Dos* API
     
    22192219   
    22202220    //Windows returns ERROR_FILE_NOT_FOUND if the file/directory is not present
    2221     if(rc == ERROR_NO_MORE_FILES) {
     2221    if(rc == ERROR_NO_MORE_FILES || rc == ERROR_PATH_NOT_FOUND) {
    22222222         SetLastError(ERROR_FILE_NOT_FOUND_W);
    22232223    }
     
    23402340   char       *lpszBackslash, *lpszColon;
    23412341   APIRET      rc;
     2342
     2343//testestest
     2344   if(strlen(lpFileName) > CCHMAXPATH) DebugInt3();
     2345//testestset
    23422346
    23432347   //Convert file name from Windows to OS/2 codepage
Note: See TracChangeset for help on using the changeset viewer.