Jivin Mike Frysinger lays it down ... > The sed debug showed incorrect syntax for deletions, and the program exec > debug missed output redirection.
Applied, Thanks, Davidm > > Signed-off-by: Mike Frysinger <vap...@gentoo.org> > --- > ld-elf2flt.c | 4 +++- > 1 files changed, 3 insertions(+), 1 deletions(-) > > diff --git a/ld-elf2flt.c b/ld-elf2flt.c > index 227c90b..707e9e1 100644 > --- a/ld-elf2flt.c > +++ b/ld-elf2flt.c > @@ -120,6 +120,8 @@ execute(const char *command, const char *output, const > options_t *options, ...) > fprintf(stderr, "Invoking:"); > for (ix = 0; ix != opts.num - 1; ix++) > fprintf(stderr, " '%s'", opts.options[ix]); > + if (output) > + fprintf(stderr, " > '%s'", output); > fprintf(stderr, "\n"); > } > > @@ -173,7 +175,7 @@ do_sed(const sed_commands_t *sed, const char *name_in, > const char *name_out) > if (replacement) > fprintf(stderr, "\t-e 's/%s/%s/' \\\n", > pattern, replacement); > else > - fprintf(stderr, "\t-e 'd/%s/' \\\n", pattern); > + fprintf(stderr, "\t-e '/%s/d' \\\n", pattern); > } > fprintf(stderr, "\t%s > %s\n", name_in, name_out); > } > -- > 1.7.1 > > _______________________________________________ > uClinux-dev mailing list > uClinux-dev@uclinux.org > http://mailman.uclinux.org/mailman/listinfo/uclinux-dev > This message was resent by uclinux-dev@uclinux.org > To unsubscribe see: > http://mailman.uclinux.org/mailman/options/uclinux-dev > > -- David McCullough, david_mccullo...@mcafee.com, Ph:+61 734352815 McAfee - SnapGear http://www.mcafee.com http://www.uCdot.org _______________________________________________ uClinux-dev mailing list uClinux-dev@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-dev@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev