summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2014-12-05 14:39:04 +0000
committerCorinna Vinschen <corinna@vinschen.de>2014-12-05 14:39:04 +0000
commitce6c6a4d82f03cdc14ed72964ba718ace495ee6c (patch)
tree099723897953a6e604d5653b6fc027a5192477a6
parent4c2380d396326bc76ccf4c640d91e26d48b4fe30 (diff)
downloadcygnal-ce6c6a4d82f03cdc14ed72964ba718ace495ee6c.tar.gz
cygnal-ce6c6a4d82f03cdc14ed72964ba718ace495ee6c.tar.bz2
cygnal-ce6c6a4d82f03cdc14ed72964ba718ace495ee6c.zip
* tzmap-from-unicode.org: Create tzmap as const.
* tzmap.h: Regenerate.
-rw-r--r--winsup/utils/ChangeLog5
-rwxr-xr-xwinsup/utils/tzmap-from-unicode.org2
-rw-r--r--winsup/utils/tzmap.h2
3 files changed, 7 insertions, 2 deletions
diff --git a/winsup/utils/ChangeLog b/winsup/utils/ChangeLog
index e58273000..935173cd7 100644
--- a/winsup/utils/ChangeLog
+++ b/winsup/utils/ChangeLog
@@ -1,3 +1,8 @@
+2014-12-05 Václav Zeman <vhaisman@gmail.com>
+
+ * tzmap-from-unicode.org: Create tzmap as const.
+ * tzmap.h: Regenerate.
+
2014-12-05 Corinna Vinschen <corinna@vinschen.de>
* Makefile.in: Add rules to create and depend on tzmap.h.
diff --git a/winsup/utils/tzmap-from-unicode.org b/winsup/utils/tzmap-from-unicode.org
index 9e713c3b2..a155312a8 100755
--- a/winsup/utils/tzmap-from-unicode.org
+++ b/winsup/utils/tzmap-from-unicode.org
@@ -59,7 +59,7 @@ echo "{"
echo " PCWSTR win_tzkey;"
echo " PCWSTR country;"
echo " PCWSTR posix_tzid;"
-echo "} tzmap[] ="
+echo "} const tzmap[] ="
echo "{"
wget -O - "${ZONES_FILE}" | \
{
diff --git a/winsup/utils/tzmap.h b/winsup/utils/tzmap.h
index d63d506c3..dd4f8c0e4 100644
--- a/winsup/utils/tzmap.h
+++ b/winsup/utils/tzmap.h
@@ -47,7 +47,7 @@ struct
PCWSTR win_tzkey;
PCWSTR country;
PCWSTR posix_tzid;
-} tzmap[] =
+} const tzmap[] =
{
{ L"AUS Central Standard Time", L"", L"Australia/Darwin" },
{ L"AUS Central Standard Time", L"AU", L"Australia/Darwin" },