"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "archive/tar.go" between
containerd-1.5.3.tar.gz and containerd-1.5.4.tar.gz

About: containerd is a container runtime with an emphasis on simplicity, robustness and portability.

tar.go  (containerd-1.5.3):tar.go  (containerd-1.5.4)
skipping to change at line 396 skipping to change at line 396
if err := setxattr(path, key, value); err != nil { if err := setxattr(path, key, value); err != nil {
if errors.Is(err, syscall.ENOTSUP) { if errors.Is(err, syscall.ENOTSUP) {
log.G(ctx).WithError(err).Warnf("ignored xattr %s in archive", key) log.G(ctx).WithError(err).Warnf("ignored xattr %s in archive", key)
continue continue
} }
return err return err
} }
} }
} }
// There is no LChmod, so ignore mode for symlink. Also, this // call lchmod after lchown since lchown can modify the file mode
// must happen after chown, as that can modify the file mode if err := lchmod(path, hdrInfo.Mode()); err != nil {
if err := handleLChmod(hdr, path, hdrInfo); err != nil {
return err return err
} }
return chtimes(path, boundTime(latestTime(hdr.AccessTime, hdr.ModTime)), boundTime(hdr.ModTime)) return chtimes(path, boundTime(latestTime(hdr.AccessTime, hdr.ModTime)), boundTime(hdr.ModTime))
} }
func mkparent(ctx context.Context, path, root string, parents []string) error { func mkparent(ctx context.Context, path, root string, parents []string) error {
if dir, err := os.Lstat(path); err == nil { if dir, err := os.Lstat(path); err == nil {
if dir.IsDir() { if dir.IsDir() {
return nil return nil
 End of changes. 1 change blocks. 
3 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)