building tomboy-0.3.2 using the mono-1.1.7 stack



I uncovered a small initialization bug in ./Tomboy/Trie.cs that I did
not detect using the mono-1.06 stack. A patch is shown below.

The bug has been fixed in the latest CVS code.


-Joseph

=======================================================================================
This fixes the problem:

--- Tomboy/Trie.cs-     2005-06-18 13:37:46.000000000 -0400
+++ Tomboy/Trie.cs      2005-06-18 13:44:19.000000000 -0400
@@ -186,7 +186,7 @@
                                         MatchHandler match_handler)
                {
                        TrieState q = root;
-                       TrieMatch m;
+                       TrieMatch m = null;
                        int idx = 0, start_idx = 0, last_idx = 0;

                        while (idx < haystack.Length) {



=======================================================================================


-- 
joseph_sacco [at] comcast [dot] net




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]