CVSROOT:        /cvs
Module name:    src
Changes by:     o...@cvs.openbsd.org    2023/03/29 01:29:17

Modified files:
        usr.bin/mg     : mg.1 tags.c 

Log message:
change tagvisit (aka visit-tag-table) to immediately load the tag file

before it used to only record the path to the tag file which was loaded
on demand upon find-tag (M-.).  tagvisit did to do a stat + access dance
to know if the path was pointing to a regular, readable file and
loadtags (called lazily by find-tag) trusted those checks...

Instead, just load the tags in tagvisit and drop the lazy mechanics.

ok tb@

Reply via email to