Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

Commit

Permalink
Fix "Memory mapped file error" regression
Browse files Browse the repository at this point in the history
  • Loading branch information
kaloyan-raev committed Feb 1, 2018
1 parent 0160e68 commit 0e4a8a6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ For building Android applications it is recommended to use the [android-libstorj

```Gradle
dependencies {
compile 'io.storj:libstorj-java:0.6'
compile 'io.storj:libstorj-java:0.6.1'
}
```

Expand All @@ -20,6 +20,6 @@ dependencies {
<dependency>
<groupId>io.storj</groupId>
<artifactId>libstorj-java</artifactId>
<version>0.6</version>
<version>0.6.1</version>
</dependency>
```
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ apply plugin: 'maven'
apply plugin: 'maven-publish'

group = 'io.storj'
version = '0.6'
version = '0.6.1'

description = """Java bindings for libstorj"""

Expand Down
2 changes: 1 addition & 1 deletion src/main/cpp/storj-java.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -866,7 +866,7 @@ Java_io_storj_libstorj_Storj__1downloadFile(
FILE *fd = NULL;

if (path) {
fd = fopen(path, "w");
fd = fopen(path, "w+");
}

if (fd == NULL) {
Expand Down

0 comments on commit 0e4a8a6

Please sign in to comment.