projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(INT_STRLEN_BOUND, INT_BUFSIZE_BOUND):
[gnulib.git]
/
lib
/
time_r.c
diff --git
a/lib/time_r.c
b/lib/time_r.c
index
7368f3b
..
6c42504
100644
(file)
--- a/
lib/time_r.c
+++ b/
lib/time_r.c
@@
-59,11
+59,11
@@
ctime_r (time_t const *t, char *buf)
struct tm *
gmtime_r (time_t const * restrict t, struct tm * restrict tp)
{
struct tm *
gmtime_r (time_t const * restrict t, struct tm * restrict tp)
{
- return copy_tm_result (gmtime (t));
+ return copy_tm_result (
tp,
gmtime (t));
}
struct tm *
localtime_r (time_t const * restrict t, struct tm * restrict tp)
{
}
struct tm *
localtime_r (time_t const * restrict t, struct tm * restrict tp)
{
- return copy_tm_result (localtime (t));
+ return copy_tm_result (
tp,
localtime (t));
}
}