Article View: news.software.nntp
Article #40348Re: Diablo debugging problems...
From: Russ Allbery
Date: Fri, 01 Oct 1999 00:00
Date: Fri, 01 Oct 1999 00:00
21 lines
1315 bytes
1315 bytes
N <niels@usenet.bakker.net> writes: > Joe Greco wrote: > [write() that makes sure all bytes were written] >> If that works, I'll be irritated. > There is a known "feature" in FreeBSD that causes write()s to be > incomplete sometimes. I *think* Matt Dillon worked around it in Diablo. It's in the API definition of write(). You always have to do something like this, or at least that's been the case in every brand of Unix I've ever programmed on. It *usually* works even if you don't check, but that 5% of the time when it doesn't will invariably screw you over when you least expect it. -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Technical Details
Message-ID:
<ylaeq2wrlw.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-mailReferences:
<brad-0110991517500001@brad.techos.skynet.be> <37f4e0b3$0$10188@news.execpc.com> <slrn7va32h.evt.niels@liquid.tpb.net>Show Full Headers
Complete Article Headers
Message-ID: <ylaeq2wrlw.fsf@windlord.stanford.edu> Subject: Re: Diablo debugging problems... Date: Fri, 01 Oct 1999 00:00:00 +0000 From: Russ Allbery <rra@stanford.edu> References: <brad-0110991517500001@brad.techos.skynet.be> <37f4e0b3$0$10188@news.execpc.com> <slrn7va32h.evt.niels@liquid.tpb.net> 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: 531743633 Organization: The Eyrie Newsgroups: news.software.nntp