From 8ee694a7e4e9b3ac1cef2919230b33e181ec4452 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Tue, 3 Sep 2002 15:02:28 +0000 Subject: Dont translate / to dir_sep anymore, we always use /. 2002-09-04 Not Zed * component-factory.c (storage_xfer_folder): Dont translate / to dir_sep anymore, we always use /. svn path=/trunk/; revision=17944 --- mail/ChangeLog | 5 +++++ mail/component-factory.c | 12 ------------ 2 files changed, 5 insertions(+), 12 deletions(-) (limited to 'mail') 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 + + * component-factory.c (storage_xfer_folder): Dont translate / to + dir_sep anymore, we always use /. + 2002-08-30 Radek Doulik * 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")); -- cgit v1.2.3