diff options
Diffstat (limited to 'usr.bin/col/col.c')
-rw-r--r-- | usr.bin/col/col.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.bin/col/col.c b/usr.bin/col/col.c index 719fef7..37dc304 100644 --- a/usr.bin/col/col.c +++ b/usr.bin/col/col.c @@ -49,6 +49,7 @@ static char sccsid[] = "@(#)col.c 8.3 (Berkeley) 4/2/94"; #include <string.h> #include <stdio.h> #include <stdlib.h> +#include <locale.h> #define BS '\b' /* backspace */ #define TAB '\t' /* tab */ @@ -128,6 +129,8 @@ main(argc, argv) int nflushd_lines; /* number of lines that were flushed */ int adjust, opt, warned; + (void) setlocale(LC_CTYPE, ""); + max_bufd_lines = 128; compress_spaces = 1; /* compress spaces into tabs */ while ((opt = getopt(argc, argv, "bfhl:x")) != EOF) |