[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: PATCH: Lua 5.0.2 popen/pclose fix (was Re: segfault in io.close and a plea for pipes)
- From: Klaus Ripke <paul-lua@...>
- Date: Wed, 25 May 2005 14:45:44 +0200
On Wed, May 25, 2005 at 02:26:37PM +0200, Mike Pall wrote:
> Read more in this thread:
> http://lua-users.org/lists/lua-l/2004-09/threads.html#00078
the generic buffered IO suggested there is exactly what I
am doing right now, supporting regular seekable files,
string buffers and bidirectional and unidirectional streams,
including sockets and pipes.
On the one hand it's not portable per se:
There is the #ifdef _WIN32 impl and the posix impl
and some system might require something else.
OTOH, e.g. printf uses identical code for all
plattforms and thus should be bug-compatible.
Some alpha due next week.
cheers