CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2019/07/22 06:39:02
Modified files:
usr.bin/vi/common: recover.c
Log message:
In secure mode (-S), skip sending mail when executing the :pre[serve]
command or when dying from SIGTERM. This way, creating the recovery
file works again without re-adding "proc exec" to the pledge(2).
As reported by Jesper Wallin <jesper at ifconfig dot se>, this got
broken by common/main.c rev. 1.29 (Nov 19, 2015).
The general direction of the fix was suggested by brynet@.
OK brynet@ and no opposition when shown on tech@