mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-03 02:50:07 -05:00
fixed bug with big files. To be tested.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4056 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
f6dc46da73
commit
ea84a81886
@ -540,7 +540,7 @@ bool RsDirUtil::getFileHash(const std::string& filepath, std::string &hash, uint
|
|||||||
if (NULL == (fd = _wfopen(filepathW.c_str(), L"rb")))
|
if (NULL == (fd = _wfopen(filepathW.c_str(), L"rb")))
|
||||||
return false;
|
return false;
|
||||||
#else
|
#else
|
||||||
if (NULL == (fd = fopen(filepath.c_str(), "rb")))
|
if (NULL == (fd = fopen64(filepath.c_str(), "rb")))
|
||||||
return false;
|
return false;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user