blob: 83834ea08fc3b2833553d5f7b3adfe38b9662f95 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
Index: libc/usr/src/cmd/localedef/scanner.c
===================================================================
--- libc.orig/usr/src/cmd/localedef/scanner.c
+++ libc/usr/src/cmd/localedef/scanner.c
@@ -372,7 +372,7 @@ get_wcs(void)
widestr = NULL;
widesz = 0;
if (ws == NULL) {
- if ((ws = wsdup(L"")) == NULL) {
+ if ((ws = wcsdup(L"")) == NULL) {
yyerror(_("out of memory"));
}
}
|