From dd4a29989517b7e6cb27740644a392f6c2f3d762 Mon Sep 17 00:00:00 2001 From: Sebastian Dransfeld Date: Tue, 9 Dec 2008 20:08:36 +0000 Subject: [PATCH] Remove const qualifier. Dynamically allocated buffers which we will free shouldn't be const. SVN revision: 38069 --- legacy/ecore/src/lib/ecore_file/ecore_file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legacy/ecore/src/lib/ecore_file/ecore_file.c b/legacy/ecore/src/lib/ecore_file/ecore_file.c index a04ddc5f20..9112a8affb 100644 --- a/legacy/ecore/src/lib/ecore_file/ecore_file.c +++ b/legacy/ecore/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