From ec74d1d2f4217a9a337d1db9902f32ae2aecaf33 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Sun, 17 May 2020 14:18:23 +0200 Subject: Update go-fuse import path to github.com/hanwen/go-fuse/v2 We need https://github.com/hanwen/go-fuse/commit/fd7328faf9fdf75709f7ba7df7072aaf4eeb18b3 to fix a crash reported in https://github.com/rfjakob/gocryptfs/issues/430 : 2019/10/30 17:14:16 Unknown opcode 2016 panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x508d38] This patch is only in the v2.x.x branch. Upgrade to v2, as the old API is also supported there. Running git grep hanwen/go-fuse | grep -v hanwen/go-fuse/v2 to check for forgotten references comes back clean. --- build.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build.bash') diff --git a/build.bash b/build.bash index b5a0c4d..a6412ff 100755 --- a/build.bash +++ b/build.bash @@ -42,7 +42,7 @@ if [[ -d vendor/github.com/hanwen/go-fuse ]] ; then else # go-fuse version according to Go Modules FAIL=0 - OUT=$(go list -m github.com/hanwen/go-fuse | cut -d' ' -f2) || FAIL=1 + OUT=$(go list -m github.com/hanwen/go-fuse/v2 | cut -d' ' -f2) || FAIL=1 if [[ $FAIL -eq 0 ]]; then GITVERSIONFUSE=$OUT else -- cgit v1.2.3