diff options
-rw-r--r-- | uxd.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -188,6 +188,7 @@ void version(void) { void open_input(const char *arg) { if(!arg || (strcmp(arg, "-") == 0)) { input = stdin; + freopen(NULL, "rb", stdin); } else { input = fopen(arg, "rb"); if(!input) { |