Changeset 368ee04 in mainline for uspace/lib/bithenge/src/failure.c
- Timestamp:
- 2017-04-05T18:10:39Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 93ad8166
- Parents:
- 39f892a9 (diff), 2166728 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/bithenge/src/failure.c
r39f892a9 r368ee04 41 41 #include <stdio.h> 42 42 #include <stdlib.h> 43 #include <sys/stat.h>44 43 #include <sys/types.h> 45 44 #include <sys/wait.h> … … 152 151 if (null == -1) 153 152 exit(127); 154 dup2(null, STDOUT_FILENO);155 dup2(null, STDERR_FILENO);156 close(null);153 vfs_clone(null, STDOUT_FILENO, false); 154 vfs_clone(null, STDERR_FILENO, false); 155 vfs_put(null); 157 156 return 1; 158 157 }
Note:
See TracChangeset
for help on using the changeset viewer.