🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
1 messages
1 total messages Started by Gary Mills Tue, 12 Jan 1999 00:00
Is EAGAIN from read() a bug or a feature?
#34622
Author: Gary Mills
Date: Tue, 12 Jan 1999 00:00
20 lines
1263 bytes
I'm running inn 2.2 STABLE on a dual-CPU Sun Sparc-20 running
Solaris 2.6, and frequently see this error message...

Jan 12 13:30:19 setup16 innd: canopus.cc.umanitoba.ca:46 cant read Resource temporarily unavailable

I notice that two source files in the innd directory contain this comment...

#ifdef POLL_BUG
    /* return of -2 indicates EAGAIN, for SUNOS5.4 poll() bug workaround */

Since this seems to be a feature of Solaris, not just a bug in Solaris 2.4,
perhaps this section of code should be activated for all compilations of
innd on Solaris?  configure doesn't seem to know about POLL_BUG.  What's
the official way to activate it?


-- 
-Gary Mills-    -Unix Support-    -U of M Academic Computing and Networking-

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads