bsearch problem

Leonard Weincier bridge@dial-up.net
Tue Aug 12 09:18:00 GMT 1997


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".



More information about the Cygwin mailing list