summaryrefslogtreecommitdiff
path: root/legacy/ecore/src/lib/ecore_file/ecore_file.c
diff options
context:
space:
mode:
authorSebastian Dransfeld <sd@tango.flipp.net>2008-12-09 20:08:36 +0000
committerSebastian Dransfeld <sd@tango.flipp.net>2008-12-09 20:08:36 +0000
commitdd4a29989517b7e6cb27740644a392f6c2f3d762 (patch)
tree909b3080b3fe67bbfa752910eb93da60c3976492 /legacy/ecore/src/lib/ecore_file/ecore_file.c
parentc4525334f3d424e418a8e54b91af0f7cc5d1b664 (diff)
Remove const qualifier.
Dynamically allocated buffers which we will free shouldn't be const. SVN revision: 38069
Diffstat (limited to '')
-rw-r--r--legacy/ecore/src/lib/ecore_file/ecore_file.c2
1 files changed, 1 insertions, 1 deletions
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)
317 stat(src, &st); 317 stat(src, &st);
318 if (S_ISREG(st.st_mode)) 318 if (S_ISREG(st.st_mode))
319 { 319 {
320 const char *dir; 320 char *dir;
321 dir = ecore_file_dir_get(dst); 321 dir = ecore_file_dir_get(dst);
322 // Since we can't directly rename, try to 322 // Since we can't directly rename, try to
323 // copy to temp file in the dst directory 323 // copy to temp file in the dst directory