fix for readline to handle setlocale() returning NULL

This commit is contained in:
Chet Ramey committed 2022-10-07 17:44:03 -04:00
1 parent 43e861c2cd
commit 38d9d3590f
5 files changed
+19 -3

No files matched your search

+2 -2
View File
@@ -1,4 +1,4 @@
/* Copyright (C) 1991-2021 Free Software Foundation, Inc.
/* Copyright (C) 1991-2021,2022 Free Software Foundation, Inc.
This file is part of the GNU C Library.
This program is free software; you can redistribute it and/or modify
@@ -21,7 +21,7 @@
#include <unistd.h>
#include <errno.h>
#include <error.h>
#include <libintl.h>
#include <gettext.h>
#include <locale.h>
#include <string.h>
#include <stdlib.h>