Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 352254 | Differences between
and this patch

Collapse All | Expand All

(-)tar-1.25.orig/src/extract.c (-1 / +3 lines)
Lines 1002-1012 Link Here
1002
  if (to_stdout_option)
1002
  if (to_stdout_option)
1003
    return 0;
1003
    return 0;
1004
1004
1005
  if (! to_command_option)
1005
  if (! to_command_option) {
1006
    fsync(fd);
1006
    set_stat (file_name, &current_stat_info, fd,
1007
    set_stat (file_name, &current_stat_info, fd,
1007
	      current_mode, current_mode_mask, typeflag, false,
1008
	      current_mode, current_mode_mask, typeflag, false,
1008
	      (old_files_option == OVERWRITE_OLD_FILES
1009
	      (old_files_option == OVERWRITE_OLD_FILES
1009
	       ? 0 : AT_SYMLINK_NOFOLLOW));
1010
	       ? 0 : AT_SYMLINK_NOFOLLOW));
1011
  }
1010
1012
1011
  status = close (fd);
1013
  status = close (fd);
1012
  if (status < 0)
1014
  if (status < 0)

Return to bug 352254