Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Aug 2002 22:26:11 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Alfred Perlstein <bright@mu.org>
Cc:        David Greenman-Lawrence <dg@dglawrence.com>, David Greenman <dg@FreeBSD.org>, <cvs-committers@FreeBSD.org>, <cvs-all@FreeBSD.org>
Subject:   Re: cvs commit: src/sys/kern uipc_socket2.c
Message-ID:  <20020816222229.S6756-100000@gamplex.bde.org>
In-Reply-To: <20020816052726.GN75574@elvis.mu.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 15 Aug 2002, Alfred Perlstein wrote:

> Any idea on how to setup warnings when some threshold of 64 bit
> math is reached?  I know this entirely arbitrary, but it would be
> interesting and obviously benificial if we could easily find and
> fix more instances of this in a somewhat automated fashion.

Put them in the library functions (in udivdi3.c, etc.).  I'm tempted
to put overflow checks there too (and disable some optimizations so
that the library functions get called in more cases).  Here it helps
that everything goes through relatively slow library calls.

Bruce


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020816222229.S6756-100000>