From: Ryan Benigno <rbenigno@home.com>
Subject: libc
Date: Tue, 22 Jul 1997 06:14:00 -0700 [thread overview]
Message-ID: <aa24c45b66c6e3267c1dc0772aa08ea0.axp-list@archive.invalid> (raw)
I am running RedHat-4.2 an an Alpha box. The problem is with libc.
Whenever I compile something with socket code I get warnings about
incompatable pointer types in accept() and a few other important calls.
The reason is on an Alpha longs are 64 bit while on x86's they're only
32. The network functions in question use size_t rather then int as
they should. This is a bad thing because size_t != sizeof(int) on an
Alpha like they are on a x86 but rather sizeof(long). This causes some
network programs to be really broken. I guess what I'm asking is if
anyone knows of a non-broken libc or patches to fix libc on an Alpha.
Any info would be appreciated.
Thanks,
Ryan
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
next reply other threads:[~1997-07-22 13:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-07-22 13:14 Ryan Benigno [this message]
-- strict thread matches above, loose matches on Subject: below --
1997-07-22 3:45 libc Greg Lindahl
1997-07-22 12:40 ` libc Michael Alan Dorman
[not found] <33D4B218.7137@home.com>
1997-07-22 3:41 ` libc Michal Jaegermann
1997-07-22 5:52 ` libc Richard Henderson
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox