last fix to missing ftello64 calls (hopefully)

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4057 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2011-02-24 22:44:41 +00:00
parent ea84a81886
commit e39a04ee7f
3 changed files with 5 additions and 5 deletions

View file

@ -303,14 +303,14 @@ bool RsDirUtil::copyFile(const std::string& source,const std::string& dest)
return (CopyFileW(sourceW.c_str(), destW.c_str(), FALSE) != 0);
#else
FILE *in = fopen(source.c_str(),"rb") ;
FILE *in = fopen64(source.c_str(),"rb") ;
if(in == NULL)
{
return false ;
}
FILE *out = fopen(dest.c_str(),"wb") ;
FILE *out = fopen64(dest.c_str(),"wb") ;
if(out == NULL)
{
@ -994,7 +994,7 @@ bool RsDirUtil::getWideFileHash(std::wstring filepath,
/***** XXX TO MAKE WIDE SYSTEM CALL ******************************************************/
std::string fp(filepath.begin(), filepath.end());
if (NULL == (fd = fopen(fp.c_str(), "rb")))
if (NULL == (fd = fopen64(fp.c_str(), "rb")))
return false;
/***** XXX TO MAKE WIDE SYSTEM CALL ******************************************************/