Re: [Tcpick-project] [bug]function declaration of lookup() under 64-bit platform
Status: Beta
Brought to you by:
duskdruid
|
From: Christian B. <ch...@do...> - 2009-11-17 08:08:40
|
Hi Song,
that would be great. I'm not a c-programmer and failed to get tcpick
running on
64bit. Therefore I sadly hat to stop using it.
Can you provide a patch for testing?
Best regards,
Chris
Am 17.11.2009 um 08:45 schrieb Song Jiang:
> hi, every one:
>
> I have compiled tcpick under 64-bit platform. It always core dumps
> when capturing.
>
> The bug is that there is no declaration of function lookup(). So the
> compile uses "int lookup()" instead.
>
> But the really return value type of lookup() is "char *".
>
> There is no diff under 32-bit platform.
>
> Unlucky, "char *" is 8-byte and "int" is only 4-byte under 64-bit
> platform.
>
> We should make a declaration manually in order to fix this bug.
>
> Thanks.
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day
> trial. Simplify your report design, integration and deployment - and
> focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july_______________________________________________
> Tcpick-project mailing list
> Tcp...@li...
> https://lists.sourceforge.net/lists/listinfo/tcpick-project
|