Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
ebcd0ced
Kaydet (Commit)
ebcd0ced
authored
Eyl 05, 2008
tarafından
Antoine Pitrou
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #3535: zipfile couldn't read some zip files larger than 2GB.
Reviewed by Amaury Forgeot d'Arc.
üst
cdeb24bb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
zipfile.py
Lib/zipfile.py
+3
-3
NEWS
Misc/NEWS
+3
-1
No files found.
Lib/zipfile.py
Dosyayı görüntüle @
ebcd0ced
...
...
@@ -163,6 +163,7 @@ def _EndRecData64(fpin, offset, endrec):
return
endrec
# Update the original endrec using data from the ZIP64 record
endrec
[
_ECD_SIGNATURE
]
=
sig
endrec
[
_ECD_DISK_NUMBER
]
=
disk_num
endrec
[
_ECD_DISK_START
]
=
disk_dir
endrec
[
_ECD_ENTRIES_THIS_DISK
]
=
dircount
...
...
@@ -735,9 +736,8 @@ class ZipFile:
# "concat" is zero, unless zip was concatenated to another file
concat
=
endrec
[
_ECD_LOCATION
]
-
size_cd
-
offset_cd
if
endrec
[
_ECD_LOCATION
]
>
ZIP64_LIMIT
:
# If the offset of the "End of Central Dir" record requires Zip64
# extension structures, account for them
if
endrec
[
_ECD_SIGNATURE
]
==
stringEndArchive64
:
# If Zip64 extension structures are present, account for them
concat
-=
(
sizeEndCentDir64
+
sizeEndCentDir64Locator
)
if
self
.
debug
>
2
:
...
...
Misc/NEWS
Dosyayı görüntüle @
ebcd0ced
...
...
@@ -56,7 +56,9 @@ C-API
Library
-------
- Issue 3776: Deprecate the bsddb package for removal in 3.0.
- Issue #3535: zipfile couldn't read some zip files larger than 2GB.
- Issue #3776: Deprecate the bsddb package for removal in 3.0.
- Issue #3762: platform.architecture() fails if python is lanched via
its symbolic link.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment