Changes in uspace/lib/bithenge/src/failure.c [6cd10ac:9c4cf0d] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/bithenge/src/failure.c
r6cd10ac r9c4cf0d 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.