--- tar-1.26.orig/src/extract.c 2011-04-28 10:03:27 +0200 +++ tar-1.26/src/extract.c 2011-05-11 10:41:18 +0200 @@ -1014,11 +1014,15 @@ if (to_stdout_option) return 0; - if (! to_command_option) + if (! to_command_option) { +#ifdef __INTERIX + fsync(fd); +#endif set_stat (file_name, ¤t_stat_info, fd, current_mode, current_mode_mask, typeflag, false, (old_files_option == OVERWRITE_OLD_FILES ? 0 : AT_SYMLINK_NOFOLLOW)); + } status = close (fd); if (status < 0)