[ZCM] [ZC] 1177/ 2 Resolve "Problem in tar.py"
Collector: Zope Bugs, Features,
and Patches ...
zope-coders-admin at zope.org
Mon Jan 19 11:29:57 EST 2004
Issue #1177 Update (Resolve) "Problem in tar.py"
Status Resolved, Zope/bug+solution medium
To followup, visit:
http://collector.zope.org/Zope/1177
==============================================================
= Resolve - Entry #2 by Brian on Jan 19, 2004 11:29 am
Status: Pending => Resolved
fixed for 2.6.4 rc 1
-BL
________________________________________
= Request - Entry #1 by Anonymous User on Jan 12, 2004 10:52 am
There seems to be a problem in the functin oct12() in file tar.py. The problem appears if you tries to add a file to a tar atchive which mtime is newer than Sat Jan 10 14:37:04 2004. Current version of oct12() in tar.py (1.7 in CVS):
<-- snip -->
def oct12(i):
i=oct(i)
return '0'*(11-len(i))+i+' '
<-- snip -->
Suggested changes:
<-- snip -->
def oct12(i):
i=oct(i)
if len(i) < 12:
return '0'*(11-len(i))+i+' '
else:
return i[1:12]+' '
<-- snip -->
==============================================================
More information about the Zope-Collector-Monitor
mailing list