a2ps/a2ps-4.13-psgen.patch
OBS User autobuild 9d45ad509c Accepting request 19150 from Publishing
Copy from Publishing/a2ps based on submit request 19150 from user WernerFink

OBS-URL: https://build.opensuse.org/request/show/19150
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/a2ps?expand=0&rev=10
2009-08-28 19:09:03 +00:00

12 lines
375 B
Diff

--- src/main.c
+++ src/main.c 2009-08-28 16:24:47.430026397 +0200
@@ -578,7 +578,7 @@ spy_user (struct a2ps_job *a_job, FILE *
/* Yes, I know, there are certainly better means. Just teach them
to me... */
fclose (spy);
- fopen (spyname, "r");
+ spy = fopen (spyname, "r");
if (!spy)
error (1, errno, _("cannot open file `%s'"), quotearg (spyname));