浏览代码

Merge remote-tracking branch 'origin/patch-1'

Thomas "elfprince13" Dickerson 8 年之前
父节点
当前提交
2dcafcb574
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Engine/source/platformPOSIX/posixVolume.cpp

+ 1 - 1
Engine/source/platformPOSIX/posixVolume.cpp

@@ -206,7 +206,7 @@ bool PosixFileSystem::rename(const Path& from,const Path& to)
    String fa = buildFileName(_volume,from);
    String fa = buildFileName(_volume,from);
    String fb = buildFileName(_volume,to);
    String fb = buildFileName(_volume,to);
    
    
-   if (!rename(fa.c_str(),fb.c_str()))
+   if (!::rename(fa.c_str(),fb.c_str()))
       return true;
       return true;
       
       
    return false;
    return false;