Vendor package github.com/bugsnag/panicwrap to v1.1.0 to support ARM64
Done with command `godep update -v github.com/bugsnag/panicwrap`. Signed-off-by: Boris Pruessmann <boris@pruessmann.org>
This commit is contained in:
6
Godeps/Godeps.json
generated
6
Godeps/Godeps.json
generated
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"ImportPath": "github.com/docker/machine",
|
||||
"GoVersion": "go1.7",
|
||||
"GodepVersion": "v74",
|
||||
"GodepVersion": "v79",
|
||||
"Packages": [
|
||||
"github.com/docker/machine",
|
||||
"github.com/docker/machine/cmd",
|
||||
@@ -262,8 +262,8 @@
|
||||
},
|
||||
{
|
||||
"ImportPath": "github.com/bugsnag/panicwrap",
|
||||
"Comment": "1.0.0",
|
||||
"Rev": "e5f9854865b9778a45169fc249e99e338d4d6f27"
|
||||
"Comment": "1.1.0",
|
||||
"Rev": "aceac81c6e2f55f23844821679a0553b545e91df"
|
||||
},
|
||||
{
|
||||
"ImportPath": "github.com/cenkalti/backoff",
|
||||
|
||||
11
vendor/github.com/bugsnag/panicwrap/CHANGELOG.md
generated
vendored
Normal file
11
vendor/github.com/bugsnag/panicwrap/CHANGELOG.md
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
## 1.1.0 (2016-01-18)
|
||||
|
||||
* Add ARM64 support
|
||||
[liusdu](https://github.com/liusdu)
|
||||
[#1](https://github.com/bugsnag/panicwrap/pull/1)
|
||||
|
||||
## 1.0.0 (2014-11-10)
|
||||
|
||||
### Enhancements
|
||||
|
||||
* Add ability to monitor a process
|
||||
11
vendor/github.com/bugsnag/panicwrap/dup2.go
generated
vendored
Normal file
11
vendor/github.com/bugsnag/panicwrap/dup2.go
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
// +build darwin dragonfly freebsd linux,!arm64 netbsd openbsd
|
||||
|
||||
package panicwrap
|
||||
|
||||
import (
|
||||
"syscall"
|
||||
)
|
||||
|
||||
func dup2(oldfd, newfd int) error {
|
||||
return syscall.Dup2(oldfd, newfd)
|
||||
}
|
||||
11
vendor/github.com/bugsnag/panicwrap/dup3.go
generated
vendored
Normal file
11
vendor/github.com/bugsnag/panicwrap/dup3.go
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
// +build linux,arm64
|
||||
|
||||
package panicwrap
|
||||
|
||||
import (
|
||||
"syscall"
|
||||
)
|
||||
|
||||
func dup2(oldfd, newfd int) error {
|
||||
return syscall.Dup3(oldfd, newfd, 0)
|
||||
}
|
||||
3
vendor/github.com/bugsnag/panicwrap/monitor.go
generated
vendored
3
vendor/github.com/bugsnag/panicwrap/monitor.go
generated
vendored
@@ -6,7 +6,6 @@ import (
|
||||
"github.com/bugsnag/osext"
|
||||
"os"
|
||||
"os/exec"
|
||||
"syscall"
|
||||
)
|
||||
|
||||
func monitor(c *WrapConfig) (int, error) {
|
||||
@@ -54,7 +53,7 @@ func monitor(c *WrapConfig) (int, error) {
|
||||
return -1, err
|
||||
}
|
||||
|
||||
err = syscall.Dup2(int(write.Fd()), int(os.Stderr.Fd()))
|
||||
err = dup2(int(write.Fd()), int(os.Stderr.Fd()))
|
||||
if err != nil {
|
||||
return -1, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user