summary refs log tree commit diff
path: root/timezone
diff options
context:
space:
mode:
authorAndreas Schwab <aschwab@redhat.com>2009-06-26 17:23:15 +0200
committerAndreas Schwab <aschwab@redhat.com>2009-06-26 17:38:46 +0200
commit851cb78b7d9bc8e2acddcede63d2a38b3177af5c (patch)
tree9a294fb55863ce9434055e9af0bd522b4634e1aa /timezone
parentbb8723997676e11a0f7f2b3bf61fedf761da9a2a (diff)
downloadglibc-851cb78b7d9bc8e2acddcede63d2a38b3177af5c.tar.gz
glibc-851cb78b7d9bc8e2acddcede63d2a38b3177af5c.tar.xz
glibc-851cb78b7d9bc8e2acddcede63d2a38b3177af5c.zip
Don't generate invalid POSIX TZ string for Asia/Dhaka timezone.
Diffstat (limited to 'timezone')
-rw-r--r--timezone/zic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/timezone/zic.c b/timezone/zic.c
index 01d9f135bd..76df6532a7 100644
--- a/timezone/zic.c
+++ b/timezone/zic.c
@@ -1921,7 +1921,7 @@ const int			zonecount;
 		if (stdrp != NULL && stdrp->r_hiyear == 2037)
 			return;
 	}
-	if (stdrp == NULL && zp->z_nrules != 0)
+	if (stdrp == NULL && (zp->z_nrules != 0 || zp->z_stdoff != 0))
 		return;
 	abbrvar = (stdrp == NULL) ? "" : stdrp->r_abbrvar;
 	doabbr(result, zp->z_format, abbrvar, FALSE, TRUE);