Subject: bsearch problem
From: [email-masked] (Leonard Weincier)

12 Aug 1997 11:52:53 -0700
Approved: [email-masked]
Distribution: cygnus
Message-ID: <[email-masked]>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Original-To: [email-masked]
Original-Sender: [email-masked]

Hi All

There appears to be a problem in the implementation of bsearch. If you pass the bsearch function an array with only one element, it will bomb because of it's handling of the bounadary condition on the binary search. I looked at the implementation of bsear
ch under linux and it appears to be solid.

Has anyone else found this ?

TIA 
Len

-----------------------------------------------------------------------
Leonard Weincier                                      
email : <[email-masked]>                          

-
For help on using this list (especially unsubscribing), send a message to
"[email-masked]" with one line of text: "help".