Richard Levitte - VMS Whacker wrote:
> 
> From: Dr S N Henson <[EMAIL PROTECTED]>
> 
> drh> I'd guess the stuff could either be reordered for EBCDIC, the compare
> drh> function changed or the search changed to a linear search if EBCDIC is
> drh> used.
> 
> Or in the EBCDIC case, you convert the string to look for to ASCII
> (make a copy) and do the binary search with that.
> 

Well depends on how it works. I'm guessing but maybe on an EBCDIC system
the compiled strings in the table are EBCDIC so it is misordered if you
do strcmp() so a binary search wont work. If you have a strcmp that
takes EBCDIC strings and conoverts and compares then that may work.

Steve.
-- 
Dr Stephen N. Henson.   http://www.drh-consultancy.demon.co.uk/
Personal Email: [EMAIL PROTECTED] 
Senior crypto engineer, Celo Communications: http://www.celocom.com/
Core developer of the   OpenSSL project: http://www.openssl.org/
Business Email: [EMAIL PROTECTED] PGP key: via homepage.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to