support::chmod does not take a mode_t as mode parameter

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

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_t(mode)))
if (!support::chmod(to.c_str(), mode))
return false;
}