looking for dbfcmd
Brian Bruns
camber at ais.org
Thu Mar 15 19:33:35 EST 2001
On Thu, 15 Mar 2001, Brian Bruns wrote:
> > I'm checking out freetds for the first time. I've noticed in
> > the unit test modules for libdb a sprintf was used to accomplish
> > the same thing. I have a lot of code which would require changes.
> > Any one know of a fix?
> >
> > Thanks,
> > Steve
>
> This code snipet should work...just add it to src/dblib/dblib.c and
> recompile.
> The only major thing wrong with it is that the 'tmpstr' is statically
> sized at 4096 bytes...we need a way to determine the size of the resulting
> string.
>
I just checked in a more robust version of this that will size
dynamically.
Enjoy,
Brian
More information about the FreeTDS
mailing list