From: handa Date: Fri, 19 Jun 2009 11:30:31 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a22b6927d2f49cceb1e41f2e00321dccd46392d;p=m17n%2Fm17n-lib-cs.git *** empty log message *** --- diff --git a/MDatabase.cs b/MDatabase.cs index 6574575..539ba4e 100644 --- a/MDatabase.cs +++ b/MDatabase.cs @@ -881,17 +881,13 @@ namespace M17N.Core return null; } - public static DirectoryInfo[] DirectoryList () + public static string[] DirectoryList () { - List dirs = new List (); + List dirs = new List (); for (int i = 1; i < 4; i++) if (DBDirs[i].Dirname != null) - { - DBDirs[i].Refresh (); - if (DBDirs[i].DirInfo != null) - dirs.Add (DBDirs[i].DirInfo); - } + dirs.Add (DBDirs[i].Dirname); return dirs.ToArray (); } diff --git a/database.cs b/database.cs index 22f6c08..6929a43 100644 --- a/database.cs +++ b/database.cs @@ -14,8 +14,6 @@ public class Test MSymbol.t, MSymbol.Of ("unicode")); - MDatabase.Dump (); - foreach (DirectoryInfo dirinfo in MDatabase.DirectoryList ()) Console.WriteLine (dirinfo.FullName);