Parent Directory
|
Revision Log
|
Patch
| revision 1.41 by mocchiut, Fri Jan 29 05:49:35 2010 UTC | revision 1.42 by pam-fi, Tue Nov 29 13:25:43 2011 UTC | |
|---|---|---|
| # | Line 547 int main(int numinp, char *inps[]){ | Line 547 int main(int numinp, char *inps[]){ |
| 547 | // If not in verbose mode redirect to /dev/null the stdout and stderr | // If not in verbose mode redirect to /dev/null the stdout and stderr |
| 548 | // | // |
| 549 | if ( !beverbose ){ | if ( !beverbose ){ |
| 550 | nul = open("/dev/null", O_CREAT | O_RDWR,S_IREAD | S_IWRITE); | nul = open("/dev/null", O_CREAT | O_RDWR,S_IRUSR | S_IWUSR); |
| 551 | dup2(nul,1); | dup2(nul,1); |
| 552 | dup2(nul,2); | dup2(nul,2); |
| 553 | }; | }; |
|
||||||||
| ViewVC Help | |
| Powered by ViewVC 1.1.23 |