]>
Commit | Line | Data |
---|---|---|
861c3b04 AM |
1 | --- filter/foomatic-rip/foomaticrip.c.orig 2015-10-20 14:59:20 UTC |
2 | +++ filter/foomatic-rip/foomaticrip.c | |
3 | @@ -656,6 +656,7 @@ int print_file(const char *filename, int | |
4 | rip_die(EXIT_PRNERR_NORETRY_BAD_SETTINGS, | |
5 | "Couldn't dup stdout of pdf-to-ps\n"); | |
6 | ||
7 | + clearerr(stdin); | |
8 | ret = print_file("<STDIN>", 0); | |
9 | ||
10 | wait_for_process(renderer_pid); |