- Timestamp:
- Mar 26, 2009 11:22:24 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR3LibDaemonize.cpp
r18320 r18359 238 238 | (0644 << RTFILE_O_CREATE_MODE_SHIFT)); 239 239 if (RT_SUCCESS(rc)) 240 rc = RTFileLock(hPidFile, RTFILE_LOCK_WRITE, 0, ~0); 240 /** @todo using size 0 for locking means lock all on Posix. 241 * We should adopt this as our convention too, or something 242 * similar. */ 243 rc = RTFileLock(hPidFile, RTFILE_LOCK_WRITE, 0, 0); 241 244 if (RT_SUCCESS(rc)) 242 245 {
Note:
See TracChangeset
for help on using the changeset viewer.