From owner-freebsd-hackers Wed Mar 13 11:48:50 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by hub.freebsd.org (Postfix) with ESMTP id 5205037B416 for ; Wed, 13 Mar 2002 11:48:47 -0800 (PST) Received: by elvis.mu.org (Postfix, from userid 1192) id 27749AE24F; Wed, 13 Mar 2002 11:48:47 -0800 (PST) Date: Wed, 13 Mar 2002 11:48:47 -0800 From: Alfred Perlstein To: Farooq Mela Cc: freebsd-hackers@freebsd.org, tlambert2@mindspring.com Subject: Re: Recv() to a mmap'ed file? Message-ID: <20020313194847.GO32410@elvis.mu.org> References: <3C8E6CD5.67F23CF2@sm.socccd.cc.ca.us> <20020312214851.GK92565@elvis.mu.org> <3C8EEA50.C3E17315@sm.socccd.cc.ca.us> <20020313060553.GF32410@elvis.mu.org> <3C8F1635.B6E3FA5A@sm.socccd.cc.ca.us> <3C8FAAF1.4DE9F67@sm.socccd.cc.ca.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3C8FAAF1.4DE9F67@sm.socccd.cc.ca.us> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Farooq Mela [020313 11:38] wrote: > Farooq Mela wrote: > > region, but it will get a SIGBUS if it tries to write to it. It would > > be better to return -1 and set errno to EFAULT than to have this brain > > damage imho. > > eep... that should be EINVAL... maybe i can be forgiven, though, given > the time at which i wrote the message :-) Why should we hide the fact that you are on a brain dead archetecture? :) -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' Tax deductible donations for FreeBSD: http://www.freebsdfoundation.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message