CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]        2026/04/17 08:07:48

Modified files:
        usr.bin/mandoc : mansearch.c 

Log message:
Delete the pointless logic that remembers the original working directory.
It was never needed because manpath_add() in manpath.c has always been
using realpath(3) since the very beginning in 2011, so struct manpaths
only ever contains absolute paths.
The only exception is man.cgi(8), but that chdir(2)s to the right
directory beforehand and only ever uses one single manpath, ".".

This simplifies the code with no functional change.

Reply via email to