mirror of
https://frontier.innolan.net/rainlance/amiga-tz.git
synced 2026-09-19 12:54:40 +00:00
more C99 work
SCCS-file: strftime.c SCCS-SID: 7.60
This commit is contained in:
committed by
Paul Eggert
parent
6fe417a206
commit
d52ec9f5f3
+9
-1
@@ -521,7 +521,15 @@ label:
|
||||
** For now, punt and conform to the
|
||||
** standard, even though it's incorrect.
|
||||
*/
|
||||
diff = -(t->tm_isdst ? altzone : timezone);
|
||||
diff = 0;
|
||||
#ifdef USG_COMPAT
|
||||
if (t->tm_isdst == 0)
|
||||
diff = timezone;
|
||||
#endif /* defined USG_COMPAT */
|
||||
#ifdef ALTZONE
|
||||
if (t->tm_isdst > 0)
|
||||
diff = altzone;
|
||||
#endif /* defined ALTZONE */
|
||||
#endif /* !defined TM_GMTOFF */
|
||||
if (diff < 0) {
|
||||
sign = "-";
|
||||
|
||||
Reference in New Issue
Block a user