Changeset 39083 in vbox for trunk/src/VBox/Runtime/r3/posix
- Timestamp:
- Oct 22, 2011 12:28:46 AM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 74515
- Location:
- trunk/src/VBox/Runtime/r3/posix
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/posix/dir-posix.cpp
r36167 r39083 196 196 int rtDirNativeOpen(PRTDIR pDir, char *pszPathBuf) 197 197 { 198 NOREF(pszPathBuf); /* only used on windows */ 199 198 200 /* 199 201 * Convert to a native path and try opendir. -
trunk/src/VBox/Runtime/r3/posix/fileaio-posix.cpp
r37596 r39083 579 579 if (hAioCtx == NIL_RTFILEAIOCTX) 580 580 return RTFILEAIO_UNLIMITED_REQS; 581 else 582 return pCtxInt->cMaxRequests; 581 return pCtxInt->cMaxRequests; 583 582 } 584 583 585 584 RTDECL(int) RTFileAioCtxAssociateWithFile(RTFILEAIOCTX hAioCtx, RTFILE hFile) 586 585 { 586 NOREF(hAioCtx); NOREF(hFile); 587 587 return VINF_SUCCESS; 588 588 } -
trunk/src/VBox/Runtime/r3/posix/fileio-posix.cpp
r39030 r39083 686 686 RTR3DECL(int) RTFileIoCtl(RTFILE hFile, unsigned long ulRequest, void *pvData, unsigned cbData, int *piRet) 687 687 { 688 NOREF(cbData); 688 689 int rc = ioctl(RTFileToNative(hFile), ulRequest, pvData); 689 690 if (piRet) -
trunk/src/VBox/Runtime/r3/posix/fileio2-posix.cpp
r37596 r39083 135 135 PCRTTIMESPEC pChangeTime, PCRTTIMESPEC pBirthTime) 136 136 { 137 NOREF(pChangeTime); NOREF(pBirthTime); 138 137 139 /* 138 140 * We can only set AccessTime and ModificationTime, so if neither -
trunk/src/VBox/Runtime/r3/posix/process-creation-posix.cpp
r39032 r39083 85 85 * @returns IPRT status code 86 86 */ 87 static int rtCheckCredentials(const char *pszUser, const char *pszPasswd, gid_t * gid, uid_t *uid)87 static int rtCheckCredentials(const char *pszUser, const char *pszPasswd, gid_t *pGid, uid_t *pUid) 88 88 { 89 89 #if defined(RT_OS_LINUX) … … 111 111 return VERR_PERMISSION_DENIED; 112 112 113 * gid = pw->pw_gid;114 * uid = pw->pw_uid;113 *pGid = pw->pw_gid; 114 *pUid = pw->pw_uid; 115 115 return VINF_SUCCESS; 116 116 … … 135 135 return VERR_PERMISSION_DENIED; 136 136 137 * gid = ppw->pw_gid;138 * uid = ppw->pw_uid;137 *pGid = ppw->pw_gid; 138 *pUid = ppw->pw_uid; 139 139 return VINF_SUCCESS; 140 140 141 141 #else 142 NOREF(pszUser); NOREF(pszPasswd); NOREF(pGid); NOREF(pUid); 142 143 return VERR_PERMISSION_DENIED; 143 144 #endif -
trunk/src/VBox/Runtime/r3/posix/rtmempage-exec-mmap-heap-posix.cpp
r33279 r39083 175 175 176 176 /** 177 * Deletes the heap an all the memory it tracks.177 * Deletes the heap and all the memory it tracks. 178 178 * 179 179 * @returns IPRT status code. … … 182 182 int RTHeapPageDelete(PRTHEAPPAGE pHeap) 183 183 { 184 NOREF(pHeap); 184 185 return VERR_NOT_IMPLEMENTED; 185 186 } … … 312 313 { 313 314 int rc; 315 NOREF(pszTag); 314 316 315 317 /* … … 564 566 static DECLCALLBACK(int) rtMemPagePosixInitOnce(void *pvUser1, void *pvUser2) 565 567 { 568 NOREF(pvUser1); NOREF(pvUser2); 566 569 int rc = RTHeapPageInit(&g_MemPagePosixHeap, false /*fExec*/); 567 570 if (RT_SUCCESS(rc)) -
trunk/src/VBox/Runtime/r3/posix/semeventmulti-posix.cpp
r33540 r39083 429 429 #endif 430 430 RTThreadBlocking(hThreadSelf, RTTHREADSTATE_EVENT_MULTI, true); 431 /** @todo interruptible wait is not implementable... */ NOREF(fFlags); 431 432 rc = pthread_cond_wait(&pThis->Cond, &pThis->Mutex); 432 433 RTThreadUnblocked(hThreadSelf, RTTHREADSTATE_EVENT_MULTI);
Note:
See TracChangeset
for help on using the changeset viewer.