# | Line 20 | Line 20 | static const char RCSid[] = "$Id$"; | |
---|---|---|
20 | #define putchar putchar_unlocked | |
21 | #endif | |
22 | ||
23 | < | #ifdef _WIN32 |
23 | > | #if defined(_WIN32) || defined(_WIN64) |
24 | #include <process.h> | |
25 | #define execvp _execvp | |
26 | #endif | |
# | Line 63 | Line 63 | main( | |
63 | } else if (argc > 2 && !strcmp(argv[1], "-c")) { | |
64 | SET_FILE_BINARY(stdin); | |
65 | SET_FILE_BINARY(stdout); | |
66 | + | setvbuf(stdin, NULL, _IONBF, 2); |
67 | getheader(stdin, (gethfunc *)fputs, stdout); | |
68 | printargs(argc-2, argv+2, stdout); | |
69 | fputc('\n', stdout); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |