Re: poll() behaves differently in Linux 2.4.1 vs. Linux 2.2.14 (POLLHUP)

Jeffrey Butler (jeffreymbutler@yahoo.com)
Wed, 14 Mar 2001 20:00:13 -0800 (PST)


Alexy wrote:
>> Damn, we did not test behaviour on absolutely new
>> clean never connected socket... Solaris really may
>> return 0 on it.
>>
>> However, looking from other hand the issue looks as
>> absolutely academic and not related to practice in
>> any way.

Hi,
I'm not sure this issue is really that academic. In
fact, it's one of those nitty-gritty, annoying details
that academics tend to ignore :). Anyway, I'm looking
at this from a very pragmatic standpoint. I'd like to
minimize the complexity and the number of special
cases when trying to support an application on several
different platforms. If other popular Unix OS's
behave this way I definely understand the reasoning,
but it seems that at least Solaris 7 does not...
Sure, workarounds exist, but they just complicates
things.

-jeff

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices.
http://auctions.yahoo.com/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/