🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #34622

Is EAGAIN from read() a bug or a feature?

#34622
From: 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-

Technical Details
Message-ID: <77gb8b$df8$1@canopus.cc.umanitoba.ca>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <77gb8b$df8$1@canopus.cc.umanitoba.ca>
Subject: Is EAGAIN from read() a bug or a feature?
Date: Tue, 12 Jan 1999 00:00:00 +0000
From: mills@cc.umanitoba.ca (Gary Mills)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 431790151
Organization: The University of Manitoba
Newsgroups: news.software.nntp