> Hm, Solaris' bsearch() fails on empty input? How bizarre.
I was skeptical but apparently this is a known bug ...googling turned up a couple of references, eghttp://www.opencm.org/pipermail/opencm-dev/2002-July/001077.html
regards, tom lane