[BusyBox] Small cd bug?

Matt Kraai kraai at alumni.carnegiemellon.edu
Mon Apr 30 08:48:43 UTC 2001


On Fri, Apr 27, 2001 at 07:55:29PM -0500, Richard A. Smith wrote:
> 
> when I try to do a 'cd' to a nonexistant directory I get some garbage
> on the end of the output.
> 
> cd asdf
> cd: asdf: %m

On my system, the result of strerror(errno) is substituted for %m.
This is using GNU libc 2.1.3.  Support in uClibc can be enabled by
defining WANT_GNU_ERRNO to 1 in stdio/printf.c.

Matt





More information about the busybox mailing list