CVSROOT:        /cvs
Module name:    src
Changes by:     o...@cvs.openbsd.org    2023/03/30 13:00:02

Modified files:
        usr.bin/mg     : def.h extend.c fileio.c main.c ttykbd.c 

Log message:
don't access(conffile)

This removes a few access(2) calls in the configuration file handling.
startupfile() now opens and return the file and to avoid surprises it
also uses a caller-provided buffer to store the filename.  This also
removes the extra adjustpath() that load() did: it has been moved to
evalfile() only.

with help, fixes and ok tb@

Reply via email to