Alex, Patch checked in with modification. I reset the value of n to 0 prior to the last sscanf in the loop because if the last sscanf doesn't get called, we don't want to re-add the previous value of n again. Thanks, -- Jeff J. Alex Mogilnikov wrote: > Hi! > > Newlib has some bugs in newlib/libc/time/tzset_r.c. See attached patch. >