commit | b2abef3e54de606ced5082d82e381dbafef1bf72 | [log] [tgz] |
---|---|---|
author | Denis Vlasenko <vda.linux@googlemail.com> | Mon Jan 01 18:18:04 2007 +0000 |
committer | Denis Vlasenko <vda.linux@googlemail.com> | Mon Jan 01 18:18:04 2007 +0000 |
tree | 9082c2b4d0091f108432b2a41b7ee33152c9240f | |
parent | e27f15615f93065265209e26ff07cf9b4ae8658c [diff] [blame] |
stty: fix width of a field for ppc32 sort: fix -u to match coreutils 6.3 msh: compile fix (my fault)
diff --git a/shell/msh.c b/shell/msh.c index e43cb18..c88308f 100644 --- a/shell/msh.c +++ b/shell/msh.c
@@ -4860,9 +4860,12 @@ { 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; } /*