mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 11:52:25 +00:00
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:
parent
7860112e71
commit
979e30b838
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user