This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: fwrite not 64-bit clean


Andreas Jaeger wrote:

> The problem seems to be that fwrite calls _IO_new_file_xsputn which
> calls new_do_write 

What does "seems" mean?  Does it fix the problem or not?  If not, you'll
have to come up with a full patch first.

And apropos full patch:


>  extern int _IO_wdo_write_internal __P ((_IO_FILE *, const wchar_t *,
>  					_IO_size_t));
> -extern int _IO_do_write_internal __P ((_IO_FILE *, const char *, _IO_size_t));
> +extern _IO_size_t _IO_do_write_internal __P ((_IO_FILE *, const char *, _IO_size_t));


The declarations are right next to each other.  Didn't occur to you that
the _IO_wdo_write_internal code also needs the change?

-- 
â Ulrich Drepper â Red Hat, Inc. â 444 Castro St â Mountain View, CA â


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]