Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/time Replace a line that somehow got lost in the im...



details:   https://anonhg.NetBSD.org/src/rev/51afdda29d9f
branches:  trunk
changeset: 827410:51afdda29d9f
user:      kre <kre%NetBSD.org@localhost>
date:      Fri Oct 27 08:43:11 2017 +0000

description:
Replace a line that somehow got lost in the import from tzcode2017c

diffstat:

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

diffs (26 lines):

diff -r a1ab669d20b0 -r 51afdda29d9f lib/libc/time/localtime.c
--- a/lib/libc/time/localtime.c Fri Oct 27 05:14:11 2017 +0000
+++ b/lib/libc/time/localtime.c Fri Oct 27 08:43:11 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: localtime.c,v 1.109 2017/10/24 17:38:17 christos Exp $ */
+/*     $NetBSD: localtime.c,v 1.110 2017/10/27 08:43:11 kre Exp $      */
 
 /*
 ** This file is in the public domain, so clarified as of
@@ -10,7 +10,7 @@
 #if 0
 static char    elsieid[] = "@(#)localtime.c    8.17";
 #else
-__RCSID("$NetBSD: localtime.c,v 1.109 2017/10/24 17:38:17 christos Exp $");
+__RCSID("$NetBSD: localtime.c,v 1.110 2017/10/27 08:43:11 kre Exp $");
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -463,6 +463,7 @@
                /* Set doaccess if '.' (as in "../") shows up in name.  */
                if (strchr(name, '.'))
                        doaccess = true;
+               name = lsp->fullname;
        }
        if (doaccess && access(name, R_OK) != 0)
                return errno;



Home | Main Index | Thread Index | Old Index