]> git.lyx.org Git - lyx.git/blobdiff - src/support/copy.C
hopefully fix tex2lyx linking.
[lyx.git] / src / support / copy.C
index 869a8db3c4dab740033f720ff736967a92bf8e7a..ceb2db196800006519a88b3be374f39fa484eae9 100644 (file)
@@ -56,7 +56,7 @@ bool lyx::support::copy(string const & from, string const & to, unsigned long in
                if (!ofs)
                        return false;
                ofs.close();
-               if (!chmod(to, mode_t(mode)))
+               if (!support::chmod(to, mode))
                        return false;
        }