summary |
tags |
clone url |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
b79e3a0)
SCCS-vsn: lib/libc/locale/setlocale.c 5.4
*/
#if defined(LIBC_SCCS) && !defined(lint)
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char sccsid[] = "@(#)setlocale.c 8.1 (Berkeley) %G%";
+static char sccsid[] = "@(#)setlocale.c 5.4 (Berkeley) %G%";
#endif /* LIBC_SCCS and not lint */
#include <limits.h>
#endif /* LIBC_SCCS and not lint */
#include <limits.h>
/*
* Some day we will actually look at this file.
*/
/*
* Some day we will actually look at this file.
*/
- (void)sprintf(name, sizeof(name), "%s/%s/%s",
+ (void)snprintf(name, sizeof(name), "%s/%s/%s",
PathLocale, new_categories[category], categories[category]);
switch (category) {
PathLocale, new_categories[category], categories[category]);
switch (category) {