This is the mail archive of the
mailing list for the glibc project.
Re: fwrite not 64-bit clean
- From: Ulrich Drepper <drepper at redhat dot com>
- To: Andreas Jaeger <aj at suse dot de>
- Cc: "GNU C. Library" <libc-alpha at sources dot redhat dot com>
- Date: Wed, 31 Mar 2004 00:17:18 -0800
- Subject: Re: fwrite not 64-bit clean
- Organization: Red Hat, Inc.
- References: <firstname.lastname@example.org>
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 *,
> -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 â