Commit 3b275ce3 authored by Michael Niedermayer's avatar Michael Niedermayer

fate: dont freopen() stdout

it doesnt work and breaks most BSDs
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 0dfcd7e7
......@@ -165,8 +165,8 @@ int main(int argc, char **argv)
return 1;
}
if (argc < 3)
err_if(!freopen(NULL, "wb", stdout));
// if (argc < 3)
// err_if(!freopen(NULL, "wb", stdout));
w = DEFAULT_WIDTH;
h = DEFAULT_HEIGHT;
......
......@@ -152,8 +152,8 @@ int main(int argc, char **argv)
exit(1);
}
if (argc < 2)
err_if(!freopen(NULL, "wb", stdout));
// if (argc < 2)
// err_if(!freopen(NULL, "wb", stdout));
w = DEFAULT_WIDTH;
h = DEFAULT_HEIGHT;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment