ash: reduce code differences from upstream
Upstream commit: Date: Wed, 8 Sep 2010 16:21:52 +0800 [JOBS] Debug compile fix No point in tracing a no longer undeclared "ps->cmd", fixes: jobs.c: In function \u2018commandtext\u2019: jobs.c:1192: error: \u2018ps\u2019 undeclared (first use in this function) jobs.c:1192: error: (Each undeclared identifier is reported only once jobs.c:1192: error: for each function it appears in.) Signed-off-by: maximilian attems <max@stro.at> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
1825e4f935
commit
6a94cee409
@ -4668,8 +4668,7 @@ commandtext(union node *n)
|
|||||||
STARTSTACKSTR(cmdnextc);
|
STARTSTACKSTR(cmdnextc);
|
||||||
cmdtxt(n);
|
cmdtxt(n);
|
||||||
name = stackblock();
|
name = stackblock();
|
||||||
TRACE(("commandtext: name %p, end %p\n\t\"%s\"\n",
|
TRACE(("commandtext: name %p, end %p\n", name, cmdnextc));
|
||||||
name, cmdnextc, cmdnextc));
|
|
||||||
return ckstrdup(name);
|
return ckstrdup(name);
|
||||||
}
|
}
|
||||||
#endif /* JOBS */
|
#endif /* JOBS */
|
||||||
|
Loading…
Reference in New Issue
Block a user