Call the correct system rename

Addressing #1913
This commit is contained in:
Thomas Dickerson 2017-01-13 14:40:10 -05:00 committed by GitHub
parent 0c6174b045
commit 512514df20

View file

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