diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-06-09 07:58:53 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-06-09 07:58:53 +0000 |
commit | 598bb732e86ae6edd81c88e88c938335c8734f26 (patch) | |
tree | 1b97a9a655b9e10ee29de3fb25e14be511508b94 /shell/msh_function.patch | |
parent | 2d0529c9bc0c4fedefa816d6b6d371b1d5b8c32e (diff) | |
download | busybox-w32-598bb732e86ae6edd81c88e88c938335c8734f26.tar.gz busybox-w32-598bb732e86ae6edd81c88e88c938335c8734f26.tar.bz2 busybox-w32-598bb732e86ae6edd81c88e88c938335c8734f26.zip |
cosmetics
Diffstat (limited to 'shell/msh_function.patch')
-rw-r--r-- | shell/msh_function.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/msh_function.patch b/shell/msh_function.patch index b02b291e1..270b9eeff 100644 --- a/shell/msh_function.patch +++ b/shell/msh_function.patch | |||
@@ -216,7 +216,7 @@ diff -d -urpN busybox.7/shell/msh.c busybox.8/shell/msh.c | |||
216 | + p->name = xstrdup(yylval.cp); | 216 | + p->name = xstrdup(yylval.cp); |
217 | + //fprintf(stderr, "register function,%d,%d,%s\n", begin, end, p->name); | 217 | + //fprintf(stderr, "register function,%d,%d,%s\n", begin, end, p->name); |
218 | + KSDBG_PRINT_FUNCNAME; | 218 | + KSDBG_PRINT_FUNCNAME; |
219 | + /* io stream */ | 219 | + /* io stream */ |
220 | + p->begin_addr = begin; | 220 | + p->begin_addr = begin; |
221 | + p->end_addr = end; | 221 | + p->end_addr = end; |
222 | +} | 222 | +} |
@@ -251,7 +251,7 @@ diff -d -urpN busybox.7/shell/msh.c busybox.8/shell/msh.c | |||
251 | + frame[cur_frame].argv = dolv; | 251 | + frame[cur_frame].argv = dolv; |
252 | + | 252 | + |
253 | + cur_frame++; | 253 | + cur_frame++; |
254 | + /* do some argment parse and set arguments */ | 254 | + /* do some argument parse and set arguments */ |
255 | + temp_argv = xmalloc(sizeof(char *)); | 255 | + temp_argv = xmalloc(sizeof(char *)); |
256 | + temp_argv[0] = xstrdup(f->name); | 256 | + temp_argv[0] = xstrdup(f->name); |
257 | + temp_argc = 0; | 257 | + temp_argc = 0; |
@@ -273,7 +273,7 @@ diff -d -urpN busybox.7/shell/msh.c busybox.8/shell/msh.c | |||
273 | + } | 273 | + } |
274 | + /* | 274 | + /* |
275 | + global_env.iop->argp->afpos--; | 275 | + global_env.iop->argp->afpos--; |
276 | + global_env.iop->argp->afbuf->bufp--; | 276 | + global_env.iop->argp->afbuf->bufp--; |
277 | + */ | 277 | + */ |
278 | + dolc = temp_argc; | 278 | + dolc = temp_argc; |
279 | + dolv = temp_argv; | 279 | + dolv = temp_argv; |