diff options
author | ache <ache@FreeBSD.org> | 1998-04-29 21:58:36 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1998-04-29 21:58:36 +0000 |
commit | 854c44e14abd0402ff34e22a4f758647e5e1def6 (patch) | |
tree | 0fcb30c12b234dbe295dea8d1a0902bb0b71e8b5 /usr.bin/sed | |
parent | 3a033668d760708adf63e169e21908b41cf05c7c (diff) | |
download | FreeBSD-src-854c44e14abd0402ff34e22a4f758647e5e1def6.zip FreeBSD-src-854c44e14abd0402ff34e22a4f758647e5e1def6.tar.gz |
Make 'y' command 8bit clean
PR: 6458
Diffstat (limited to 'usr.bin/sed')
-rw-r--r-- | usr.bin/sed/process.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/sed/process.c b/usr.bin/sed/process.c index dbe7e8b..18bf515 100644 --- a/usr.bin/sed/process.c +++ b/usr.bin/sed/process.c @@ -40,7 +40,7 @@ static char sccsid[] = "@(#)process.c 8.6 (Berkeley) 4/20/94"; #endif static const char rcsid[] = - "$Id$"; + "$Id: process.c,v 1.6 1997/08/11 07:21:06 charnier Exp $"; #endif /* not lint */ #include <sys/types.h> @@ -240,7 +240,7 @@ redirect: if (pd) break; for (p = ps, len = psl; --len; ++p) - *p = cp->u.y[*p]; + *p = cp->u.y[(unsigned char)*p]; break; case ':': case '}': |