Corrected implementation of "-o" switch.

This commit is contained in:
pnenzi 2004-08-14 14:55:09 +00:00
parent 3aea768132
commit 6a6c41acb4
1 changed files with 1 additions and 1 deletions

View File

@ -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);