Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
Commits on Sep 17, 2013
Wayne Meissner [maven-release-plugin] prepare for next development iteration bd55eb2
Commits on Oct 04, 2013
@akiellor akiellor Added support for getdtablesize. 7a77e94
Commits on Oct 10, 2013
@akiellor akiellor Added POSIX#dup 6e4801d
@akiellor akiellor Added POSIX#dup2. 0b77950
@headius headius Merge pull request #19 from akiellor/dup
Added POSIX#dup
@headius headius Fix bad use of unimplementedNull in an int method from #19. 53ddb7a
@akiellor akiellor Merge branch 'master' into add-getdtablesize
@akiellor akiellor POSIX#close 917f507
@akiellor akiellor POSIX#fcntl 424bec1
@akiellor akiellor POSIX#fcntl w/ argument. 1c71c4c
@akiellor akiellor Improve test for POSIX#fcntl w/ arg 7a5bae7
Commits on Oct 11, 2013
@headius headius Merge pull request #18 from akiellor/add-getdtablesize
Added support for getdtablesize.
@headius headius Merge pull request #20 from akiellor/close
@akiellor akiellor Merge branch 'master' into fcntl
@akiellor akiellor Fix CheckedPOSIX#getdtablesize for java 1.6 6c12c68
Commits on Oct 12, 2013
@headius headius Merge pull request #21 from akiellor/fcntl
Commits on Oct 14, 2013
Wayne Meissner Add posix_spawnattr to posix_spawn 1d1b64c
Commits on Oct 15, 2013
Wayne Meissner Fix posix_spawn b2cc7b5
Commits on Mar 13, 2014
@headius headius Implement unlink(2). c0073d3
Commits on May 22, 2014
@headius headius Implement open(2). f3706a5
Commits on May 28, 2014
@lance lance Add pwrite() to libc and tests for both write() and pwrite(). 8346141
@lance lance Clean up after write/pwrite tests 441b06c
@enebo enebo Merge pull request #26 from lance/master
Allow for positional writes on a file descriptor
Commits on May 29, 2014
@headius headius Add a (preferred) long-receiving version of waitpid. fed067f
@headius headius Add sigdef attribute for posix_spawn. a13f4b6
Commits on May 31, 2014
@headius headius Add read, write, pread, pwrite, lseek, and pipe (+ tests). db623e7
@headius headius Add a test for posix_spawn. May not work on all platforms. 38e2ab9
Commits on Jul 20, 2014
@headius headius lseek should take a long offset. 580b934
@headius headius Add ftruncate. b34b2aa
@headius headius Add fcntlInt that takes one int arg and a no-arg version.
fcntl was modified to take int... but because jnr-ffi does not
support variadic invocation those arguments were never passed to
native. I deprecated the old int... version and added new versions
that pass no args or one int arg. This should cover most use cases
and not mislead anyone into thinking varargs should work.
@headius headius Use posix.write() directly. 32c4757
@headius headius Better tests already in SpawnTest. 22239c4
@headius headius Deprecation has no purpose here. 2be0fd5
Commits on Jul 22, 2014
@headius headius Add getcwd. 84257ea
@headius headius Make posix_spawnp return -1 on error, rather than bogus pid. 55452f3
Commits on Jul 23, 2014
@headius headius Add toString to posix_spawn nibbles. 633f9c6
Commits on Aug 07, 2014
Vitor de Lima Fix _STAT_VER in some Linux systems
The _STAT_VER used in the __xstat64(), __lxstat64(), and __fxstat64() functions
is wrong in some Linux systems. This patch calls one of these functions in
order to determine the correct value.
Commits on Aug 08, 2014
@lance lance Make fchmod available 24a52ab
@lance lance Make fchown available. I am not really sure how to test this. 5e8a6c7
@lance lance Make futimes avaialable. 96225d8
@lance lance Make fsync and fdatasync available. 1e7ec63
@enebo enebo Merge pull request #32 from lance/master
Profide fchmod, fchown, futimes, fsync and fdatasync
@enebo enebo Merge pull request #31 from vitordelima/master
Fix _STAT_VER in some Linux systems
Commits on Aug 11, 2014
@enebo enebo Test non-deprecated version of fcntl 75a036a
@enebo enebo Do not reflectively try to access field handle unless we are on Windo…
Commits on Aug 12, 2014
@headius headius Expand stat/lstat/fstat fallback logic on Linux to all signatures. 9602fab
Commits on Aug 13, 2014
@bobmcwhirter bobmcwhirter Implement socketpair(domain, type, protocol, fds[]) in POSIX and LibC. 567b50a
Commits on Aug 18, 2014
@bobmcwhirter bobmcwhirter * Implement sendmsg(socket, msg, flags) and recvmsg(socket, msg, flags).
* Add allocateMsgHdr() to POSIX to allocate structures.
* Implement layout for MacOS only thus far. (All others throw not-implemented).
@bobmcwhirter bobmcwhirter Remove JDK7ism of StandardCharset. 3ad3036
@headius headius Remove unused import of StandardCharsets (Java 7+). 8e218cb
@headius headius Do not ignore test failures. fe847f8
@invalid-email-address invalid-email-address Add Linux64 support for sendmsg()/recvmsg(). d9757d4
Commits on Aug 19, 2014
@bobmcwhirter bobmcwhirter * Remove 64 suffix, since same structures work on both Linux64 and Li…

* Enable sendmsg()/recvmsg() for both Linux64 and Linux32.
Commits on Aug 20, 2014
@enebo enebo Bump for version 2866e37
@enebo enebo Update for next snapshot 6658be8
Commits on Aug 25, 2014
@enebo enebo Fix stat/lstat/getpid on Windows 1d02fd2
@enebo enebo Make winderz work release 044fde2
@enebo enebo Make snapshot for next dev release c4f7ad2
Commits on Aug 29, 2014
@yousuketto yousuketto implement chdir(path) on Windows b6281c1
@enebo enebo Merge pull request #35 from yousuketto/chdir_on_windows
implement chdir(path) on Windows
Thomas Enebo New release for windows chdir() support 9c9f916
@enebo enebo Update to next dev version 43ccfb9
Commits on Aug 30, 2014
@enebo enebo Pure Java was never returning -1 and only calling into a handler. Mak…
…e it behave the same as native lstat
@enebo enebo Fix non-native lstat impl release 7c266e7
@enebo enebo Bump for dev version 5eb886b
Commits on Sep 03, 2014
@enebo enebo Comment out one failing test on windows with a note 8b8a9ae
@enebo enebo Turn on umask on Windows 2c807bc
@enebo enebo Bump for windows umask release a718306
@enebo enebo Next dev version b0254ca
Commits on Sep 09, 2014
@headius headius Must close write side of "in" pipe in the child. c9faa24
Commits on Sep 30, 2014
Jeremy Evans Sync with OpenBSD changes wrt 64-bit types.
OpenBSD moved from 32-bit time_t to 64-bit time_t (along with several other
type changes). This brings jnr-posix back in sync OpenBSD and effectively
unbreaking it on OpenBSD >= 5.5.
Commits on Nov 04, 2014
@headius headius Merge pull request #36 from jasperla/openbsd64
Sync with OpenBSD changes wrt 64-bit types.
@headius headius Special-case utimes to appropriately match OpenBSD layout.
Still needs correct size elements for #38.
@jeremyevans jeremyevans Fix OpenBSDTimeval on i386
On OpenBSD 5.5+, time_t is always a signed 64-bit integer.
I've tested thison i386 and amd64 via File.utime in JRuby
and it works correctly.
@headius headius Merge pull request #39 from jeremyevans/master
Fix OpenBSDTimeval on i386
@headius headius [maven-release-plugin] prepare release jnr-posix-3.0.7 68bf3e4
@headius headius [maven-release-plugin] prepare for next development iteration 5c781f2
Commits on Dec 02, 2014
@enebo enebo Minimal work for a native crypt imp e572772
Commits on Dec 03, 2014
@enebo enebo Add pure-Java basic crypt support (ported from JRuby codebase with pe…
…rmission to move here)
@enebo enebo Bump for new jnr-ffi release 5bbaf0e
@enebo enebo Linux uses libcrypt for crypt() afb97e6
@enebo enebo This test seems to fail differently on different unix systems and is …
…testing an empty spawn useful?
@enebo enebo comment out test which fails on travis with a fixme 2b60634
Commits on Dec 08, 2014
@enebo enebo FreeBSD and NetBSD both use libcrypt for new native crypt() support 5bce132
@enebo enebo Bump for version 002fb68
@enebo enebo Bump for next dev cycle 31aa0e6
Commits on Dec 10, 2014
@enebo enebo Have Windows call pure-Java DES version of crypt fb546ea
@enebo enebo Fixes JRuby #2297 74fe27d
Commits on Dec 12, 2014
@enebo enebo Update for release. Use up to date artifacts 51f98ea
@enebo enebo Update for next dev cycle 6b7809b
Commits on Feb 23, 2015
@headius headius Use _wstat64 instead of _stat64 to support multibyte chars. adf5e46
Commits on Feb 26, 2015
@headius headius Add OS X to Travis. 20dc03a
@headius headius Update to jnr-ffi 2.0.2-SNAPSHOT. 6bba1ca
Commits on Mar 02, 2015
@headius headius Bump version to 3.0.10 for release and remove snapshot refs. 12fe456
@headius headius Bump version to 3.0.11-SNAPSHOT for dev. 6c5dd4b
Commits on Mar 05, 2015
@jestan jestan Linux file stat atime,ctime and mtime nano second support dcd1889
Commits on Mar 16, 2015
@headius headius Merge pull request #43 from jestan/fstat-nano-time
LinuxFileStat32/64 nano second support
@headius headius Add factory methods to get pure-Java and native explicitly.
Fixes #42.
Commits on Mar 18, 2015
@headius headius Add IRC to Travis. 9d4d16a
Commits on Mar 24, 2015
@headius headius Add null-terminated byte[] form of crypt and a test. 84115fc