Commit ID: 1005529621266CFBE99
CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2015/04/11 18:08:57 UTC
Modified files:
bin/mksh : dot.mkshrc
Log message:
some robustness improvements for dot.mkshrc:
• do not use \return for return before we know we are mksh
(plus fix a wrong-word mistake)
• quote the argument(s) to \: (“colon”) for SECURITY
• default $MKSH to /bin/mksh (not normally reached)
• while here: check $USER only once, not for each PS1 (speed)
this addresses and mostly closes LP#1441853 – prt.mkshrc (in
OBS home:mirabile/mksh and DEB wtf-mksh they are identical)
is already good; Android mkshrc needs only some small robustness
fixes (mostly colon-related; enh says TMPDIR is good); I tested
this with “mksh -eu” and “mksh -eul” on Debian and ecce and with
read-only “/” and nothing else mounted on ecce, and it WFM
To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.94 -r1.95 src/bin/mksh/dot.mkshrc