Add setlocale LC_CTYPE

This commit is contained in:
Andrey A. Chernov 1995-10-28 19:44:29 +00:00
parent 021d0b0c13
commit febbdcfd7b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=11889

View file

@ -23,6 +23,9 @@
* the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#ifdef __FreeBSD__
#include <locale.h>
#endif
#include "getopt.h"
#include "awk.h"
#include "patchlevel.h"
@ -142,6 +145,9 @@ char **argv;
extern int opterr;
extern char *optarg;
#ifdef __FreeBSD__
(void) setlocale(LC_CTYPE, "");
#endif
#ifdef __EMX__
_response(&argc, &argv);
_wildcard(&argc, &argv);