[patch] no output when executing md5sum in back quotes
Daniel Farrugia
daniel at 2x.com
Thu May 17 01:30:15 PDT 2007
* Denis Vlasenko <vda.linux at googlemail.com> [2007-05-17 00:26:52 +0200]:
> On Wednesday 16 May 2007 12:25, Daniel Farrugia wrote:
> > Hello List,
> >
> > The md5sum applet included with busybox 1.5.0 seems to have a problem
> > when executed inside back quotes. Running the applet directly from the
> > shell works fine however when back quotes are used there is no output:
> >
> > % busybox md5sum busybox [works]
> > % echo `busybox md5sum busybox` [no ouput]
> >
> > It seems that the applet doesn't flush stdout before exiting. The
> > trivial patch included below fixed this problem for me.
>
> Are you using CONFIG_STATIC=y and glibc?
Hello Denis,
I was in fact statically linking against glibc using the tool chain that
comes with Debian Sarge. I re-compiled with the uClibc tool chain and
the problem went away. Sorry for the noise.
Daniel
More information about the busybox
mailing list