On 12/16/21 23:29, Eli Zaretskii wrote:
Personally, I find the relative-path method much easier, but I will go
with anything Gavin considers as the preferable solution.

I'm not sure what you mean by "the relative-path" method and how it differs
from my example code.  Reading the file "../share/texinfo/foo.info" doesn't
work, since that is relative to $PWD *unless* there is logic to change
the effective $PWD.  And how do figure out how what to change the $PWD to?
You do something like my example code - or use a library that does
something similar.
--
        --Per Bothner
p...@bothner.com   http://per.bothner.com/

Reply via email to