From f6379761b605a606764bc139c5b64c75c45e0559 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sat, 1 Dec 2012 00:21:37 -0600 Subject: Re-add backspace support to expand (oops) and fix test to expect data plus backspace characters rather than the chracters cancelling each other out before output. --- toys/posix/expand.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'toys') diff --git a/toys/posix/expand.c b/toys/posix/expand.c index b29a98f4..922f5e67 100644 --- a/toys/posix/expand.c +++ b/toys/posix/expand.c @@ -45,9 +45,13 @@ static void expand_file(int fd, char *name) if (!len) break; for (i=0; i