Changeset 21916 for trunk/src/kernel32/oslibdos.cpp
- Timestamp:
- Dec 18, 2011, 10:28:22 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:ignore
-
old new 1 bin 2 Makefile.inc 1 env.cmd 2 LocalConfig.kmk
-
-
Property svn:mergeinfo
set to
/branches/gcc-kmk merged eligible
- Property svn:ignore
-
trunk/src/kernel32/oslibdos.cpp
r21675 r21916 88 88 static CDDRVLTR cdDrvLtr = {0xffff, 0xffff}; 89 89 90 extern "C" { 90 91 91 92 /******************************************************************************* … … 98 99 static ULONG crc32str(const char *psz); 99 100 100 char* ODINHelperStripUNC(char*strUNC)101 { 102 char *retStr = strUNC;101 LPCSTR ODINHelperStripUNC(LPCSTR strUNC) 102 { 103 LPCSTR retStr = strUNC; 103 104 104 105 if (!strUNC) return NULL; … … 460 461 //****************************************************************************** 461 462 //****************************************************************************** 462 DWORD OSLibDosOpen( char *lpszFileName, DWORD flags)463 DWORD OSLibDosOpen(LPCSTR lpszFileName, DWORD flags) 463 464 { 464 465 APIRET rc; … … 721 722 //****************************************************************************** 722 723 //****************************************************************************** 723 BOOL OSLibDosDelete( char *lpszFileName)724 BOOL OSLibDosDelete(LPCSTR lpszFileName) 724 725 { 725 726 APIRET rc; … … 850 851 DWORD WIN32API GetEnvironmentVariableA(LPCSTR, LPSTR, DWORD ); 851 852 //****************************************************************************** 852 DWORD OSLibDosSearchPath(DWORD cmd, char *path, char *name, char *full_name,853 DWORD length_fullname)853 DWORD OSLibDosSearchPath(DWORD cmd, LPCSTR path, LPCSTR name, 854 LPSTR full_name, DWORD length_fullname) 854 855 { 855 856 switch(cmd) { … … 947 948 APIRET rc = ERROR_NOT_ENOUGH_MEMORY; 948 949 949 CHAR*lpszFileLoc = ODINHelperStripUNC(lpszFile);950 LPCSTR lpszFileLoc = ODINHelperStripUNC(lpszFile); 950 951 951 952 //TODO: lpSecurityAttributes (inheritance) … … 3589 3590 } 3590 3591 3592 } // extern "C" 3593
Note:
See TracChangeset
for help on using the changeset viewer.