Commit ID:      1005FC2EA0B576914E9
CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2020/11/29 00:24:44 UTC

Modified files:
        bin/mksh       : dot.mkshrc

Log message:
make more 'set -ueo pipefail'-safe

mostly by sprinkling set +e where appropriate and using explicit error
handling especially where arithmetics are used, the alternative of doing
http://www.mirbsd.org/cvs.cgi/contrib/hosted/tg/progress-bar#rev1.6 would
be worse; also, end functions with \: (= return 0) in many places and do
not use implicitly-initialised variables; also protect against some unset

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.132 -r1.133 src/bin/mksh/dot.mkshrc

Reply via email to