public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8f8299
)
localtim: should automatically call tzset
author
Alan Cox
<alan@linux.intel.com>
Wed, 21 Feb 2018 21:44:57 +0000
(21:44 +0000)
committer
Alan Cox
<alan@linux.intel.com>
Wed, 21 Feb 2018 21:44:57 +0000
(21:44 +0000)
Library/libs/localtim.c
patch
|
blob
|
history
diff --git
a/Library/libs/localtim.c
b/Library/libs/localtim.c
index
2bec36b
..
847c679
100644
(file)
--- a/
Library/libs/localtim.c
+++ b/
Library/libs/localtim.c
@@
-4,6
+4,7
@@
struct tm *localtime(time_t * timep)
{
static struct tm tmb;
+ tzset();
__tm_conv(&tmb, timep, (int) (timezone / 60));
return &tmb;
}