Skip to Content.
Sympa Menu

freetds - RE: [freetds] bulk library in ct-lib

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "ZIGLIO, Frediano, VF-IT" <Frediano.Ziglio AT vodafone.com>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: RE: [freetds] bulk library in ct-lib
  • Date: Tue, 18 May 2004 10:17:36 +0200

>
> 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




Archive powered by MHonArc 2.6.24.

Top of Page