From owner-cvs-all Wed Jan 9 17:19: 4 2002 Delivered-To: cvs-all@freebsd.org Received: from patrocles.silby.com (d165.as15.nwbl0.wi.voyager.net [169.207.136.103]) by hub.freebsd.org (Postfix) with ESMTP id 4463B37B400; Wed, 9 Jan 2002 17:18:56 -0800 (PST) Received: from localhost (silby@localhost) by patrocles.silby.com (8.11.6/8.11.6) with ESMTP id g09JLf704409; Wed, 9 Jan 2002 19:21:42 GMT (envelope-from silby@silby.com) X-Authentication-Warning: patrocles.silby.com: silby owned process doing -bs Date: Wed, 9 Jan 2002 19:21:41 +0000 (GMT) From: Mike Silbersack To: Bruce Evans Cc: cvs-committers@FreeBSD.org, Subject: Re: cvs commit: src/sys/kern uipc_socket2.c In-Reply-To: <20020110115017.D10376-100000@gamplex.bde.org> Message-ID: <20020109191828.O3653-100000@patrocles.silby.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 10 Jan 2002, Bruce Evans wrote: > On Wed, 9 Jan 2002, Mike Silbersack wrote: > > > Ah, I can see the potential problems with signedness. As for the > > evaluation of arguments; wouldn't the inline min functions in libkern.h do > > the same? > > No, because inline functions have function semantics. Functions don't > reevaluate their args. > > Bruce Ah, I see now. Well, I'll be more careful with correct min() usage in the future. Thanks for the information. Mike "Silby" Silbersack To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message