Add setlocale LC_CTYPE

This commit is contained in:
Andrey A. Chernov 1995-10-24 06:02:24 +00:00
parent f34b5369b7
commit 628b3a7935
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=11764

View File

@ -42,6 +42,7 @@ static char sccsid[] = "@(#)talk.c 8.1 (Berkeley) 6/6/93";
#endif /* not lint */
#include "talk.h"
#include <locale.h>
/*
* talk: A visual form of write. Using sockets, a two way
@ -62,6 +63,8 @@ main(argc, argv)
int argc;
char *argv[];
{
(void) setlocale(LC_CTYPE, "");
get_names(argc, argv);
check_writeable();
init_display();