On 10/23/2026 9:35 PM, via ntg-context wrote:
Hello,
I noticed a small issue in tex/context/base/mkxl/l-file.lmt, in the
implementation of file.canbewritten().
The function currently contains:
local path = pathpart(name)
if not path or pathpath == "" then
path = "."
end
I believe pathpath should be path.
indeed, i'll fix it
for the record: we now check more explicitly (reliable) for
readable/writeable on files/directories so that's why we need this
canbewritten too now so indeed best check all of this
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________