aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1998-04-29 21:58:36 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1998-04-29 21:58:36 +0000
commit3492193d0e8b2c83be926e887230862295c0eb3f (patch)
treedfbc169d79977841acee22125809b34c77229b5e /usr.bin
parentda63d8f279c336450909ad579074f82b4422612b (diff)
Notes
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/sed/process.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/sed/process.c b/usr.bin/sed/process.c
index dbe7e8b73d43..18bf5159488e 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 '}':