diff options
author | ache <ache@FreeBSD.org> | 1996-12-28 05:04:24 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1996-12-28 05:04:24 +0000 |
commit | 1eac53090bfecc7062cd8bc91cd5c5945a24de01 (patch) | |
tree | 841f9ce04833b2ecb342e677a801eaa3a9790dc3 /lib/libc/stdtime | |
parent | a7a2d1e16cb18addc021ccd8c9c0a100caf4f49b (diff) | |
download | FreeBSD-src-1eac53090bfecc7062cd8bc91cd5c5945a24de01.zip FreeBSD-src-1eac53090bfecc7062cd8bc91cd5c5945a24de01.tar.gz |
Add comment that range checking is already done at upper level
Kill snprintf left in collate.c from previous backout
Should go in 2.2
Diffstat (limited to 'lib/libc/stdtime')
-rw-r--r-- | lib/libc/stdtime/strftime.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/stdtime/strftime.c b/lib/libc/stdtime/strftime.c index 33d74b8..2b773db 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.12 1996/11/26 02:52:52 ache 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); |