Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/time Remove duplicate tm_isdst. Fixes PR misc/5641...



details:   https://anonhg.NetBSD.org/src/rev/4bd1d12f9ca4
branches:  trunk
changeset: 987488:4bd1d12f9ca4
user:      kim <kim%NetBSD.org@localhost>
date:      Tue Sep 28 06:45:08 2021 +0000

description:
Remove duplicate tm_isdst.  Fixes PR misc/56419 for HEAD.

diffstat:

 lib/libc/time/ctime.3 |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (19 lines):

diff -r 79e1b452c5c7 -r 4bd1d12f9ca4 lib/libc/time/ctime.3
--- a/lib/libc/time/ctime.3     Tue Sep 28 06:20:09 2021 +0000
+++ b/lib/libc/time/ctime.3     Tue Sep 28 06:45:08 2021 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: ctime.3,v 1.61 2019/09/02 00:24:01 sevan Exp $
+.\" $NetBSD: ctime.3,v 1.62 2021/09/28 06:45:08 kim Exp $
 .\"
 .\" XXX: License missing?
 .\"
@@ -333,8 +333,7 @@
        int tm_year;     /* year - 1900 */
        int tm_wday;     /* day of week (Sunday = 0) */
        int tm_yday;     /* day of year (0 - 365) */
-       int tm_isdst;    /* is summer time in effect? */
-       int tm_isdst;   /* is daylight saving time in effect? */
+       int tm_isdst;    /* is daylight saving time in effect? */
        char *tm_zone;   /* abbreviation of timezone name (optional) */
        long tm_gmtoff;  /* offset from UT in seconds (optional) */
 .Ed



Home | Main Index | Thread Index | Old Index