Skip to content

x/sys/unix: Solaris lacks Flock (plus related constants) #11113

Closed
@calmh

Description

@calmh

Primarily needed by Bolt which currently builds on "everything" except Solaris.

# github.com/boltdb/bolt
./bolt_unix.go:24: undefined: syscall.LOCK_SH
./bolt_unix.go:26: undefined: syscall.LOCK_EX
./bolt_unix.go:30: undefined: syscall.Flock
./bolt_unix.go:30: undefined: syscall.LOCK_NB
./bolt_unix.go:44: undefined: syscall.Flock
./bolt_unix.go:44: undefined: syscall.LOCK_UN
./bolt_unix.go:61: undefined: syscall.Mmap
./bolt_unix.go:86: undefined: syscall.Munmap
./bolt_unix.go:95: undefined: syscall.SYS_MADVISE

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions