mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-29 11:02:44 +00:00
Make 'y' command 8bit clean
PR: 6458
This commit is contained in:
parent
da63d8f279
commit
3492193d0e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=35520
@ -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 '}':
|
||||
|
Loading…
Reference in New Issue
Block a user