Add setlocale LC_CTYPE

This commit is contained in:
ache 1995-10-26 22:16:45 +00:00
parent 6abc0d4f88
commit 5e59c0728e

View File

@ -56,6 +56,7 @@ extern int errno;
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <locale.h>
#include "ktrace.h"
int timestamp, decimal, fancy = 1, tail, maxdata;
@ -74,6 +75,8 @@ main(argc, argv)
register void *m;
int trpoints = ALL_POINTS;
(void) setlocale(LC_CTYPE, "");
while ((ch = getopt(argc,argv,"f:dlm:nRTt:")) != EOF)
switch((char)ch) {
case 'f':