Blame SOURCES/cups-filters-cleareof.patch

706f84
diff -up cups-filters-1.20.3/filter/foomatic-rip/foomaticrip.c.cleareof cups-filters-1.20.3/filter/foomatic-rip/foomaticrip.c
706f84
--- cups-filters-1.20.3/filter/foomatic-rip/foomaticrip.c.cleareof	2018-09-21 13:38:05.882666106 +0200
706f84
+++ cups-filters-1.20.3/filter/foomatic-rip/foomaticrip.c	2018-09-21 13:38:55.330277816 +0200
706f84
@@ -663,6 +663,7 @@ int print_file(const char *filename, int
706f84
                     rip_die(EXIT_PRNERR_NORETRY_BAD_SETTINGS,
706f84
                             "Couldn't dup stdout of pdf-to-ps\n");
706f84
 
706f84
+                clearerr(stdin);
706f84
                 ret = print_file("<STDIN>", 0);
706f84
 
706f84
                 wait_for_process(renderer_pid);