Re: a2ps-4.14 bug report with possible fix
[email protected] (Karl Berry) Tue, 31 May 2011 19:54:04 -0400
| Newsgroups | gmane.comp.printing.a2ps.bugs |
|---|---|
| Message-ID | <[email protected]> |
It looks to me like the result of the call to
fopen doesn't go into any local variable. Suggest new code
fclose (spy);
spy = fopen (spyname, "r"); /* New code */
if (!spy)
error (1, errno, _("cannot open file `%s'"), quotearg (spyname));
Indeed, looks reasonable. Thanks much for the report, David.
Best,
Karl