View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000700 | Plugins | Network | public | 2009-01-13 13:01 | 2009-03-28 20:29 |
Reporter | mda | Assigned To | alexy | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | x86 | OS | Windows XP | OS Version | SP3 |
Product Version | 2.0 | ||||
Fixed in Version | 2.0 | ||||
Summary | 0000700: Очень долгий вход в содержимое сетевых папок | ||||
Description | Под дебугером выяснилось, что в функции NetBrowser::IsReadable из-за того, что при вызове UNICODE версии не подставлялся префикс "\\?\UNC\", происходила задержка в дебрях кода Windows. | ||||
Tags | No tags attached. | ||||
2009-01-13 13:01
|
network.patch (498 bytes)
Index: NetClass.cpp =================================================================== --- NetClass.cpp (revision 2465) +++ NetClass.cpp (working copy) @@ -1810,7 +1810,11 @@ BOOL NetBrowser::IsReadable(const TCHAR *Remote) { TCHAR Mask[NM]; +#ifdef _UNICODE + FSF.sprintf(Mask,_T("\\\\?\\UNC%s\\*"),Remote+1); +#else FSF.sprintf(Mask,_T("%s\\*"),Remote); +#endif // _UNICODE HANDLE FindHandle; WIN32_FIND_DATA FindData; FindHandle=FindFirstFile(Mask,&FindData); |
|
build 50 |
Date Modified | Username | Field | Change |
---|---|---|---|
2009-01-13 13:01 | mda | New Issue | |
2009-01-13 13:01 | mda | Status | new => assigned |
2009-01-13 13:01 | mda | Assigned To | => Karbazol |
2009-01-13 13:01 | mda | File Added: network.patch | |
2009-03-27 21:36 | alexy | Assigned To | Karbazol => alexy |
2009-03-27 21:47 | alexy | Note Added: 0002841 | |
2009-03-27 21:47 | alexy | Status | assigned => feedback |
2009-03-28 18:09 | samlyukov | Status | feedback => resolved |
2009-03-28 18:09 | samlyukov | Resolution | open => fixed |
2009-03-28 20:29 | alexy | Status | resolved => closed |
2009-03-28 20:29 | alexy | Fixed in Version | => 2.0 |