diff options
author | peter <peter@FreeBSD.org> | 1995-07-18 01:03:46 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1995-07-18 01:03:46 +0000 |
commit | 5c9cd70426c1c5fe5de1003ced535cafd39b7e34 (patch) | |
tree | 6b323ce2a6e034d2930e8ea6b8a0fec82d382d95 /usr.bin/more | |
parent | 5fa4b742aea5aa85a02d5669d70b27bd476ff05d (diff) | |
download | FreeBSD-src-5c9cd70426c1c5fe5de1003ced535cafd39b7e34.zip FreeBSD-src-5c9cd70426c1c5fe5de1003ced535cafd39b7e34.tar.gz |
Oops! Andrey pointed out tht setlocale(LC_CTYPE, "") doesn't actually
work for locale's with multibyte characters. Backing this out....
cvs diff -c -r1.1 -r1.2 main.c | patch -R
Reviewed by:
Submitted by:
Obtained from:
Diffstat (limited to 'usr.bin/more')
-rw-r--r-- | usr.bin/more/main.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/usr.bin/more/main.c b/usr.bin/more/main.c index fe25639..f019bdc 100644 --- a/usr.bin/more/main.c +++ b/usr.bin/more/main.c @@ -51,7 +51,6 @@ static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 6/7/93"; #include <sys/file.h> #include <stdio.h> #include <less.h> -#include <locale.h> int ispipe; int new_file; @@ -253,8 +252,6 @@ main(argc, argv) int envargc, argcnt; char *envargv[2], *getenv(); - setlocale(LC_CTYPE, ""); - /* * Process command line arguments and MORE environment arguments. * Command line arguments override environment arguments. |