Path: utzoo!dciem!array!rob From: rob@array.UUCP (Rob Marchand) Newsgroups: comp.mail.uucp Subject: Re: Smail2.5 binary search bug Message-ID: <1888@array.UUCP> Date: 14 Mar 91 13:32:55 GMT References: <135800005@cdp> <1991Mar13.211418.20877@eci386.uucp> Organization: Array Systems Computing, Inc., Toronto, Ontario, CANADA Lines: 23 In article <1991Mar13.211418.20877@eci386.uucp> woods@eci386.UUCP (Greg A. Woods) writes: >In article <135800005@cdp> brian@cdp.UUCP writes: >> i have just discoverd that the binary search routine in >> smail 2.5 is faulty. it seems it can miss (at least) the >> last line in the paths file. the version i have is: >> [ Example of problem deleted ] > >I think this bug has been previously discovered, and perhaps there is >a patch for it. I know I ran into it at one time. > For those who are interested, I have a copy of the patch to smail2.5 which corrects the binary search problem (well, `a' binary search problem anyways :-) Send mail if you desire a copy.... Cheers! Rob -- Rob Marchand UUCP : uunet!attcan!lsuc!array!rob Array Systems Computing ARPA : rob%array.UUCP@uunet.UU.NET 401 Magnetic Drive, Unit 24 Phone : +1(416)736-0900 Fax: (416)736-4715 Downsview, Ont CANADA M3J 3H9 Telex : 063666 (CNCP EOS TOR) .TO 21:ARY001