tzset_r() bugfix for newlib-1.11.0

Till Straumann strauman@SLAC.Stanford.EDU
Tue Jun 3 01:02:00 GMT 2003


Hi.

I don't know if this has been reported already - if so,
I apologize for the WOB.

The attached patch fixes a bug in tzset_r(). The
sscanf() formats assume certain local variables to be
'short' but they had beed declared 'int' and hence
were not set correctly by sscanf().

Regards
-- Till
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: tzset_r.c.diff
URL: <http://sourceware.org/pipermail/newlib/attachments/20030603/d9846c2f/attachment.ksh>


More information about the Newlib mailing list