support::chmod does not take a const char* as file name

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15919 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Peter Kümmel 2006-11-14 16:28:44 +00:00
parent 979e30b838
commit 324f6b75ae

View File

@ -55,7 +55,7 @@ bool SpecialisedMover::do_copy(string const & from, string const & to,
if (!ofs)
return false;
ofs.close();
if (!support::chmod(to.c_str(), mode))
if (!support::chmod(to, mode))
return false;
}