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/locale/setrunelocale.c | |
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/locale/setrunelocale.c')
-rw-r--r-- | lib/libc/locale/setrunelocale.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libc/locale/setrunelocale.c b/lib/libc/locale/setrunelocale.c index 228efe29..65daa83 100644 --- a/lib/libc/locale/setrunelocale.c +++ b/lib/libc/locale/setrunelocale.c @@ -85,6 +85,7 @@ _xpg4_setrunelocale(encoding) if (!_PathLocale) return(EFAULT); + /* Range checking already done at upper level caller */ (void) strcpy(name, _PathLocale); (void) strcat(name, "/"); (void) strcat(name, encoding); |