diff options
author | Jakob Unterwurzacher | 2018-01-31 18:59:10 +0100 |
---|---|---|
committer | Jakob Unterwurzacher | 2018-01-31 18:59:10 +0100 |
commit | 26ba8103bf2422493a01b57b8ee53aa9b1e867f7 (patch) | |
tree | 287ce2ac739054a8a6caa1f61dc2efd06d9b55fe /internal/stupidgcm/stupidgcm.go | |
parent | b611e01035ae856c34464eaa480de4b5769a80f2 (diff) |
syscallcompat: switch from syscall.Getdents to unix.Getdents
On mips64le, syscall.Getdents() and struct syscall.Dirent do
not fit together, causing our Getdents implementation to
return garbage ( https://github.com/rfjakob/gocryptfs/issues/200
and https://github.com/golang/go/issues/23624 ).
Switch to unix.Getdents which does not have this problem -
the next Go release with the syscall package fixes is too
far away, and will take time to trickle into distros.
Diffstat (limited to 'internal/stupidgcm/stupidgcm.go')
0 files changed, 0 insertions, 0 deletions