diff options
| author | Tim J. Robbins <tjr@FreeBSD.org> | 2002-06-24 11:24:02 +0000 |
|---|---|---|
| committer | Tim J. Robbins <tjr@FreeBSD.org> | 2002-06-24 11:24:02 +0000 |
| commit | d1a1392d8f5f2774967bb1517f687d013b7263fb (patch) | |
| tree | 0caca06bc2d7c3edb59c2f93741bac34245d2363 /usr.bin/sed/process.c | |
| parent | 742e9f76c30f65530d93d68564cb0be08eb0f915 (diff) | |
Notes
Diffstat (limited to 'usr.bin/sed/process.c')
| -rw-r--r-- | usr.bin/sed/process.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/sed/process.c b/usr.bin/sed/process.c index 17f543d39ee5..83031b1e9438 100644 --- a/usr.bin/sed/process.c +++ b/usr.bin/sed/process.c @@ -244,7 +244,7 @@ redirect: case 'y': if (pd || psl == 0) break; - for (p = ps, len = psl; --len; ++p) + for (p = ps, len = psl; len--; ++p) *p = cp->u.y[(unsigned char)*p]; break; case ':': |
