mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 10:33:35 +00:00
vendor update for CSI 0.3.0
This commit is contained in:
2
vendor/golang.org/x/sys/plan9/mkerrors.sh
generated
vendored
2
vendor/golang.org/x/sys/plan9/mkerrors.sh
generated
vendored
@ -140,7 +140,7 @@ echo '#include <signal.h>' | $CC -x c - -E -dM $ccflags |
|
||||
sort >_signal.grep
|
||||
|
||||
echo '// mkerrors.sh' "$@"
|
||||
echo '// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT'
|
||||
echo '// Code generated by the command above; DO NOT EDIT.'
|
||||
echo
|
||||
go tool cgo -godefs -- "$@" _const.go >_error.out
|
||||
cat _error.out | grep -vf _error.grep | grep -vf _signal.grep
|
||||
|
2
vendor/golang.org/x/sys/plan9/mksyscall.pl
generated
vendored
2
vendor/golang.org/x/sys/plan9/mksyscall.pl
generated
vendored
@ -308,7 +308,7 @@ if($errors) {
|
||||
|
||||
print <<EOF;
|
||||
// $cmdline
|
||||
// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
|
||||
// Code generated by the command above; DO NOT EDIT.
|
||||
|
||||
package plan9
|
||||
|
||||
|
3
vendor/golang.org/x/sys/plan9/syscall.go
generated
vendored
3
vendor/golang.org/x/sys/plan9/syscall.go
generated
vendored
@ -11,11 +11,14 @@
|
||||
// system, set $GOOS and $GOARCH to the desired system. For example, if
|
||||
// you want to view documentation for freebsd/arm on linux/amd64, set $GOOS
|
||||
// to freebsd and $GOARCH to arm.
|
||||
//
|
||||
// The primary use of this package is inside other packages that provide a more
|
||||
// portable interface to the system, such as "os", "time" and "net". Use
|
||||
// those packages rather than this one if you can.
|
||||
//
|
||||
// For details of the functions and data types in this package consult
|
||||
// the manuals for the appropriate operating system.
|
||||
//
|
||||
// These calls return err == nil to indicate success; otherwise
|
||||
// err represents an operating system error describing the failure and
|
||||
// holds a value of type syscall.ErrorString.
|
||||
|
10
vendor/golang.org/x/sys/plan9/syscall_plan9.go
generated
vendored
10
vendor/golang.org/x/sys/plan9/syscall_plan9.go
generated
vendored
@ -12,6 +12,7 @@
|
||||
package plan9
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
"syscall"
|
||||
"unsafe"
|
||||
)
|
||||
@ -50,12 +51,11 @@ func atoi(b []byte) (n uint) {
|
||||
}
|
||||
|
||||
func cstring(s []byte) string {
|
||||
for i := range s {
|
||||
if s[i] == 0 {
|
||||
return string(s[0:i])
|
||||
}
|
||||
i := bytes.IndexByte(s, 0)
|
||||
if i == -1 {
|
||||
i = len(s)
|
||||
}
|
||||
return string(s)
|
||||
return string(s[:i])
|
||||
}
|
||||
|
||||
func errstr() string {
|
||||
|
2
vendor/golang.org/x/sys/plan9/zsyscall_plan9_386.go
generated
vendored
2
vendor/golang.org/x/sys/plan9/zsyscall_plan9_386.go
generated
vendored
@ -1,5 +1,5 @@
|
||||
// mksyscall.pl -l32 -plan9 syscall_plan9.go
|
||||
// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
|
||||
// Code generated by the command above; DO NOT EDIT.
|
||||
|
||||
package plan9
|
||||
|
||||
|
2
vendor/golang.org/x/sys/plan9/zsyscall_plan9_amd64.go
generated
vendored
2
vendor/golang.org/x/sys/plan9/zsyscall_plan9_amd64.go
generated
vendored
@ -1,5 +1,5 @@
|
||||
// mksyscall.pl -l32 -plan9 syscall_plan9.go
|
||||
// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
|
||||
// Code generated by the command above; DO NOT EDIT.
|
||||
|
||||
package plan9
|
||||
|
||||
|
2
vendor/golang.org/x/sys/plan9/zsyscall_plan9_arm.go
generated
vendored
2
vendor/golang.org/x/sys/plan9/zsyscall_plan9_arm.go
generated
vendored
@ -1,5 +1,5 @@
|
||||
// mksyscall.pl -l32 -plan9 -tags plan9,arm syscall_plan9.go
|
||||
// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
|
||||
// Code generated by the command above; DO NOT EDIT.
|
||||
|
||||
// +build plan9,arm
|
||||
|
||||
|
Reference in New Issue
Block a user