[Namazu-cvs 760] r248 - Search-Namazu/trunk/Search-Namazu

cvsd @ vaj.namazu.org cvsd @ vaj.namazu.org
2006年 3月 30日 (木) 13:41:13 JST


Author: knok
Date: 2006-03-30 13:41:13 +0900 (Thu, 30 Mar 2006)
New Revision: 248

Modified:
   Search-Namazu/trunk/Search-Namazu/ChangeLog
   Search-Namazu/trunk/Search-Namazu/Namazu.xs
Log:
Fixed half of results bug.


Modified: Search-Namazu/trunk/Search-Namazu/ChangeLog
===================================================================
--- Search-Namazu/trunk/Search-Namazu/ChangeLog	2006-03-29 00:50:44 UTC (rev 247)
+++ Search-Namazu/trunk/Search-Namazu/ChangeLog	2006-03-30 04:41:13 UTC (rev 248)
@@ -1,3 +1,8 @@
+2006-03-30  NOKUBI Takatsugu  <knok @ daionet.gr.jp>
+
+	* Namazu.xs (call_search_main): Fixed half of results bug.
+	  (Reported by Tadamasa Teranishi, thank you)
+
 2006-03-29  NOKUBI Takatsugu  <knok @ daionet.gr.jp>
 
 	* Namazu.{xs,pm}: Added "fields" parameter.

Modified: Search-Namazu/trunk/Search-Namazu/Namazu.xs
===================================================================
--- Search-Namazu/trunk/Search-Namazu/Namazu.xs	2006-03-29 00:50:44 UTC (rev 247)
+++ Search-Namazu/trunk/Search-Namazu/Namazu.xs	2006-03-30 04:41:13 UTC (rev 248)
@@ -198,7 +198,7 @@
 			XPUSHs(ohlist);
 		}
 #endif /* PERL_VERSION */
-		for (i = 0; i <= av_len(retar); i ++) {
+		while (av_len(retar) >= 0) {
 			XPUSHs(av_pop(retar));
 		}
 		nmz_free_internal();




Namazu-cvs メーリングリストの案内