9vx: fix handling of args in sysexec - vx32 - Local 9vx git repository for patches. (DIR) Log (DIR) Files (DIR) Refs --- (DIR) commit 5603ecae5d3b0b67b5e1da8660059b9a88cb8f3a (DIR) parent 2db3ce1d0a6f579625fe7440af871902ef5dfd85 (HTM) Author: Russ Cox <rsc@swtch.com> Date: Tue, 1 Jul 2008 17:27:41 -0400 9vx: fix handling of args in sysexec Diffstat: src/9vx/a/sysproc.c | 3 --- 1 file changed, 0 insertions(+), 3 deletions(-) --- (DIR) diff --git a/src/9vx/a/sysproc.c b/src/9vx/a/sysproc.c @@ -455,9 +455,6 @@ sysexec(ulong *arg) nexterror(); } memmove(args, bp, n); - for(i=0; i<n; i++) /* NULs -> spaces */ - if(args[i] == '\0') - args[i] = ' '; /* find beginning of UTF character boundary to place final NUL */ while(n > 0 && (args[n-1]&0xC0) == 0x80) n--;