소스 검색

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 년 전
부모
커밋
1bdf3c0a8f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;
 	}