Changeset 5090 in vbox
- Timestamp:
- Sep 28, 2007 10:59:11 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedFolders/vbsf.cpp
r5087 r5090 1574 1574 fRTLock |= RTFILE_LOCK_IMMEDIATELY; 1575 1575 1576 #ifdef RT_OS_WINDOWS 1576 1577 rc = RTFileLock(pHandle->file.Handle, fRTLock, offset, length); 1577 1578 if (rc != VINF_SUCCESS) 1578 1579 Log(("RTFileLock %RTfile %RX64 %RX64 failed with %Rrc\n", pHandle->file.Handle, offset, length, rc)); 1579 1580 #else 1581 Log(("vbsfLock: Pretend success handle=%x\n", Handle)); 1582 rc = VINF_SUCCESS; 1583 #endif 1580 1584 return rc; 1581 1585 } … … 1599 1603 } 1600 1604 1605 #ifdef RT_OS_WINDOWS 1601 1606 rc = RTFileUnlock(pHandle->file.Handle, offset, length); 1602 1607 if (rc != VINF_SUCCESS) 1603 1608 Log(("RTFileUnlock %RTfile %RX64 %RTX64 failed with %Rrc\n", pHandle->file.Handle, offset, length, rc)); 1609 #else 1610 Log(("vbsfUnlock: Pretend success handle=%x\n", Handle)); 1611 rc = VINF_SUCCESS; 1612 #endif 1604 1613 1605 1614 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.