svnno****@sourc*****
svnno****@sourc*****
Wed Mar 28 14:05:41 JST 2007
Revision: 3086 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=kazehakase&view=rev&rev=3086 Author: kous Date: 2007-03-28 14:05:40 +0900 (Wed, 28 Mar 2007) Log Message: ----------- * module/search/kz-hyper-estraier-search.c (open_db): removed a needless code. * module/embed/gecko/kz-mozhistorysearch.cpp (OpenStylesheet): used KZ_GET_SYSTEM_KZ_DATA_DIR instead of KZ_GET_SYSTEM_DATA_DIR. Modified Paths: -------------- kazehakase/trunk/ChangeLog kazehakase/trunk/module/embed/gecko/kz-mozhistorysearch.cpp kazehakase/trunk/module/search/kz-hyper-estraier-search.c Modified: kazehakase/trunk/ChangeLog =================================================================== --- kazehakase/trunk/ChangeLog 2007-03-28 04:56:37 UTC (rev 3085) +++ kazehakase/trunk/ChangeLog 2007-03-28 05:05:40 UTC (rev 3086) @@ -1,5 +1,11 @@ 2007-03-28 Kouhei Sutou <kou****@cozmi*****> + * module/search/kz-hyper-estraier-search.c (open_db): removed + a needless code. + + * module/embed/gecko/kz-mozhistorysearch.cpp (OpenStylesheet): + used KZ_GET_SYSTEM_KZ_DATA_DIR instead of KZ_GET_SYSTEM_DATA_DIR. + * ext/ruby/kz-rb-ext.c: added error check. * ext/ruby/kz-rb-ext.c: used KZ_GET_SYSTEM_KZ_DATA_DIR instead of Modified: kazehakase/trunk/module/embed/gecko/kz-mozhistorysearch.cpp =================================================================== --- kazehakase/trunk/module/embed/gecko/kz-mozhistorysearch.cpp 2007-03-28 04:56:37 UTC (rev 3085) +++ kazehakase/trunk/module/embed/gecko/kz-mozhistorysearch.cpp 2007-03-28 05:05:40 UTC (rev 3086) @@ -153,7 +153,8 @@ length = text.Length(); - gchar *filename = g_strconcat(KZ_GET_SYSTEM_DATA_DIR, G_DIR_SEPARATOR_S, text.get() + 5, NULL); + gchar *filename = g_build_filename(KZ_GET_SYSTEM_KZ_DATA_DIR, + text.get() + 5, NULL); nsCOMPtr<nsILocalFile> cssFile; rv = NS_NewNativeLocalFile(nsEmbedCString(filename), PR_TRUE, Modified: kazehakase/trunk/module/search/kz-hyper-estraier-search.c =================================================================== --- kazehakase/trunk/module/search/kz-hyper-estraier-search.c 2007-03-28 04:56:37 UTC (rev 3085) +++ kazehakase/trunk/module/search/kz-hyper-estraier-search.c 2007-03-28 05:05:40 UTC (rev 3086) @@ -201,7 +201,6 @@ close_db(search); search->db = est_mtdb_open(search->dbname, - /* ESTDBWRITER | ESTDBCREAT | ESTDBLCKNB, */ ESTDBWRITER | ESTDBCREAT | ESTDBNOLCK, &ecode); if (search->db)