Skip to content

Commit 5492c55

Browse files
review: restore locale before return
1 parent f431ecc commit 5492c55

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Modules/readline.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1406,6 +1406,7 @@ setup_readline(readlinestate *mod_state)
14061406
/* All nonalphanums except '.' */
14071407

14081408
if (!completer_word_break_characters) {
1409+
RESTORE_LOCALE(saved_locale)
14091410
return -1;
14101411
}
14111412
#ifdef WITH_EDITLINE

0 commit comments

Comments
 (0)