1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-02 08:32:16 +00:00

Add setlocale LC_CTYPE

This commit is contained in:
Andrey A. Chernov 1995-10-26 22:26:15 +00:00
parent 5ccbfb26fb
commit f1e4dd10de
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=11824

View File

@ -43,6 +43,7 @@ static char sccsid[] = "@(#)vis.c 8.1 (Berkeley) 6/6/93";
#include <stdio.h>
#include <vis.h>
#include <locale.h>
int eflags, fold, foldwidth=80, none, markeol, debug;
@ -55,6 +56,8 @@ main(argc, argv)
FILE *fp;
int ch;
(void) setlocale(LC_CTYPE, "");
while ((ch = getopt(argc, argv, "nwctsobfF:ld")) != EOF)
switch((char)ch) {
case 'n':