Module Name: src
Committed By: kre
Date: Fri Oct 27 08:43:11 UTC 2017
Modified Files:
src/lib/libc/time: localtime.c
Log Message:
Replace a line that somehow got lost in the import from tzcode2017c
To generate a diff of this commit:
cvs rdiff -u -r1.109 -r1.110 src/lib/libc/time/localtime.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/time/localtime.c
diff -u src/lib/libc/time/localtime.c:1.109 src/lib/libc/time/localtime.c:1.110
--- src/lib/libc/time/localtime.c:1.109 Tue Oct 24 17:38:17 2017
+++ src/lib/libc/time/localtime.c Fri Oct 27 08:43:11 2017
@@ -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 @@ tzloadbody(char const *name, struct stat
/* 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;