[Bug 485] ash debug output segmentation fault
bugzilla at busybox.net
bugzilla at busybox.net
Thu Jul 23 19:49:28 UTC 2009
https://bugs.busybox.net/show_bug.cgi?id=485
--- Comment #3 from Denys Vlasenko <vda.linux at googlemail.com> 2009-07-23 19:49:27 UTC ---
for (lp = n->npipe.cmdlist; lp; lp = lp->next) {
- shcmd(lp->n, fp);
+ shtree(lp->n, 0, NULL, fp);
Can you give an example when this change improves output?
Or is it fixes a bug?
This change does not actually change anything, AFAIKS:
- n = n->nif.ifpart;
- if (n->nif.elsepart) {
- cmdtxt(n);
+ if (!n->nif.elsepart) {
+ n = n->nif.ifpart;
+ } else {
+ cmdtxt(n->nif.ifpart);
cmdputs("; else ");
n = n->nif.elsepart;
}
Why do you need it?
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the busybox-cvs
mailing list