*** empty log message ***
This commit is contained in:
parent
60416b62c5
commit
ecee0bc921
1 changed files with 1 additions and 1 deletions
2
main.cc
2
main.cc
|
|
@ -357,7 +357,7 @@ int parse_and_report(int argc, char * argv[], char * envp[])
|
||||||
|
|
||||||
// Duplicate pipe's reading end into stdin
|
// Duplicate pipe's reading end into stdin
|
||||||
status = dup2(pfd[0], STDIN_FILENO);
|
status = dup2(pfd[0], STDIN_FILENO);
|
||||||
if (status==-1)
|
if (status == -1)
|
||||||
perror("dup2");
|
perror("dup2");
|
||||||
|
|
||||||
// Close unuseful file descriptors: the pipe's writing and
|
// Close unuseful file descriptors: the pipe's writing and
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue