summaryrefslogtreecommitdiff
path: root/libc/debian/patches/struct-tm.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libc/debian/patches/struct-tm.patch')
-rw-r--r--libc/debian/patches/struct-tm.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/libc/debian/patches/struct-tm.patch b/libc/debian/patches/struct-tm.patch
index 7a199aa..1a6a5a8 100644
--- a/libc/debian/patches/struct-tm.patch
+++ b/libc/debian/patches/struct-tm.patch
@@ -40,8 +40,8 @@ Index: libc/usr/src/lib/libc/port/gen/localtime.c
struct tm *
gmtime_r(const time_t *timep, struct tm *p_tm)
{
-+ p_tm->__tm_gmtoff = 0;
-+ p_tm->__tm_zone = _tz_gmt;
++ p_tm->tm_gmtoff = 0;
++ p_tm->tm_zone = _tz_gmt;
return (offtime_u((time_t)*timep, 0L, p_tm));
}
@@ -49,8 +49,8 @@ Index: libc/usr/src/lib/libc/port/gen/localtime.c
}
my_is_in_dst = is_in_dst;
offset = (my_is_in_dst) ? -altzone : -timezone;
-+ p_tm->__tm_gmtoff = offset;
-+ p_tm->__tm_zone = tzname[0];
++ p_tm->tm_gmtoff = offset;
++ p_tm->tm_zone = tzname[0];
lmutex_unlock(&_time_lock);
if (unused != NULL)
free(unused);