bug-a2ps
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: a2ps-4.14 bug report with possible fix


From: Karl Berry
Subject: Re: a2ps-4.14 bug report with possible fix
Date: Tue, 31 May 2011 19:54:04 -0400

    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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]