rrthomas/luaposix — pull request #39 by stevedonovan (2012-05-22 12:45:46+00:00)
Title: Some Fixes

Hi Reuben,

As discussed, the important commit here is a fix for signal handling, so that subsequent calls to the handler succeed. It's the minimal fix, and I'm thinking about making it work with multiple signals and separate Lua states.

There's a fix to posix.system, which prevents a 'fork escape' if the execp fails.

The table returned by getgroup() contains a properly one-based array of users for that group.

The other minor one allows building on FreeBSD, but I wonder if there's a feature detection macro that will help to do this more elegantly.

steve d.