lua-users home
lua-l archive

io:lines() and 0円

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


Hi all,

I just noticed that io:lines() does not cope with 0円 in the lines, and thus just returns truncated lines (lua-5.2.3, but legacy 5.1 likewise).

May I suggest replacing the call to fgets in src/liolib.c so that we can read lines with 0円 data?

René


AltStyle によって変換されたページ (->オリジナル) /