summaryrefslogtreecommitdiff
path: root/Python/getcompiler.c
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-02-28 17:56:26 +0000
committerFred Drake <fdrake@acm.org>2001-02-28 17:56:26 +0000
commit3e038e5e2551df9d37e1d44f7cc59cdce797f1a3 (patch)
tree695626cd60c524a424b5cfe5e0c67c2794af4de5 /Python/getcompiler.c
parent62e2c7e3dfffd8465a54b99fc6d3c2a60acab350 (diff)
downloadcpython-git-3e038e5e2551df9d37e1d44f7cc59cdce797f1a3.tar.gz
Define lots of constants for indexes into the structures for the file
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.
Diffstat (limited to 'Python/getcompiler.c')
0 files changed, 0 insertions, 0 deletions