updated dependencies
This commit is contained in:
parent
8376c606b4
commit
68d82bd961
450 changed files with 229907 additions and 32 deletions
16
vendor/go.etcd.io/bbolt/bolt_openbsd.go
generated
vendored
Normal file
16
vendor/go.etcd.io/bbolt/bolt_openbsd.go
generated
vendored
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
package bbolt
|
||||
|
||||
import (
|
||||
"golang.org/x/sys/unix"
|
||||
)
|
||||
|
||||
func msync(db *DB) error {
|
||||
return unix.Msync(db.data[:db.datasz], unix.MS_INVALIDATE)
|
||||
}
|
||||
|
||||
func fdatasync(db *DB) error {
|
||||
if db.data != nil {
|
||||
return msync(db)
|
||||
}
|
||||
return db.file.Sync()
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue