Add setlocale LC_CTYPE
This commit is contained in:
parent
6abc0d4f88
commit
5e59c0728e
@ -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':
|
||||
|
Loading…
Reference in New Issue
Block a user