prompt display when cd to dir symoblic link
Harald Becker
ralda at gmx.de
Thu Apr 2 09:13:49 UTC 2015
On 02.04.2015 10:34, Harald Becker wrote:
> I don't know how to fix this.
Suggesting:
adding an extra parameter to read_line_input()
read_line_input(..., char *cwd_buf, ...)
propagating this to parse_and_put_prompt()
(removing the local variable of same name)
parse_and_put_prompt(..., char *cwd_buf)
Then calling in ash:
read_line_input(..., cdopt() ? physdir : curdir, ...)
... and at other locations, giving save function as now:
read_line_input(..., NULL, ...)
That should do the job, as expected.
--
Harald
More information about the busybox
mailing list