nasty bug in bsearch()
Geoffrey Noer
noer@cygnus.com
Mon Jul 21 17:47:00 GMT 1997
Mumit Khan wrote a very long time ago:
>
> I believe there is a nasty bug in bsearch that gets tickled whenever the
> item to be searched for is "greater" than the last item in the list
> supplied. Take the following trivial code:
[...]
This will be fixed in the next release. I just rewrote
newlib/libc/stdlib/bsearch.c using a better algorithm.
--
Geoffrey Noer
noer@cygnus.com
-
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