[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: io:lines() and \0
- From: steve donovan <steve.j.donovan@...>
- Date: Wed, 19 Feb 2014 20:19:42 +0200
On Wed, Feb 19, 2014 at 8:12 PM, René Rebe <rene@exactcode.de> wrote:
> I think that case is covered, but there is indeed a bug: it returns garbage
> if there is no newline at the end of the file. So non-C99 platforms would
> only be supported with the getc loop, ... :-/
Important point, really - Lua source is C89 'plus'. Main constraint
is the Microsoft compiler, which refuses to implement C99 properly
since MS thinks like a C++ zealot and can't understand why C people
don't just ... give up and use the language of the future.
- References:
- io:lines() and \0, René Rebe
- Re: io:lines() and \0, steve donovan
- Re: io:lines() and \0, René Rebe
- Re: io:lines() and \0, Enrico Colombini
- Re: io:lines() and \0, steve donovan
- Re: io:lines() and \0, René Rebe
- Re: io:lines() and \0, Craig Barnes
- Re: io:lines() and \0, René Rebe
- Re: io:lines() and \0, Craig Barnes
- Re: io:lines() and \0, Sean Conner
- Re: io:lines() and \0, René Rebe