tzset_r() patch

Corinna Vinschen
Tue Jun 14 14:31:00 GMT 2011

Hi Craig,

On Jun 13 11:17, Howland Craig D (Craig) wrote:
>      Attached is a patch which corrects a bug in tzset_r() where the TZ
> environment variable has been set, but has then been unset.  In this
> case,
> GMT was not correctly returned to as default (as it is when TZ is never
> set).
> 				Craig
> ChangeLog entry:
> 2011-06-13  Craig Howland <>
> 	* libc/time/tzset_r.c (tzset_r):  Correct behavior for changing
> from
> 	non-GMT to GMT, when un-setting TZ.

Patch applied.  I just added a bit of text to the ChangeLog to describe
the second part of the patch.


Corinna Vinschen
Cygwin Project Co-Leader
Red Hat

More information about the Newlib mailing list