summaryrefslogtreecommitdiff
path: root/lib/libc/stdtime
diff options
context:
space:
mode:
authorJoerg Wunsch <joerg@FreeBSD.org>1996-12-29 11:01:36 +0000
committerJoerg Wunsch <joerg@FreeBSD.org>1996-12-29 11:01:36 +0000
commit8295b2b6a699d4b58d6f73092c85cadccf74e4d2 (patch)
treed12ef9978eb6b4f764a87764d348e4f57d182aae /lib/libc/stdtime
parent84f5c83a10ae20ebb082e648b05f0a70ce828f90 (diff)
Notes
Diffstat (limited to 'lib/libc/stdtime')
-rw-r--r--lib/libc/stdtime/strftime.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/stdtime/strftime.c b/lib/libc/stdtime/strftime.c
index 33d74b868dd1..938741402717 100644
--- a/lib/libc/stdtime/strftime.c
+++ b/lib/libc/stdtime/strftime.c
@@ -17,7 +17,7 @@
#ifdef LIBC_RCS
static const char rcsid[] =
- "$Id: strftime.c,v 1.11 1996/07/19 15:17:44 wollman Exp $";
+ "$Id: strftime.c,v 1.11.2.1 1996/11/28 21:47:29 phk Exp $";
#endif
#ifndef lint
@@ -509,6 +509,7 @@ __time_load_locale(const char *name)
if (!_PathLocale)
goto no_locale;
+ /* Range checking already done at upper level caller */
strcpy(filename, _PathLocale);
strcat(filename, "/");
strcat(filename, name);