aboutsummaryrefslogtreecommitdiff
path: root/toys
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2017-03-20 13:14:14 -0500
committerRob Landley <rob@landley.net>2017-03-20 13:14:14 -0500
commit47d07dc1554348b3b3a920627a538bd7164aeb8e (patch)
tree77d4d31634b93a063e6da99fd3fc1085a3c36ca7 /toys
parentcb8e5ad6c5b9c79cce1a6baf10041f90cf491711 (diff)
downloadtoybox-47d07dc1554348b3b3a920627a538bd7164aeb8e.tar.gz
Paste bugfix, more tests.
Diffstat (limited to 'toys')
-rw-r--r--toys/posix/paste.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/toys/posix/paste.c b/toys/posix/paste.c
index 508b3518..42e6a287 100644
--- a/toys/posix/paste.c
+++ b/toys/posix/paste.c
@@ -83,7 +83,6 @@ static void paste_files(void)
dpos++;
}
}
- dpos++;
} else {
while (0<(dlen = mbtowc(&wc, dpos, 99))) {
dpos += dlen;