[Top][All Lists]
[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.
- [Bug-gnulib] invalid use of errno after ferror, Bruno Haible, 2003/09/15
- Re: [Bug-gnulib] invalid use of errno after ferror, Paul Eggert, 2003/09/15
- Re: [Bug-gnulib] invalid use of errno after ferror, Jim Meyering, 2003/09/16
- Re: [Bug-gnulib] invalid use of errno after ferror, Bruno Haible, 2003/09/17
- Re: [Bug-gnulib] invalid use of errno after ferror,
Jim Meyering <=
- Re: [Bug-gnulib] invalid use of errno after ferror, Paul Eggert, 2003/09/17
- Re: [Bug-gnulib] invalid use of errno after ferror, Bruno Haible, 2003/09/18
- Re: [Bug-gnulib] invalid use of errno after ferror, Paul Eggert, 2003/09/18
- Re: [Bug-gnulib] invalid use of errno after ferror, Bruno Haible, 2003/09/19
- Re: [Bug-gnulib] invalid use of errno after ferror, Paul Eggert, 2003/09/22
- Re: [Bug-gnulib] invalid use of errno after ferror, Bruno Haible, 2003/09/22