Skip to content

Commit

Permalink
[Truffle] Use the new getgroups POSIX call.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisseaton committed Oct 11, 2016
1 parent 1a6f27a commit 4d15290
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion core/pom.rb
Expand Up @@ -49,7 +49,7 @@
jar 'com.github.jnr:jnr-enxio:0.13', :exclusions => ['com.github.jnr:jnr-ffi']
jar 'com.github.jnr:jnr-x86asm:1.0.2', :exclusions => ['com.github.jnr:jnr-ffi']
jar 'com.github.jnr:jnr-unixsocket:0.13', :exclusions => ['com.github.jnr:jnr-ffi']
jar 'com.github.jnr:jnr-posix:3.0.30', :exclusions => ['com.github.jnr:jnr-ffi']
jar 'com.github.jnr:jnr-posix:3.0.31-SNAPSHOT', :exclusions => ['com.github.jnr:jnr-ffi']
jar 'com.github.jnr:jnr-constants:0.9.4', :exclusions => ['com.github.jnr:jnr-ffi']
jar 'com.github.jnr:jnr-ffi:2.1.0'
jar 'com.github.jnr:jffi:${jffi.version}'
Expand Down
2 changes: 1 addition & 1 deletion core/pom.xml
Expand Up @@ -137,7 +137,7 @@ DO NOT MODIFIY - GENERATED CODE
<dependency>
<groupId>com.github.jnr</groupId>
<artifactId>jnr-posix</artifactId>
<version>3.0.30</version>
<version>3.0.31-SNAPSHOT</version>
<exclusions>
<exclusion>
<artifactId>jnr-ffi</artifactId>
Expand Down
Expand Up @@ -438,6 +438,6 @@ public int mkfifo(String path, int mode) {

@Override
public long[] getgroups() {
return Platform.getPlatform().getGroups(null);
return posix.getgroups();
}
}

0 comments on commit 4d15290

Please sign in to comment.