diff options
author | ache <ache@FreeBSD.org> | 1995-10-24 06:02:24 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1995-10-24 06:02:24 +0000 |
commit | 088e7a6c48cea3138698463f0cdc5da06226f27b (patch) | |
tree | 6f662ff44dc656459ffcbbde5635e4105577f2cf /usr.bin/talk | |
parent | da23702c786c963994e44efd2d89824c79088de0 (diff) | |
download | FreeBSD-src-088e7a6c48cea3138698463f0cdc5da06226f27b.zip FreeBSD-src-088e7a6c48cea3138698463f0cdc5da06226f27b.tar.gz |
Add setlocale LC_CTYPE
Diffstat (limited to 'usr.bin/talk')
-rw-r--r-- | usr.bin/talk/talk.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.bin/talk/talk.c b/usr.bin/talk/talk.c index ca0dcb4..3add633 100644 --- a/usr.bin/talk/talk.c +++ b/usr.bin/talk/talk.c @@ -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(); |