🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #40667

Re: Diablo debugging problems...

#40667
From: Russ Allbery
Date: Fri, 08 Oct 1999 00:00
19 lines
1541 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> writes:
> [Russ Allbery]

>>   Well, to be fair, I've never seen that behavior from write(), so I
>>   think you may be worrying about an error condition that never
>>   happens in practice.  But it's a point, and it's theoretically
>>   possible I suppose.

> A loop with ENOSPC or EBADF (a bug elsewhere in the code) can happen.

No, the error case was already handled separately.  Brad was talking about
limiting the number of times the code would loop on partial writes that
weren't returning errors.  I really don't think that will ever loop
forever on a sane system.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Technical Details
Message-ID: <ylu2o1pbsn.fsf@windlord.stanford.edu>
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
References: <brad-0110991517500001@brad.techos.skynet.be> <brad-0510991348210001@brad.techos.skynet.be> <brad-0510991730300001@brad.techos.skynet.be> <37fa44dc$0$7740@news.execpc.com> <7tebo8$hta$1@zeus.fw.cuci.nl> <brad-0610991157590001@brad.techos.skynet.be> <ylpuysf23v.fsf@windlord.stanford.edu> <1rvh8i10op.fsf@haey.ifi.uio.no>

Show Full Headers
Complete Article Headers
Message-ID: <ylu2o1pbsn.fsf@windlord.stanford.edu>
Subject: Re: Diablo debugging problems...
Date: Fri, 08 Oct 1999 00:00:00 +0000
From: Russ Allbery <rra@stanford.edu>
References: <brad-0110991517500001@brad.techos.skynet.be> <brad-0510991348210001@brad.techos.skynet.be> <brad-0510991730300001@brad.techos.skynet.be> <37fa44dc$0$7740@news.execpc.com> <7tebo8$hta$1@zeus.fw.cuci.nl> <brad-0610991157590001@brad.techos.skynet.be> <ylpuysf23v.fsf@windlord.stanford.edu> <1rvh8i10op.fsf@haey.ifi.uio.no>
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: 534543390
Organization: The Eyrie
Newsgroups: news.software.nntp