aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2002-09-03 23:02:28 +0800
committerMichael Zucci <zucchi@src.gnome.org>2002-09-03 23:02:28 +0800
commit8ee694a7e4e9b3ac1cef2919230b33e181ec4452 (patch)
tree689314a73bb703eb9e22cd0a52af775df60ab025 /mail
parent5e144756c987f97f4289d554d9bcdf222cd9b326 (diff)
downloadgsoc2013-evolution-8ee694a7e4e9b3ac1cef2919230b33e181ec4452.tar
gsoc2013-evolution-8ee694a7e4e9b3ac1cef2919230b33e181ec4452.tar.gz
gsoc2013-evolution-8ee694a7e4e9b3ac1cef2919230b33e181ec4452.tar.bz2
gsoc2013-evolution-8ee694a7e4e9b3ac1cef2919230b33e181ec4452.tar.lz
gsoc2013-evolution-8ee694a7e4e9b3ac1cef2919230b33e181ec4452.tar.xz
gsoc2013-evolution-8ee694a7e4e9b3ac1cef2919230b33e181ec4452.tar.zst
gsoc2013-evolution-8ee694a7e4e9b3ac1cef2919230b33e181ec4452.zip
Dont translate / to dir_sep anymore, we always use /.
2002-09-04 Not Zed <NotZed@Ximian.com> * component-factory.c (storage_xfer_folder): Dont translate / to dir_sep anymore, we always use /. svn path=/trunk/; revision=17944
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/component-factory.c12
2 files changed, 5 insertions, 12 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index a5ad0b9f0f..b38590202a 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2002-09-04 Not Zed <NotZed@Ximian.com>
+
+ * component-factory.c (storage_xfer_folder): Dont translate / to
+ dir_sep anymore, we always use /.
+
2002-08-30 Radek Doulik <rodo@ximian.com>
* mail-display.c (mail_display_render): don't set margins for raw
diff --git a/mail/component-factory.c b/mail/component-factory.c
index c27a26d048..3102db603b 100644
--- a/mail/component-factory.c
+++ b/mail/component-factory.c
@@ -1231,18 +1231,6 @@ storage_xfer_folder (EvolutionStorage *storage,
sep = store->dir_sep;
src = g_strdup(source_path[0]=='/'?source_path+1:source_path);
dst = g_strdup(destination_path[0]=='/'?destination_path+1:destination_path);
- if (sep != '/') {
- p = src;
- while ((c = *p++))
- if (c == '/')
- p[-1] = sep;
-
- p = dst;
- while ((c = *p++))
- if (c == '/')
- p[-1] = sep;
- }
-
camel_exception_init (&ex);
if (remove_source) {
d(printf("trying to rename\n"));