diff options
author | ache <ache@FreeBSD.org> | 1997-02-05 19:22:04 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1997-02-05 19:22:04 +0000 |
commit | 984b53f1840f31611a97cc8389b251aa7c1a900e (patch) | |
tree | 45b10daccf87075ad2500c2814f7dc6d543b1e14 | |
parent | b7803f6c96c45c04974507c2a5e6cc4d79d35539 (diff) | |
download | FreeBSD-src-984b53f1840f31611a97cc8389b251aa7c1a900e.zip FreeBSD-src-984b53f1840f31611a97cc8389b251aa7c1a900e.tar.gz |
Update the comment why range checking is not needed
Should go in 2.2
-rw-r--r-- | lib/libc/stdtime/strftime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/stdtime/strftime.c b/lib/libc/stdtime/strftime.c index 417420c..7e624c5 100644 --- a/lib/libc/stdtime/strftime.c +++ b/lib/libc/stdtime/strftime.c @@ -509,7 +509,7 @@ __time_load_locale(const char *name) if (!_PathLocale) goto no_locale; - /* Range checking already done at upper level caller */ + /* Range checking not needed, name has fixed size */ strcpy(filename, _PathLocale); strcat(filename, "/"); strcat(filename, name); |