• Fred Drake's avatar
    Define lots of constants for indexes into the structures for the file · 3e038e5e
    Fred Drake yazdı
    header and central directory structures, and use them as appropriate.
    The point being to make it easier to tell what is getting pulled out
    where; magic numbers are evil!
    
    Change the computation of the ZipInfo.file_offset field to use the
    length of the relevant "extra" field -- there are two different ones,
    and the wrong one had been used.  ;-(
    
    This closes SF tracker patch #403276, but more verbosely than the
    proposed patch.
    3e038e5e
Adı
Son kayıt (commit)
Son güncelleme
Demo Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Python Loading commit data...
Tools Loading commit data...
.cvsignore Loading commit data...
.hgtags Loading commit data...
LICENSE Loading commit data...
Makefile.pre.in Loading commit data...
README Loading commit data...
acconfig.h Loading commit data...
config.h.in Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...
setup.py Loading commit data...