--- 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));