lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Sun, Aug 27, 2017 at 6:27 AM, Dirk Laurie <dirk.laurie@gmail.com> wrote:
> In §6.8, in the description of file:read(), the term "end-of-lne
> character" is used. It should be "end-of-line sequence" as in §3.1, in
> the description of a long string.

If you look at the readline function in liolib.c you'll notice it is
checking for the usual C-stdio newline CHAR '\n', it seems to rely on
stdio adequately converting sequences to chars in the systems which
need that.

Francisco Olarte.