This is the mail archive of the newlib@sourceware.org mailing list for the newlib 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: [PATCH] mbsnrtowcs/wcsnrtombs


Hi Jeff,

On Feb 18 16:32, Jeff Johnston wrote:
> Corinna, I have made the patch mentioned below to mbtowc_r.c so you can 
> just check in your changes.

Thanks, applied.

> I also made some fixes to open_memstream.c.  
> The size value for open_wmemstream was not being treated as number of wide 
> chars by the internal static function

That was a deliberate decision but now I see that it wasn't quite
correct.  I was looking for the 64 bytes lower/64 Kbytes upper limits
and so thought it would be right to treat the incoming size as bytes.

> and the initialized buffer should 
> have a wide char null when "wide" is set to 1.  Please check that I have 
> done this as expected.  I also added some include statements to wcstod.c to 
> remove warnings.

Thanks you,
Corinna

-- 
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat


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