CVSROOT:        /cvs
Module name:    src
Changes by:     k...@cvs.openbsd.org    2013/05/03 14:43:25

Modified files:
        usr.bin/vi/ex  : ex_init.c ex_source.c 
        usr.bin/vi/include: ex_extern.h 

Log message:
Use open(2) / fstat(2) instead of stat(2) / open(2) for checking
proper permissions of "local" .exrc or .nexrc files.

With some hints and fixes from deraadt@ and tobias@.

ok millert@ tobias@

(more tweaks suggested by millert@ and some cleanup will be done
in separate diffs)

Reply via email to