mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
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:
parent
979e30b838
commit
324f6b75ae
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user