[PATCH] Fix undeclared variable in glibc master fileops.c

H.J. Lu hjl.tools@gmail.com
Tue May 17 14:52:00 GMT 2011


On Mon, May 16, 2011 at 4:24 PM, Andi Kleen <ak@linux.intel.com> wrote:
> On Mon, May 16, 2011 at 04:06:20PM -0700, Andi Kleen wrote:
>> Since
>>
>> commit 94b7cc3711b0b74c1d3ae18b9a2e019e51a8e0bf
>> Author: Ulrich Drepper <drepper@gmail.com>
>> Date:   Sun May 15 15:28:46 2011 -0400
>>
>>     Fix a few problems in fopen and freopen
>>
>> I need the following patch to compile glibc master on F14
>> because fd is not defined.
>>
>> -Andi
>>
>> 2011-05-16  Andi Kleen  <ak@linux.intel.com>
>>
>>       * libio/fileops.c (_IO_new_file_fopen): Use fileno to access
>>       Unix file descriptor.
>
> Or this is even better without build warnings:
>

It has been fixed.

-- 
H.J.



More information about the Libc-alpha mailing list