MFC: mksh R28 → R31c+20070926
Reason: the busy-loop problem, which was fixed in R31b, was discovered
by spaetzle@ even doing some simpler pattern matching; also cf.
http://bugs.debian.org/296446 and http://mirbsd.de/mksh#clog
Side effects:
- you can now select to build a full-featured mksh in menuconfig
(still defaults to ‘n’, as does mksh itself)
- the new dot.mkshrc file offers pushd/popd/dirs (csh-like) as
well as the precmd() and chpwd() hooks (zsh-like)
- added dependency on busybox: “readlink -f”
- UI still the same, except no $? in $PS1 any more (req. by yofuh)
- /etc/mkshrc is now an ipkg conffile and handled appropriately
- building with pcc should be possible (if you turn optimisation off)
Tested:
- FreeWRT 1.0-stable, ASUS WL-500g, mksh as /bin/sh+/bin/ash full-featured
- FreeWRT-current (by spaetzle@) before the MFC
git-svn-id: svn://www.freewrt.org/branches/freewrt_1_0@3582 afb5a338-a214-0410-bd46-81f09a774fd1