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:
@@ -4668,8 +4668,7 @@ commandtext(union node *n)
|
||||
STARTSTACKSTR(cmdnextc);
|
||||
cmdtxt(n);
|
||||
name = stackblock();
|
||||
TRACE(("commandtext: name %p, end %p\n\t\"%s\"\n",
|
||||
name, cmdnextc, cmdnextc));
|
||||
TRACE(("commandtext: name %p, end %p\n", name, cmdnextc));
|
||||
return ckstrdup(name);
|
||||
}
|
||||
#endif /* JOBS */
|
||||
|
||||
Reference in New Issue
Block a user