diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-04-30 06:21:17 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-04-30 06:21:17 +0000 |
commit | 933ab1db5f0184f90012172807b4858652cc7aa3 (patch) | |
tree | 186b3978fa98e1939a71626f7ec3206edb9def94 /usr.bin/sed | |
parent | 99564d1da88c4a9ff0951c565bbd36b62f50efa6 (diff) |
make y command 8 bit clean; Elmar.Bartel@informatik.tu-muenchen.de
Diffstat (limited to 'usr.bin/sed')
-rw-r--r-- | usr.bin/sed/process.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/sed/process.c b/usr.bin/sed/process.c index 46760aba1dc..7741fe288cb 100644 --- a/usr.bin/sed/process.c +++ b/usr.bin/sed/process.c @@ -1,4 +1,4 @@ -/* $OpenBSD: process.c,v 1.3 1997/09/11 11:21:07 deraadt Exp $ */ +/* $OpenBSD: process.c,v 1.4 1998/04/30 06:21:16 deraadt Exp $ */ /*- * Copyright (c) 1992 Diomidis Spinellis. @@ -39,7 +39,7 @@ #ifndef lint /* from: static char sccsid[] = "@(#)process.c 8.1 (Berkeley) 6/6/93"; */ -static char *rcsid = "$OpenBSD: process.c,v 1.3 1997/09/11 11:21:07 deraadt Exp $"; +static char *rcsid = "$OpenBSD: process.c,v 1.4 1998/04/30 06:21:16 deraadt 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 '}': |