Page MenuHomeFreeBSD

D45297.id139026.diff
No OneTemporary

D45297.id139026.diff

diff --git a/lib/libcapsicum/capsicum_helpers.h b/lib/libcapsicum/capsicum_helpers.h
--- a/lib/libcapsicum/capsicum_helpers.h
+++ b/lib/libcapsicum/capsicum_helpers.h
@@ -133,8 +133,17 @@
static __inline void
caph_cache_tzdata(void)
{
+ time_t delta;
tzset();
+
+ /*
+ * The tzset() function does not cache all time zones.
+ * Some functions, such as gmtime(), require a GMT time zone.
+ * The only way to chache them is to call funtion directly.
+ */
+ delta = 0;
+ (void)gmtime(&delta);
}
static __inline void

File Metadata

Mime Type
text/plain
Expires
Sun, Jul 19, 2:46 PM (14 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35237195
Default Alt Text
D45297.id139026.diff (528 B)

Event Timeline