Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jun 2005 17:51:31 +1000
From:      Peter Jeremy <PeterJeremy@optushome.com.au>
To:        "Greg 'groggy' Lehey" <grog@freebsd.org>
Cc:        juli mallett <jmallett@freebsd.org>, cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/games/random random.c
Message-ID:  <20050623075131.GZ50157@cirb503493.alcatel.com.au>
In-Reply-To: <20050623010637.GI37620@wantadilla.lemis.com>
References:  <200506221524.j5MFO1V1045648@repoman.freebsd.org> <20050623002734.GE37620@wantadilla.lemis.com> <20050623003148.GA55179@toxic.magnesium.net> <20050623004143.GG37620@wantadilla.lemis.com> <20050623004509.GA55856@toxic.magnesium.net> <20050623010637.GI37620@wantadilla.lemis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 2005-Jun-23 10:36:38 +0930, Greg 'groggy' Lehey wrote:
>> The commit was to random(6) and the commit message was in reference
>> to the use of random(3) by random(6).  I suspect one of us is very
>> confused and/or not reading the emails we reply to.
>
>Your confusion appears to stem from the expectation that the commit
>log message need not describe the issue adequately.

The commit message made sense to me:  random(6) [obvious by context]
was using random(3) but incorrectly assuming a range of [0..RAND_MAX)
instead of [0..2^31).

-- 
Peter Jeremy



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