sync with OpenBSD -current

This commit is contained in:
purplerain 2023-12-02 11:08:21 +00:00
parent 8873eac723
commit 02d83d01a6
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
275 changed files with 1129 additions and 1124 deletions

View file

@ -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 ? "" :