I would like to suggest a parameter change in convert_to_ucs2
recently added to src/sql/mdbsql.c. Add an additional
parameter of int * into which the final size is stored. That
way, 1. you don't have to calculate it after you return, and
2. if logic for convert_to_ucs2 changes, you don't only have
to update the logic for the string size in one place (high
cohesion.
-- Jeff S
__________________________________
Do you Yahoo!?
Yahoo! Search - Find what you?re looking for faster
http://search.yahoo.com
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
|