tzset_r() bugfix for newlib-1.11.0

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


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().

-- Till
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: tzset_r.c.diff
URL: <>

More information about the Newlib mailing list