From: Greg Lindahl <lindahl@cs.virginia.edu>
Subject: Re: libc
Date: Mon, 21 Jul 1997 23:45:07 -0400 (EDT) [thread overview]
Message-ID: <199707220345.XAA00315@adder.cs.Virginia.EDU> (raw)
> > This causes some
> > network programs to be really broken.
>
> Not really. If you avoid shoddy programming practices and include proper
> headers, instead of second-guessing them, they work like advertised.
The interface to accept() has a (int *) in the manpage which is a
(size_t *) in the include file.
Other OSes, not to mention Redhat 4.1/Intel, have int *. There is no
easy way to write compatible code for both cases.
This is a real issue. I'd bet that it was done on purpose as there
are many things in the bsd interfaces which ought to be size_t's.
But we need a graceful plan for migrating and some explanation, so
I can explain to my boss why my code breaks on this new OS revision
but it's not my fault.
-- g
--
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 3:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-07-22 3:45 Greg Lindahl [this message]
1997-07-22 12:40 ` libc Michael Alan Dorman
-- strict thread matches above, loose matches on Subject: below --
1997-07-22 13:14 libc Ryan Benigno
[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