You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
2.3 KiB
60 lines
2.3 KiB
Index: src/github.com/docker/docker/pkg/archive/archive_unix.go |
|
--- src/github.com/docker/docker/pkg/archive/archive_unix.go.orig 2019-03-23 09:46:52.000000000 +0100 |
|
+++ src/github.com/docker/docker/pkg/archive/archive_unix.go 2019-03-23 09:52:43.919860000 +0100 |
|
@@ -62,7 +62,7 @@ |
|
s, ok := stat.(*syscall.Stat_t) |
|
|
|
if ok { |
|
- inode = s.Ino |
|
+ inode = uint64(s.Ino) |
|
} |
|
|
|
return |
|
Index: src/github.com/docker/docker/pkg/archive/changes_unix.go |
|
--- src/github.com/docker/docker/pkg/archive/changes_unix.go.orig 2019-03-23 09:46:52.000000000 +0100 |
|
+++ src/github.com/docker/docker/pkg/archive/changes_unix.go 2019-03-23 09:52:43.919966000 +0100 |
|
@@ -35,7 +35,7 @@ |
|
} |
|
|
|
func getIno(fi os.FileInfo) uint64 { |
|
- return fi.Sys().(*syscall.Stat_t).Ino |
|
+ return uint64(fi.Sys().(*syscall.Stat_t).Ino) |
|
} |
|
|
|
func hasHardlinks(fi os.FileInfo) bool { |
|
Index: src/github.com/docker/docker/pkg/mount/mountinfo_freebsd.go |
|
--- src/github.com/docker/docker/pkg/mount/mountinfo_freebsd.go.orig 2019-03-23 09:46:52.000000000 +0100 |
|
+++ src/github.com/docker/docker/pkg/mount/mountinfo_freebsd.go 2019-03-23 09:52:43.920076000 +0100 |
|
@@ -37,7 +37,7 @@ |
|
|
|
if filter != nil { |
|
// filter out entries we're not interested in |
|
- skip, stop = filter(p) |
|
+ skip, stop = filter(&mountinfo) |
|
if skip { |
|
continue |
|
} |
|
Index: src/github.com/docker/docker/pkg/system/mknod.go |
|
--- src/github.com/docker/docker/pkg/system/mknod.go.orig 2019-03-23 09:46:52.000000000 +0100 |
|
+++ src/github.com/docker/docker/pkg/system/mknod.go 2019-03-23 09:58:35.477494000 +0100 |
|
@@ -9,7 +9,7 @@ |
|
// Mknod creates a filesystem node (file, device special file or named pipe) named path |
|
// with attributes specified by mode and dev. |
|
func Mknod(path string, mode uint32, dev int) error { |
|
- return unix.Mknod(path, mode, dev) |
|
+ return unix.Mknod(path, mode, uint64(dev)) |
|
} |
|
|
|
// Mkdev is used to build the value of linux devices (in /dev/) which specifies major |
|
Index: src/github.com/fsouza/go-dockerclient/internal/archive/archive_unix.go |
|
--- src/github.com/fsouza/go-dockerclient/internal/archive/archive_unix.go.orig 2019-03-23 09:43:07.000000000 +0100 |
|
+++ src/github.com/fsouza/go-dockerclient/internal/archive/archive_unix.go 2019-03-23 09:52:43.919719000 +0100 |
|
@@ -42,7 +42,7 @@ |
|
s, ok := stat.(*syscall.Stat_t) |
|
|
|
if ok { |
|
- inode = s.Ino |
|
+ inode = uint64(s.Ino) |
|
} |
|
|
|
return
|
|
|