VENDOR: Allow tonistiigi/fifo to build properly on FreeBSD

This /might/ cause some issues further down the line, we'll see. But it appears
that some stat_t data structures are differently sized on Linux vs. FreeBSD

  ---> Making bundle: binary (in bundles/17.05.0-ce/binary)
  Building: bundles/17.05.0-ce/binary-client/docker-17.05.0-ce
  Created binary: bundles/17.05.0-ce/binary-client/docker-17.05.0-ce
  Building: bundles/17.05.0-ce/binary-daemon/dockerd-17.05.0-ce
  # github.com/docker/docker/vendor/github.com/tonistiigi/fifo
  .gopath/src/github.com/docker/docker/vendor/github.com/tonistiigi/fifo/handle_nolinux.go:26: cannot use stat.Ino (type uint32) as type uint64 in field value
  .gopath/src/github.com/docker/docker/vendor/github.com/tonistiigi/fifo/handle_nolinux.go:37: invalid operation: stat.Ino != h.ino (mismatched types uint32 and uint64)

Signed-off-by: R Tyler Croy <tyler@monkeypox.org>
This commit is contained in:
R Tyler Croy 2017-08-15 09:12:30 +08:00
parent 6ee77b5254
commit 0a240a5fe7
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ import (
type handle struct {
fn string
dev uint64
ino uint64
ino uint32
}
func getHandle(fn string) (*handle, error) {