[BusyBox] tab search bug in ash

Larry Doolittle ldoolitt at recycle.lbl.gov
Tue Jan 13 23:40:15 UTC 2004


On Wed, Jan 14, 2004 at 10:30:31AM +1100, Andrew Hall wrote:
> modified /etc/profile and used export PATH statement.
> The cmdline is able to find java in the path, but the tab function can not.
> 
> From: "Vladimir N. Oleynik" <dzo at simtreas.ru>
> > cmdedit used PATH variable for search.
> > Have you real changes PATH to search from /usr/local/java/bin ?

Could it be that cmdedit initializes a (local) static variable with
getenv("PATH"), so if the path changes during execution that
static string becomes stale?

This is idle speculation, I don't have a -pre4 tree handy to inspect myself.

  - Larry



More information about the busybox mailing list