]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - time/tzfile.c
Installed-header hygiene (BZ#20366): time.h types.
[thirdparty/glibc.git] / time / tzfile.c
index 992806dc6b56c3f464e6810c23ff50cf110ddbb8..90498783993cc5ef44aff06afe7cec5550ca8096 100644 (file)
@@ -628,6 +628,12 @@ __tzfile_default (const char *std, const char *dst,
   __timezone = -types[0].offset;
 
   compute_tzname_max (stdlen + dstlen);
+
+  /* Invalidate the tzfile attribute cache to force rereading
+     TZDEFRULES the next time it is used.  */
+  tzfile_dev = 0;
+  tzfile_ino = 0;
+  tzfile_mtime = 0;
 }
 \f
 void