[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [MANUAL] End-of-line characters
- From: Francisco Olarte <folarte@...>
- Date: Sun, 27 Aug 2017 12:46:28 +0200
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.