From: bridge@dial-up.net (Leonard Weincier)
Subject: bsearch problem
12 Aug 1997 11:52:53 -0700
Approved: cygnus.gnu-win32@cygnus.com
Distribution: cygnus
Message-ID: <Pine.GSO.3.95.970812181030.14221A-100000.cygnus.gnu-win32@mail3.dial-up.net>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Original-To: gnu-win32@cygnus.com
Original-Sender: owner-gnu-win32@cygnus.com

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 : <bridge@icon.co.za>                          

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
