From: englebass Date: Tue, 9 Dec 2008 20:08:36 +0000 (+0000) Subject: Remove const qualifier. X-Git-Tag: 2.0_alpha~194^2~1701 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c06cf5795cb4ca37f9fc5f613e23e9f627309bfa;p=framework%2Fuifw%2Fecore.git Remove const qualifier. Dynamically allocated buffers which we will free shouldn't be const. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@38069 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/ecore_file/ecore_file.c b/src/lib/ecore_file/ecore_file.c index a04ddc5..9112a8a 100644 --- a/src/lib/ecore_file/ecore_file.c +++ b/src/lib/ecore_file/ecore_file.c @@ -317,7 +317,7 @@ ecore_file_mv(const char *src, const char *dst) stat(src, &st); if (S_ISREG(st.st_mode)) { - const char *dir; + char *dir; dir = ecore_file_dir_get(dst); // Since we can't directly rename, try to // copy to temp file in the dst directory