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/Fileio.cpp

    r9095 r9815  
    1 /* $Id: Fileio.cpp,v 1.68 2002-08-22 14:21:26 sandervl Exp $ */
     1/* $Id: Fileio.cpp,v 1.69 2003-02-17 11:31:42 sandervl Exp $ */
    22
    33/*
     
    662662//******************************************************************************
    663663//******************************************************************************
    664 UINT WIN32API GetTempFileNameA(LPCSTR arg1, LPCSTR arg2, UINT arg3, LPSTR arg4)
    665 {
    666   return O32_GetTempFileName(arg1, arg2, arg3, arg4);
     664UINT WIN32API GetTempFileNameA(LPCSTR lpPathName, LPCSTR lpPrefixString,
     665                               UINT uUnique, LPSTR lpTempFileName)
     666{
     667    dprintf(("GetTempFileNameA %s %s", lpPathName, lpPrefixString));
     668    return O32_GetTempFileName(lpPathName, lpPrefixString, uUnique, lpTempFileName);
    667669}
    668670//******************************************************************************
     
    677679  asciipath   = UnicodeToAsciiString((LPWSTR)lpPathName);
    678680  asciiprefix = UnicodeToAsciiString((LPWSTR)lpPrefixString);
    679   rc = O32_GetTempFileName(asciipath, asciiprefix, uUnique, asciitemp);
     681  rc = GetTempFileNameA(asciipath, asciiprefix, uUnique, asciitemp);
    680682  if(rc)      AsciiToUnicode(asciitemp, lpTempFileName);
    681683  FreeAsciiString(asciiprefix);
     
    893895                        asciibuffer, &asciipart);
    894896
    895   dprintf(("KERNEL32: GetFullPathNameW %s returns %s\n",
     897  dprintf(("KERNEL32: GetFullPathNameW %s returns %s\n%s",
    896898           astring,
    897            asciibuffer));
     899           asciibuffer, asciipart));
    898900
    899901  if(rc && asciibuffer)
Note: See TracChangeset for help on using the changeset viewer.