[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] luajit-msgpack - with questions to Mike
- From: Mike Pall <mikelu-1111@...>
- Date: Sat, 26 Nov 2011 16:59:45 +0100
Robert G. Jakabosky wrote:
> On Friday 25, Mike Pall wrote:
> > ffi.errno() is not compiled, because it's supposed to be called
> > only in the (uncommon) error path.
>
> Not always. When doing nonblocking socket IO it is common to get EAGAIN on
> read/recv calls, or EINPROGRESS from connect(). I created a wrapper C
> function for errno in one my new bindings [1], because ffi.errno() was not
> compiled.
Ok, that's a legitimate use case. I've fixed that in git HEAD.
Calls to ffi.errno() are now compiled.
--Mike