bug-wfflush.out Error 1
Kaoru Fukui
k_fukui@highway.ne.jp
Thu Oct 31 12:57:00 GMT 2002
On 31 Oct, To: k_fukui@highway.ne.jp wrote:
> On 31 Oct, To: aj@suse.de wrote:
>> On 31 Oct, Andreas Jaeger wrote:
>>
>>> Please send the file bug-wfflush.out, it might indicate the exact
>>> problem.
>>
>> it was empty
>
> Not empty, SORRY.
> ---bug-wfflush.out--
> fflush: Invalid argument
>
>
> ------------------------
> make[2]: Entering directory `/usr/src/redhat/BUILD/glibc-2.3.1/libio'
> make[2]: *** [/usr/src/redhat/BUILD/glibc-2.3.1/build-ppc-linux/libio/bug-wfflush.out] Error 1
> make[2]: Target `tests' not remade because of errors.
> make[2]: Leaving directory `/usr/src/redhat/BUILD/glibc-2.3.1/libio'
> make[1]: *** [libio/tests] Error 2
> ------------------
The cause of the problem had
if (fwprintf (f, L_("1!")) < 2)
I tried delete fwprinf() that it's no problem.
So fflush was not problem.
Kaoru
-------- bug-wfflush.c ---------
}
#if 0
if (fwprintf (f, L_("1!")) < 2)
{
printf ("fwprintf: %m\n");
return 1;
}
#endif
if (fflush (f) != 0)
{
printf ("fflush: %m\n");
return 1;
}
More information about the Libc-alpha
mailing list