diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2019-11-18 15:53:29 +0300 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2019-11-18 15:53:29 +0300 |
commit | 8f6c4b0033c72f8ac14694c419a99458339dd6a9 (patch) | |
tree | 06c106e622a58100aa85a381b9b65d222b076df4 /debian/patches/src_libgo_go_os_os_test.go.diff | |
parent | 42156b5190f4fa150e1fab6777eb81e69d4db8c9 (diff) | |
download | gcc-9-debian.tar.gz |
Import gcc-9 (9.2.1-19)debian/9.2.1-19debian
Diffstat (limited to 'debian/patches/src_libgo_go_os_os_test.go.diff')
-rw-r--r-- | debian/patches/src_libgo_go_os_os_test.go.diff | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/debian/patches/src_libgo_go_os_os_test.go.diff b/debian/patches/src_libgo_go_os_os_test.go.diff deleted file mode 100644 index 24f79ea..0000000 --- a/debian/patches/src_libgo_go_os_os_test.go.diff +++ /dev/null @@ -1,15 +0,0 @@ -Index: gcc-6-6.2.1-4.1/src/libgo/go/os/os_test.go -=================================================================== ---- gcc-6-6.2.1-4.1.orig/src/libgo/go/os/os_test.go -+++ gcc-6-6.2.1-4.1/src/libgo/go/os/os_test.go -@@ -1192,8 +1192,9 @@ func TestSeek(t *testing.T) { - for i, tt := range tests { - off, err := f.Seek(tt.in, tt.whence) - if off != tt.out || err != nil { -- if e, ok := err.(*PathError); ok && e.Err == syscall.EINVAL && tt.out > 1<<32 { -+ if e, ok := err.(*PathError); ok && e.Err == syscall.EINVAL || e.Err == syscall.EFBIG && tt.out > 1<<32 { - // Reiserfs rejects the big seeks. -+ // GNU rejects the big seeks, returns EFBIG - // https://golang.org/issue/91 - break - } |