This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
bsearch problem
- To: gnu-win32 at cygnus dot com
- Subject: bsearch problem
- From: Leonard Weincier <bridge at dial-up dot net>
- Date: Tue, 12 Aug 1997 18:16:34 +0200 (GMT)
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".