diff options
author | ache <ache@FreeBSD.org> | 1994-12-18 23:58:25 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1994-12-18 23:58:25 +0000 |
commit | 81a63dc6d52646c455526dfdbb36b02edc05fae1 (patch) | |
tree | f301128eb27e760abc9a085e9698d493868e52ed /usr.bin/m4/eval.c | |
parent | a1049f75bf8f7a542055d26c91470c9537bfae35 (diff) | |
download | FreeBSD-src-81a63dc6d52646c455526dfdbb36b02edc05fae1.zip FreeBSD-src-81a63dc6d52646c455526dfdbb36b02edc05fae1.tar.gz |
Make m4 more 8bit clean.
Don't use is*(EOF)
This fix core dump when LANG setted to 8bit wide charset
and ENABLE_STARTUP_LOCALE
Diffstat (limited to 'usr.bin/m4/eval.c')
-rw-r--r-- | usr.bin/m4/eval.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/m4/eval.c b/usr.bin/m4/eval.c index 0e77c6b..59fde31 100644 --- a/usr.bin/m4/eval.c +++ b/usr.bin/m4/eval.c @@ -378,8 +378,8 @@ expand(argv, argc) register char *argv[]; register int argc; { - register char *t; - register char *p; + register unsigned char *t; + register unsigned char *p; register int n; register int argno; @@ -688,7 +688,7 @@ dosub(argv, argc) register char *argv[]; register int argc; { - register char *ap, *fc, *k; + register unsigned char *ap, *fc, *k; register int nc; if (argc < 5) |