Search
22:04:35
stassats
i think i can finally get rid of the ever confusing bound-cast
22:04:55
stassats
there are all the tools to turn combinations into casts, with custom rules
22:05:17
stassats
deftransform, defoptimizer, and defoptimizer (... constraint-propagate)
0:58:54
sjl_
SBCL's (get-decoded-time) doesn't seem to pick up on system timezone changes, because it calls localtime_r without calling tzset first.
0:59:03
sjl_
from man 3 localtime: For portable code tzset(3) should be called before localtime_r().
0:59:16
sjl_
is this intentional, or a bug?
1:01:56
sjl_
where? I'm looking at 56ea2db5f in git
1:02:29
sjl_
https://github.com/sbcl/sbcl/blob/master/src/runtime/time.c
1:03:47
sjl_
it calls it on startup, in runtime.c. Is that what you're talking about?
1:04:01
sjl_
I'm talking about when you change the timezone after SBCL is already started
1:04:27
stassats
well, don't do that then
1:04:45
stassats
i don't imagine tzset being cheap
1:05:08
sjl_
probably not, which is why I figured this might be intentional
1:06:39
sjl_
I can (cffi:foreign-funcall "tzset") to fix it at least.
1:11:35
stassats
i also don't think tzset is reentrant or thread safe
3:14:01
AetherWind_GJ
** NICK AetherWind