[kaffe] Re: flestmail - daily - 6/11 passed (54.5%) (0 errors, 5 failures)
Dalibor Topic
robilad at yahoo.com
Wed Dec 4 16:36:48 PST 2002
--- Dalibor Topic <robilad at yahoo.com> wrote:
> It was my change to swab declaration that broke this
> one. I'll revert the change tonight.
I changed the prototype of swab to use ssize_t instead
of int (my buggy patch) or size_t (original). The
reason is that it's the prototype as defined by the
Open Group. See
http://www.opengroup.org/onlinepubs/007904975/functions/swab.html
for a reference.
The main problem is that gcc doesn't find swab in
<unistd.h>, while g++ does, and complains about
incompatible double declaration. I have no idea why
that happens. Anyway, using ssize_t makes them both
happy on Linux.
If this change still causes problems on FreeBSD, I'll
revert it back to size_t and try to come up with a
different solution for g++.
best regards,
dalibor topic
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
More information about the kaffe
mailing list