Changeset 40304 in vbox for trunk/src/VBox/Runtime/r3
- Timestamp:
- Feb 29, 2012 8:02:14 PM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 76552
- Location:
- trunk/src/VBox/Runtime/r3
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/init.cpp
r39753 r40304 46 46 #ifdef RT_OS_OS2 47 47 # include <InnoTekLIBC/fork.h> 48 # define INCL_DOSMISC 49 # include <os2.h> 48 50 #endif 49 51 #include <locale.h> … … 334 336 SetErrorMode(SEM_FAILCRITICALERRORS | SEM_NOOPENFILEERRORBOX | fOldErrMode); 335 337 #elif defined(RT_OS_OS2) 336 # error "FIXME" 338 DosError(FERR_DISABLEHARDERR); 337 339 #endif 338 340 -
trunk/src/VBox/Runtime/r3/os2/filelock-os2.cpp
r33540 r40304 83 83 84 84 Assert(RTFILE_LOCK_WAIT); 85 if (fcntl( File, (fLock & RTFILE_LOCK_WAIT) ? F_SETLKW : F_SETLK, &fl) >= 0)85 if (fcntl(RTFileToNative(File), (fLock & RTFILE_LOCK_WAIT) ? F_SETLKW : F_SETLK, &fl) >= 0) 86 86 return VINF_SUCCESS; 87 87 … … 163 163 fl.l_pid = 0; 164 164 165 if (fcntl( File, F_SETLK, &fl) >= 0)165 if (fcntl(RTFileToNative(File), F_SETLK, &fl) >= 0) 166 166 return VINF_SUCCESS; 167 167 -
trunk/src/VBox/Runtime/r3/os2/sems-os2.cpp
r33393 r40304 52 52 RTDECL(int) RTSemEventCreateEx(PRTSEMEVENT phEventSem, uint32_t fFlags, RTLOCKVALCLASS hClass, const char *pszNameFmt, ...) 53 53 { 54 AssertReturn(!(fFlags & ~(RTSEMEVENT_FLAGS_NO_LOCK_VAL | RTSEMEVENT_FLAGS_BOOTSTRAP_HACK) , VERR_INVALID_PARAMETER);54 AssertReturn(!(fFlags & ~(RTSEMEVENT_FLAGS_NO_LOCK_VAL | RTSEMEVENT_FLAGS_BOOTSTRAP_HACK)), VERR_INVALID_PARAMETER); 55 55 Assert(!(fFlags & RTSEMEVENT_FLAGS_BOOTSTRAP_HACK) || (fFlags & RTSEMEVENT_FLAGS_NO_LOCK_VAL)); 56 56 -
trunk/src/VBox/Runtime/r3/os2/thread-os2.cpp
r39443 r40304 46 46 #include <iprt/alloc.h> 47 47 #include <iprt/asm-amd64-x86.h> 48 #include <iprt/cpuset.h> 48 49 #include <iprt/string.h> 49 50 #include <iprt/err.h> … … 208 209 RTR3DECL(int) RTThreadGetAffinity(PRTCPUSET pCpuSet) 209 210 { 210 return VINF_SUCCESS;211 }212 213 RTR3DECL(int) RTThreadGetAffinity(PRTCPUSET pCpuSet)214 {215 211 union 216 212 { -
trunk/src/VBox/Runtime/r3/stream.cpp
r39395 r40304 53 53 #include <stdio.h> 54 54 #include <errno.h> 55 #if def RT_OS_WINDOWS55 #if defined(RT_OS_WINDOWS) || defined(RT_OS_OS2) 56 56 # include <io.h> 57 57 # include <fcntl.h> 58 #endif 59 #ifdef RT_OS_WINDOWS 58 60 # include <Windows.h> 61 #endif 62 63 #ifdef RT_OS_OS2 64 # define _O_TEXT O_TEXT 65 # define _O_BINARY O_BINARY 59 66 #endif 60 67
Note:
See TracChangeset
for help on using the changeset viewer.