bug-gnulib
[Top][All Lists]
Advanced

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

Re: [Bug-gnulib] invalid use of errno after ferror


From: Jim Meyering
Subject: Re: [Bug-gnulib] invalid use of errno after ferror
Date: Wed, 17 Sep 2003 14:30:51 +0200

Bruno Haible <address@hidden> wrote:
> Paul Eggert wrote:
>> Isn't this also true for lib/mountlist.c?
>
> You are right; I had overlooked that the third argument of fread() is 1.
> If Jim doesn't object, I'll add a comment about this:
>
> --- mountlist.c       9 Sep 2003 22:47:38 -0000       1.42
> +++ mountlist.c       17 Sep 2003 10:19:40 -0000
> @@ -612,6 +612,7 @@
>
>      if (ferror (fp))
>        {
> +     /* The last fread() call must have failed.  */

No objection, of course.
Thanks.




reply via email to

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