From a1d5274ff00fa15246a788150635a3f576899eae Mon Sep 17 00:00:00 2001 From: vda Date: Mon, 1 Jan 2007 18:18:04 +0000 Subject: stty: fix width of a field for ppc32 sort: fix -u to match coreutils 6.3 msh: compile fix (my fault) git-svn-id: svn://busybox.net/trunk/busybox@17124 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- shell/msh.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'shell') diff --git a/shell/msh.c b/shell/msh.c index e43cb1875..c88308f8f 100644 --- a/shell/msh.c +++ b/shell/msh.c @@ -4860,9 +4860,12 @@ static int qstrchar(struct ioarg *ap) { int c; - if (ap->aword == NULL) || (c = *ap->aword++) == 0) + if (ap->aword == NULL) return 0; - return c | QUOTE; + c = *ap->aword++; + if (c) + c |= QUOTE; + return c; } /* -- cgit v1.2.3-55-g6feb