chiark
/
gitweb
/
~bjharris
/
clunk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
886a85f
)
Call tzset() explicitly at startup.
author
Ben Harris
<bjh21@bjh21.me.uk>
Sat, 3 Nov 2018 11:57:55 +0000
(11:57 +0000)
committer
Ben Harris
<bjh21@bjh21.me.uk>
Sat, 3 Nov 2018 11:57:55 +0000
(11:57 +0000)
It's required in portable code before invoking localtime_r().
clunk.c
patch
|
blob
|
history
diff --git
a/clunk.c
b/clunk.c
index 821391f7ada2de42e181c7605695880220a9051e..c9b77d56046bddc806837adaa0db6125a33ef233 100644
(file)
--- a/
clunk.c
+++ b/
clunk.c
@@
-44,6
+44,7
@@
int
main(int argc, char **argv)
{
+ tzset();
run();
return 0;
}