7 Dec
2017
7 Dec
'17
12:40 a.m.
(Hope this gets threaded with the previous two messages...) I was the one who asked the question (https://tex.stackexchange.com/questions/404617). Another thing I'd like to mention is that after a while `io.lines` simply returned nil, and the second and third return values (error message and error code) that io.lines is supposed to return in case of error were also nil. Even if this issue is not perfectly fixed (i.e. even if io.lines cannot be made to close the file descriptor when it reaches the end of file), I think it would be preferable to throw a clear error when there's a failure to open a new file, instead of silently (and in a not 100% reproducible way) returning nil.