Changeset 1275 in kBuild
- Timestamp:
- Nov 29, 2007 8:56:45 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk_redirect/kmk_redirect.c
r1271 r1275 179 179 180 180 default: 181 #ifdef O_BINARY 181 182 fOpen |= O_BINARY; 183 #endif 182 184 break; 183 185 … … 270 272 /** @todo figure out how to make the handle close-on-exec. We'll simply close it for now. */ 271 273 #else 272 if (fcntl( channel, F_SETFD, FD_CLOEXEC) == -1)274 if (fcntl(fdOpened, F_SETFD, FD_CLOEXEC) == -1) 273 275 { 274 276 fprintf(pStdErr, "%s: error: failed to make stderr (%d) close-on-exec: %s\n", argv[0], fdOpened, strerror(errno));
Note:
See TracChangeset
for help on using the changeset viewer.