projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a72e2f9
)
use proper constant instead of comment (noted by nnorwitz)
author
Just van Rossum
<just@letterror.com>
Fri, 28 Feb 2003 08:54:01 +0000
(08:54 +0000)
committer
Just van Rossum
<just@letterror.com>
Fri, 28 Feb 2003 08:54:01 +0000
(08:54 +0000)
Modules/zipimport.c
patch
|
blob
|
history
diff --git
a/Modules/zipimport.c
b/Modules/zipimport.c
index 355f69c1269e5a6cf20fec89c54ecbc37a0560e6..cd615ef97ca1f67488eba1d96dce828a3c6cd7bc 100644
(file)
--- a/
Modules/zipimport.c
+++ b/
Modules/zipimport.c
@@
-664,7
+664,7
@@
read_directory(char *archive)
"'%.200s'", archive);
return NULL;
}
- fseek(fp, -22,
2); /* Seek from end of file */
+ fseek(fp, -22,
SEEK_END);
header_end = ftell(fp);
if (fread(endof_central_dir, 1, 22, fp) != 22) {
fclose(fp);