Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!decwrl!sgi!cdp!brian From: brian@cdp.UUCP Newsgroups: comp.mail.uucp Subject: Smail2.5 binary search bug Message-ID: <135800005@cdp> Date: 7 Mar 91 23:43:00 GMT Lines: 37 Nf-ID: #N:cdp:135800005:000:1030 Nf-From: cdp.UUCP!brian Mar 7 15:43:00 1991 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: ** @(#)defs.h 2.5 (smail) 9/15/87 my paths file looks like: ---------------------file starts below here------------ cdp cdp!%s 100 cdp2 %s 0 smart-host cdp!uunet!%s 100 ---------------------file ends above here-------------- if i try to feed it "smail -dR anyhost!anyuser" i get: resolve: parse address 'anyuser' = 'anyuser' @ '' (LOCAL) resolve: parse address 'anyhost!anyuser' = 'anyuser' @ 'anyhost' (UUCP) getpath: looking for '.anyhost' getpath: looking for 'anyhost' getpath: looking for 'smart-host' route 'anyhost' failed resolve 'anyhost!anyuser' = 'anyuser' @ 'anyhost' (UUCP) COMMAND: /usr/bin/uux -aroot -r - anyhost!rmail '(anyuser)' has there been a patch to fix this? thanks Brian J. Coan Community Data Processing (CdP): 415-322-9069 Internet: brian@cdp.igc.org Bitnet: cdp!brian%labrea@stanford UUCP: uunet!cdp!brian DASNet: [DE3MIR]brian