summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2014-04-22 21:55:20 +0300
committerRich Felker <dalias@aerifal.cx>2014-04-22 16:45:58 -0400
commit0f2315b4af1c58cbfb7c7f9da69b495cd146cc18 (patch)
tree9684bb843e1752d4d3ff2d9ebea6d04abb5315e3
parent3176b57e528f335139f37ada07063f3619158f56 (diff)
downloadmusl-0f2315b4af1c58cbfb7c7f9da69b495cd146cc18.tar.gz
musl-0f2315b4af1c58cbfb7c7f9da69b495cd146cc18.tar.bz2
musl-0f2315b4af1c58cbfb7c7f9da69b495cd146cc18.tar.xz
musl-0f2315b4af1c58cbfb7c7f9da69b495cd146cc18.zip
do not try to interpret implementation specific strings as tz definition
-rw-r--r--src/time/__tz.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/time/__tz.c b/src/time/__tz.c
index fbe3d492..93d59e8d 100644
--- a/src/time/__tz.c
+++ b/src/time/__tz.c
@@ -166,6 +166,7 @@ static void do_tzset()
}
}
}
+ if (!map) s = __gmt;
}
zi = map;