Choose stat() or stat64() correctly on Solaris 10.

Solaris 64 bit only has stat(), 32 bit has stat64() and stat().
Choose stat() or stat64() correctly on Solaris 10.

Solaris 64 bit only has stat(), 32 bit has stat64() and stat().

Signed-off-by: Wayne Meissner <wmeissner@gmail.com>
Merge pull request #10 from bensummers/master

Solaris fix - choose proper stat function for 32 vs 64-bit.
[maven-release-plugin] prepare release 2.2
[maven-release-plugin] prepare for next development iteration
cleanup version - not sure where the problems lies but it helps to get
integration tests for jruby-core artifact to work
Merge pull request #11 from mkristian/master

please see http://jira.codehaus.org/browse/JRUBY-5848 for details
Updated to stable jnr-ffi and jnr-constants
Bump version to 2.3.0-SNAPSHOT
[maven-release-plugin] prepare release 2.3.0
[maven-release-plugin] prepare for next development iteration
.bat detection properly working uncovered several other logic errors in windows exec code
[maven-release-plugin] prepare release 2.3.1
[maven-release-plugin] prepare for next development iteration
Ensure fstat(int fd) uses __fxstat64() on linux.  Fixes jruby/jruby#390
[maven-release-plugin] prepare release 2.3.2
[maven-release-plugin] prepare for next development iteration
Add travis-ci config
Use real errno value if stat or lstat fails
Cleanups, and use posix.stat() instead of libc().stat() (which can fail under linux)