Skip to content

Commit

Permalink
S_stdize_locale: Set errno if fails
Browse files Browse the repository at this point in the history
  • Loading branch information
khwilliamson committed May 6, 2023
1 parent 6b71c44 commit 04d58b8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions locale.c
Expand Up @@ -1812,6 +1812,7 @@ S_stdize_locale(pTHX_ const int category,
caller_line, category, input_locale));

if (input_locale == NULL) {
SET_EINVAL;
return NULL;
}

Expand Down

0 comments on commit 04d58b8

Please sign in to comment.