Page MenuHomeFreeBSD

D45297.diff
No OneTemporary

D45297.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 cache them is to call the function directly.
+ */
+ delta = 0;
+ (void)gmtime(&delta);
}
static __inline void

File Metadata

Mime Type
text/plain
Expires
Sat, Oct 5, 3:20 PM (22 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
13652018
Default Alt Text
D45297.diff (532 B)

Event Timeline