Corrected implementation of "-o" switch.
This commit is contained in:
parent
3aea768132
commit
6a6c41acb4
|
|
@ -650,7 +650,7 @@ main(int argc, char **argv)
|
|||
#else
|
||||
sprintf (buf, "%s", optarg);
|
||||
#endif
|
||||
#ifdef HAS_WINDOWS
|
||||
#ifndef HAS_WINDOWS
|
||||
if (!(freopen (buf, "w", stdout))) {
|
||||
perror (buf);
|
||||
shutdown (EXIT_BAD);
|
||||
|
|
|
|||
Loading…
Reference in New Issue