New submission from Martin v. Löwis <mar...@v.loewis.de>:

When extracting, the time stamps of directories are modified twice: once when 
creating the directories, and then once in reverse order when done.
The first utimes call is redundant; it also causes issues with a buggy NFS 
server, see

http://www.python.org/dev/buildbot/3.1/builders/AMD64%20debian%20parallel%203.1/builds/147/steps/test/logs/stdio

(specifically, touching a file twice with the same second-resolution time stamp 
will increase the microsecond counter).

The attached patch works around the issue; regardless of the NFS bug, I think 
that the redundant call should be eliminated.

----------
assignee: ghaering
files: tarfile.diff
keywords: patch
messages: 119467
nosy: ghaering, loewis
priority: normal
severity: normal
status: open
title: tarfile touches directories twice
Added file: http://bugs.python.org/file19345/tarfile.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10184>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to