- Timestamp:
- Feb 17, 2003, 12:31:43 PM (23 years ago)
- Location:
- trunk/src/kernel32
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/Fileio.cpp
r9095 r9815 1 /* $Id: Fileio.cpp,v 1.6 8 2002-08-22 14:21:26sandervl Exp $ */1 /* $Id: Fileio.cpp,v 1.69 2003-02-17 11:31:42 sandervl Exp $ */ 2 2 3 3 /* … … 662 662 //****************************************************************************** 663 663 //****************************************************************************** 664 UINT WIN32API GetTempFileNameA(LPCSTR arg1, LPCSTR arg2, UINT arg3, LPSTR arg4) 665 { 666 return O32_GetTempFileName(arg1, arg2, arg3, arg4); 664 UINT 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); 667 669 } 668 670 //****************************************************************************** … … 677 679 asciipath = UnicodeToAsciiString((LPWSTR)lpPathName); 678 680 asciiprefix = UnicodeToAsciiString((LPWSTR)lpPrefixString); 679 rc = O32_GetTempFileName(asciipath, asciiprefix, uUnique, asciitemp);681 rc = GetTempFileNameA(asciipath, asciiprefix, uUnique, asciitemp); 680 682 if(rc) AsciiToUnicode(asciitemp, lpTempFileName); 681 683 FreeAsciiString(asciiprefix); … … 893 895 asciibuffer, &asciipart); 894 896 895 dprintf(("KERNEL32: GetFullPathNameW %s returns %s\n ",897 dprintf(("KERNEL32: GetFullPathNameW %s returns %s\n%s", 896 898 astring, 897 asciibuffer ));899 asciibuffer, asciipart)); 898 900 899 901 if(rc && asciibuffer) -
trunk/src/kernel32/oslibdos.cpp
r9693 r9815 1 /* $Id: oslibdos.cpp,v 1.11 4 2003-01-20 10:46:27sandervl Exp $ */1 /* $Id: oslibdos.cpp,v 1.115 2003-02-17 11:31:43 sandervl Exp $ */ 2 2 /* 3 3 * Wrappers for OS/2 Dos* API … … 2219 2219 2220 2220 //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) { 2222 2222 SetLastError(ERROR_FILE_NOT_FOUND_W); 2223 2223 } … … 2340 2340 char *lpszBackslash, *lpszColon; 2341 2341 APIRET rc; 2342 2343 //testestest 2344 if(strlen(lpFileName) > CCHMAXPATH) DebugInt3(); 2345 //testestset 2342 2346 2343 2347 //Convert file name from Windows to OS/2 codepage
Note:
See TracChangeset
for help on using the changeset viewer.