sync with OpenBSD -current
This commit is contained in:
parent
8873eac723
commit
02d83d01a6
275 changed files with 1129 additions and 1124 deletions
|
@ -39,7 +39,7 @@ dupgl(char **oldgl)
|
|||
char **newgl;
|
||||
int ic;
|
||||
|
||||
if ((newgl = calloc(_LC_LAST, sizeof(*newgl))) == NULL)
|
||||
if ((newgl = calloc(_LC_LAST, sizeof(*newgl))) == NULL)
|
||||
return NULL;
|
||||
for (ic = LC_ALL; ic < _LC_LAST; ic++) {
|
||||
if ((newgl[ic] = strdup(ic == LC_ALL ? "" :
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue