From owner-cvs-src@FreeBSD.ORG Wed Dec 17 12:21:05 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 156D516A4CE for ; Wed, 17 Dec 2003 12:21:05 -0800 (PST) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 9AF6E43D45 for ; Wed, 17 Dec 2003 12:21:02 -0800 (PST) (envelope-from nate@rootlabs.com) Received: (qmail 70935 invoked by uid 1000); 17 Dec 2003 20:21:03 -0000 Date: Wed, 17 Dec 2003 12:21:03 -0800 (PST) From: Nate Lawson To: Daniel Eischen In-Reply-To: Message-ID: <20031217122003.B70894@root.org> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libc_r/uthread uthread_write.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Dec 2003 20:21:05 -0000 On Wed, 17 Dec 2003, Daniel Eischen wrote: > On Wed, 17 Dec 2003, Nate Lawson wrote: > > On Wed, 17 Dec 2003, Daniel Eischen wrote: > > > Does this fix something other than bacula? > > > > Anyone else who expected this semantics. I have no specific examples. > > I think it probably only pertinent to writing to tape devices > where a 0 return means end of tape. Otherwise you should > get -1 with an appropriate errno or just wait until all > the requested data has been written. > > I asked if this fixed something because I was asked if this > was a 5.2R candidate. Oh, I thought it mattered for people doing non-blocking writes from a thread also. -Nate