Closed ryandesign closed 1 year ago
I wasn't sure if it was ok to use sname
(which is not necessarily absolute) here or if I should extract the absolute path from path
.
Er, what I meant was, path
starts off as the absolute path to the item:
path = realpath(sname);
but is then changed into just the path to the directory:
path = path.substr(0, pos + 1); // include the /
I wasn't sure if I should save the original absolute path
and use that.
I was wondering that myself but it's 6 of 1, half a dozen of the other. Thanks for tracking it down.
This works for me to fix the problems with MWC68K/MWCPPC I reported in #56, and SC and MrC still work too. Does this fix look correct to you? I have not yet tested it extensively.