CVSROOT: /cvs Module name: src Changes by: nat...@cvs.openbsd.org 2016/03/06 04:56:20
Modified files: bin/ksh : ksh.1 misc.c Log message: Make set +o conform with POSIX. It should be possible to use set +o to save the current shell options, then modify them at will and later restore them to the saved value. Therefore the output must not only contain the options which are currently set, but also the ones that are _not_ set, so a restore disables them if they are enabled. from Martijn Dekker (martijn (at) inlv (dot) org) ok sthen@, tb@