aports/testing/gitea/aarch64-go-log-fix.patch
2017-01-18 11:52:34 +00:00

11 lines
250 B
Diff

--- ./vendor/github.com/ngaut/log/crash_unix.go.orig
+++ ./vendor/github.com/ngaut/log/crash_unix.go
@@ -13,6 +13,6 @@
if err != nil {
log.Println(err.Error())
} else {
- syscall.Dup2(int(f.Fd()), 2)
+ syscall.Dup3(int(f.Fd()), 2, 0)
}
}