fixed hash collisions in ZIP files (patch 1082026)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -21,6 +21,10 @@
|
||||
#include "wx/filesys.h"
|
||||
#include "wx/hashmap.h"
|
||||
|
||||
|
||||
WX_DECLARE_STRING_HASH_MAP(int, wxZipFilenameHashMap);
|
||||
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// wxZipFSHandler
|
||||
//---------------------------------------------------------------------------
|
||||
@@ -40,7 +44,7 @@ class WXDLLIMPEXP_BASE wxZipFSHandler : public wxFileSystemHandler
|
||||
class wxZipInputStream *m_Archive;
|
||||
wxString m_Pattern, m_BaseDir, m_ZipFile;
|
||||
bool m_AllowDirs, m_AllowFiles;
|
||||
wxLongToLongHashMap *m_DirsFound;
|
||||
wxZipFilenameHashMap *m_DirsFound;
|
||||
|
||||
wxString DoFind();
|
||||
void CloseArchive(class wxZipInputStream *archive);
|
||||
|
Reference in New Issue
Block a user