added POSIX.fstat(int) to allow for any fd
Merge pull request #2 from metadave/master

added POSIX.fstat(int) to resolve bug JRUBY-3769
Add a ProcessMaker abstraction that can be implemented with native or java.lang.ProcessBuilder.
jnr-ffi and jnr-constants are *not* actually provided by something else in the runtime, they are genuine dependencies.
add a default posix handler implementation with reasonable defaults, make it convenient to use from POSIXFactory
Merge pull request #3 from brianm/patch-1

make jnr-ffi and jnr-constants first class dependencies
Merge pull request #4 from brianm/master

Create a default POSIXHandler
Fix FileStat on OpenBSD

There are a couple of issues here.  First, OpenBSDPOSIX used
FreeBSDHeapFileStat instead of OpenBSDHeapFileStat, so that
needs to be fixed first.  Second, OpenBSDHeapFileStat does
have the correct layout causing fields after st_mode to be
incorrect.  The big changes here were making mode and nlink
32-bit instead of 16-bit, and making time_t 32-bit instead
of long, since according to the OpenBSD system headers:

    /usr/include/sys/stat.h:        nlink_t   st_nlink;             /* number of hard links */
    /usr/include/sys/types.h:typedef        __nlink_t       nlink_t;        /* link count */
    /usr/include/sys/_types.h:typedef       __uint32_t      __nlink_t;      /* link count */

    /usr/include/sys/stat.h:        mode_t    st_mode;              /* inode protection mode */
    /usr/include/sys/types.h:typedef        __mode_t        mode_t;         /* permissions */
    /usr/include/sys/_types.h:typedef       __uint32_t      __mode_t;       /* permissions */

    /usr/include/sys/types.h:typedef        __time_t        time_t;
    /usr/include/i386/_types.h:typedef      int                     __time_t;
    /usr/include/amd64/_types.h:typedef     int                     __time_t;

On OpenBSD amd64, long is 64-bit, not 32-bit.

I checked the other entries in struct stat and found that
many were unsigned, not signed, so I fixed those as well.
Manually cast return types to fix compile errors after changes to OpenBSDHeapFileStat
Add missing OpenBSD FileStat field that messed up fields after rdev

I've tested this on OpenBSD with jruby master and checked that
File.stat now gives the correct result.
Merge pull request #7 from jeremyevans/openbsd

Fix FileStat on OpenBSD
Hand merge pull request #6 from Brian McCallister <brianm@skife.org>
OpenJDK OS X reports amd64 for os.arch; normalize to x86_64.
Always use stat64 on solaris
Convert MacOSFileStat to use a StructLayout
Update jnr-ffi dependency to 0.7.0-SNAPSHOT
Switch Group over to use StructLayout
Convert linux and solaris over to use StructLayout
Move MacOSStatLayout into MacOSFileStat as an inner class.  Other solaris related fixes.
Move the rest of the FileStat implementations over to use an external layout