Revision 1049

libsylph/mh.c (revision 1049)
1 1
/*
2 2
 * LibSylph -- E-Mail client library
3
 * Copyright (C) 1999-2005 Hiroyuki Yamamoto
3
 * Copyright (C) 1999-2006 Hiroyuki Yamamoto
4 4
 *
5 5
 * This library is free software; you can redistribute it and/or
6 6
 * modify it under the terms of the GNU Lesser General Public
......
1269 1269

  
1270 1270
	item = FOLDER_ITEM(node->data);
1271 1271

  
1272
#if 0
1273
	if (item->path && strchr(item->path, '/')) {
1274
		debug_print("folder '%s' includes Unix path separator. removing...\n", item->path);
1275
		folder_item_remove(item);
1276
		return FALSE;
1277
	}
1278
#endif
1279

  
1272 1280
	path = folder_item_get_path(item);
1273 1281
	if (!is_dir_exist(path)) {
1274 1282
		debug_print("folder '%s' not found. removing...\n", path);
......
1402 1410
			node = item->node;
1403 1411
			for (node = node->children; node != NULL; node = node->next) {
1404 1412
				FolderItem *cur_item = FOLDER_ITEM(node->data);
1413
#ifdef G_OS_WIN32
1414
				if (!path_cmp(cur_item->path, utf8entry)) {
1415
#else
1405 1416
				if (!strcmp2(cur_item->path, utf8entry)) {
1417
#endif
1406 1418
					new_item = cur_item;
1407 1419
					break;
1408 1420
				}
ChangeLog.ja (revision 1049)
1 1
2006-03-14
2 2

  
3
	* libsylph/mh.c: mh_scan_tree_recursive(): Win32 ?ǥѥ??????Ӥ????Ȥ?
4
	  ?? Unix ?ѥ????ڤ??????Ƥ????褦?ˤ???(Win32 ?? Unix ???????ե?????
5
	  ????ͭ?????Ƥ????????? Win32 ?ǥե??????ĥ꡼?κƹ??ۤ??Ԥä?????
6
	  ???֥ե?????????ʣ?????Τ?????)??
7

  
8
2006-03-14
9

  
3 10
	* version 2.2.3
4 11

  
5 12
2006-03-10
ChangeLog (revision 1049)
1 1
2006-03-14
2 2

  
3
	* libsylph/mh.c: mh_scan_tree_recursive(): allow Unix path separator
4
	  when comparing path on Win32 (fixes duplicated subfolders when
5
	  rebuilding folder tree on Win32 while settings were shared between
6
	  Win32 and Unix).
7

  
8
2006-03-14
9

  
3 10
	* version 2.2.3
4 11

  
5 12
2006-03-10

Also available in: Unified diff