FreeBSD Bugzilla – Attachment 244637 Details for
Bug 273569
sysutils/docker [Patch] PAX cannot encode Devminor
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Two concatenated patches made with makepatch
patch-docker-paxformat-issue (text/plain), 1.39 KB, created by
Adam Labus
on 2023-09-04 19:01:48 UTC
(
hide
)
Description:
Two concatenated patches made with makepatch
Filename:
MIME Type:
Creator:
Adam Labus
Created:
2023-09-04 19:01:48 UTC
Size:
1.39 KB
patch
obsolete
>--- components/cli/vendor/github.com/docker/docker/pkg/archive/archive.go.orig 2019-04-10 23:47:39 UTC >+++ components/cli/vendor/github.com/docker/docker/pkg/archive/archive.go >@@ -362,7 +362,7 @@ func FileInfoHeader(name string, fi os.FileInfo, link > if err != nil { > return nil, err > } >- hdr.Format = tar.FormatPAX >+ hdr.Format = tar.FormatGNU > hdr.ModTime = hdr.ModTime.Truncate(time.Second) > hdr.AccessTime = time.Time{} > hdr.ChangeTime = time.Time{} >@@ -1155,7 +1155,7 @@ func (archiver *Archiver) CopyFileWithTar(src, dst str > if err != nil { > return err > } >- hdr.Format = tar.FormatPAX >+ hdr.Format = tar.FormatGNU > hdr.ModTime = hdr.ModTime.Truncate(time.Second) > hdr.AccessTime = time.Time{} > hdr.ChangeTime = time.Time{} >--- components/cli/vendor/github.com/docker/docker/pkg/archive/copy.go.orig 2019-04-10 23:47:39 UTC >+++ components/cli/vendor/github.com/docker/docker/pkg/archive/copy.go >@@ -343,7 +343,7 @@ func RebaseArchiveEntries(srcContent io.Reader, oldBas > // "archive/tar: cannot encode header: Format specifies USTAR; and USTAR cannot encode Name=...". > // > // To fix, set the format to PAX here. See docker/for-linux issue #484. >- hdr.Format = tar.FormatPAX >+ hdr.Format = tar.FormatGNU > hdr.Name = strings.Replace(hdr.Name, oldBase, newBase, 1) > if hdr.Typeflag == tar.TypeLink { > hdr.Linkname = strings.Replace(hdr.Linkname, oldBase, newBase, 1)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 273569
: 244637