Add setlocale LC_CTYPE
This commit is contained in:
parent
f34b5369b7
commit
628b3a7935
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=11764
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user