]> git.lyx.org Git - lyx.git/blob - src/support/rename.C
small changes and two patches from Dekel
[lyx.git] / src / support / rename.C
1 #include <config.h>
2
3 #include <cstdio>
4
5 #include "support/lyxlib.h"
6
7 bool lyx::rename(char const * from, char const * to)
8 {
9         return ::rename(from, to) != -1;
10 }
11
12 bool lyx::rename(string const & from, string const & to)
13 {
14         return ::rename(from.c_str(), to.c_str()) != -1;
15 }