Browse Source

Apply a trivial patch that doesn't change anything, but which is alledged to
workaround a toolchain specifi bug for the e1.

Eric Andersen 21 years ago
parent
commit
1bdf3c0a8f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libc/misc/time/time.c

+ 1 - 1
libc/misc/time/time.c

@@ -1698,13 +1698,13 @@ void tzset(void)
 #ifdef __UCLIBC_HAS_TZ_CACHING__
 		*oldval = 0;			/* Set oldval to an empty string. */
 #endif /* __UCLIBC_HAS_TZ_CACHING__ */
+		_time_tzinfo[0].gmt_offset = 0L;
 		s = _time_tzinfo[0].tzname;
 		*s = 'U';
 		*++s = 'T';
 		*++s = 'C';
 		*++s =
 		*_time_tzinfo[1].tzname = 0;
-		_time_tzinfo[0].gmt_offset = 0;
 		goto DONE;
 	}