teatotal: teatotal on Solaris 5.8
Subject:
RE: teatotal on Solaris 5.8
From:
"Steve M. Gehlbach" ####@####.####
Date:
29 May 2002 22:23:10 -0000
Message-Id: <BPEDILBPDCBCGKGGANJLMEHCDKAA.steve@nexpath.com>
The May 29 version compiles and checks on Solaris 5.8 using gcc version
2.95.3 with the following:
ARCH = UNKNOWN_BIG in config.inc
LDFLAGS = -lsocket in the Makefile.
There were two compile warnings; not sure if they are significant:
randint.c: In function `generate_key':
randint.c:80: warning: pointer targets in passing arg 2 of `MD5Update'
differ in signedness
tead.c: In function `init_tead':
tead.c:65: warning: subscript has type `char'
Thanks,
Steve G.
-----Original Message-----
From: Alex Holden ####@####.####
Sent: Wednesday, May 29, 2002 4:54 AM
To: ####@####.####
Cc: ####@####.####
Subject: Re: teatotal on Solaris 5.8
Steve M. Gehlbach wrote:
> I finally figured out the pointer alignment problem on Solaris.
> I managed to put an extra byte in the teapacket structure and force it to
> align. The solution is a little crude but it works. Also, I think there
is
ARM had a similar (possibly the same) problem. Can you try the CVS
snapshot and see if it fixes this problem for you?
> a bug in the getarg.c routine in that the trailing null is not copied for
> string arguments. Original code seems to work on Linux but maybe the
> malloc() zeros the memory?? not sure. Maybe strlen() is different.
Yes, that was another bug that I already fixed in the CVS.
The nightly CVS snapshots are available from here:
http://www.linuxhacker.org/pub/cvs-snapshots/tea-total/
--
------------ Alex Holden - http://www.linuxhacker.org ------------
If it doesn't work, you're not hitting it with a big enough hammer
---------------------------------------------------------------------
To unsubscribe, e-mail: ####@####.####
For additional commands, e-mail: ####@####.####