[freetds] bulk library in ct-lib

ZIGLIO, Frediano, VF-IT Frediano.Ziglio at vodafone.com
Tue May 18 04:17:36 EDT 2004


> 
> well thanks a lot freddy,
> 
> your compiler is more fussy than mine....
> 
> > you called _ctclientmsg in blk.c with less parameters...
> 
> yeah, I guess whereever I do this
> 
> _ctclient_msg(blkdesc->con, "blk_done", 2, 5, 1, 140);
> 
> You could change it to...
> 
> _ctclient_msg(blkdesc->con, "blk_done", 2, 5, 1, 140, "");
> 
> Your line numbers don't seem to the same as mine at the 
> moment so I can't
> find the others...
> 
> Bill
> 

Don't mind, replaced

Still some warnings that look quite severe

blk.c: In function `blk_bind':
blk.c:98: warning: overflow in implicit constant conversion
blk.c:99: warning: overflow in implicit constant conversion
blk.c:121: warning: overflow in implicit constant conversion
blk.c:122: warning: overflow in implicit constant conversion

The constant seems not valid

dblib.c: In function `dbnullbind':
dblib.c:2125: warning: assignment from incompatible pointer type
dblib.c: In function `dbanullbind':
dblib.c:2182: warning: assignment from incompatible pointer type

Bad conversion of pointer...


blk_in.c: In function `do_bind':
blk_in.c:201: warning: control reaches end of non-void function

You used ret but you always discard this value...



Also see some results from make check

000000000000000000000000000000000000000000000000000000000000000000000000
00000000
000000000000000000000000000000000000000000000000000000000000000000000000
00000000
000000000000000000000000000000000000000000000000000000000000000000000000
00000000
000000000000000000000000000000000000000000000000000000000000000000000000
00000000
00000000000000000000000
All done processing rows.
free(): invalid pointer 0xbfffe756!
free(): invalid pointer 0xbfffe756!
free(): invalid pointer 0xbfffe756!
free(): invalid pointer 0xbfffe756!
free(): invalid pointer 0xbfffe756!
free(): invalid pointer 0xbfffe756!
free(): invalid pointer 0xbfffe756!
PASS: rpc_ct_setparam

^^^ double free ??

FAIL: blk_in

^^^ no more output

freddy77



More information about the FreeTDS mailing list