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


Ulrich Drepper <drepper@redhat.com> writes:

> 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

A smaller version of that patch (without libioP.h changes) fixed the
problem.

> 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?

Ok, I'll change and we'll then do a complete test,
Andreas
-- 
 Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
  SUSE Linux AG, Maxfeldstr. 5, 90409 Nürnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126

Attachment: pgp00000.pgp
Description: PGP signature


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