[freetds] ABI incompatible in dblib

Frediano Ziglio freddy77 at gmail.com
Fri Feb 27 11:12:20 EST 2009


Looking at change to sybdb.h

http://freetds.cvs.sourceforge.net/viewvc/freetds/freetds/include/sybdb.h?r1=1.87&r2=1.88

you could see change from DBINT to long. This break ABI compatibility
for systems where sizeof(long) == 8. Is this intentional?
Looking at Sybase ctlib headers I noted that structure use CS_INT which
is long if sizeof(long) == 4 and int if sizeof(int) == 4.

freddy77





More information about the FreeTDS mailing list