Changeset 4871 in vbox for trunk/src/VBox/HostDrivers/Support
- Timestamp:
- Sep 17, 2007 8:08:17 PM (17 years ago)
- Location:
- trunk/src/VBox/HostDrivers/Support
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/darwin/SUPLib-darwin.cpp
r4811 r4871 134 134 135 135 /* 136 * Mark the file handle close on exec. 137 */ 138 if (fcntl(g_hDevice, F_SETFD, FD_CLOEXEC) != 0) 139 { 140 int rc = errno; 141 LogRel(("suplibOSInit: setting FD_CLOEXEC failed, errno=%d\n", errno)); 142 close(g_hDevice); 143 g_hDevice = -1; 144 return RTErrConvertFromErrno(rc); 145 } 146 147 /* 136 148 * We're done. 137 149 */ -
trunk/src/VBox/HostDrivers/Support/solaris/SUPLib-solaris.cpp
r4823 r4871 79 79 80 80 /* 81 * Mark the file handle close on exec. 82 */ 83 if (fcntl(g_hDevice, F_SETFD, FD_CLOEXEC) != 0) 84 { 85 int rc = errno; 86 LogRel(("suplibOSInit: setting FD_CLOEXEC failed, errno=%d\n", errno)); 87 close(g_hDevice); 88 g_hDevice = -1; 89 return RTErrConvertFromErrno(rc); 90 } 91 92 /* 81 93 * Avoid unused parameter warning 82 */94 */ 83 95 NOREF(cbReserve); 84 96
Note:
See TracChangeset
for help on using the changeset viewer.