From owner-cvs-all@FreeBSD.ORG Mon Nov 6 14:16:42 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5930D16A40F; Mon, 6 Nov 2006 14:16:42 +0000 (UTC) (envelope-from trhodes@FreeBSD.org) Received: from pittgoth.com (ns1.pittgoth.com [216.38.206.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id 710D543D67; Mon, 6 Nov 2006 14:16:39 +0000 (GMT) (envelope-from trhodes@FreeBSD.org) Received: from localhost (ip70-177-190-239.dc.dc.cox.net [70.177.190.239]) (authenticated bits=0) by pittgoth.com (8.13.6/8.13.6) with ESMTP id kA6EGaHG061627 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 6 Nov 2006 09:16:38 -0500 (EST) (envelope-from trhodes@FreeBSD.org) Date: Mon, 6 Nov 2006 09:16:28 -0500 From: Tom Rhodes To: Diomidis Spinellis Message-Id: <20061106091628.45ff91d1.trhodes@FreeBSD.org> In-Reply-To: <200611061355.kA6DtC4M011713@repoman.freebsd.org> References: <200611061355.kA6DtC4M011713@repoman.freebsd.org> Organization: The FreeBSD Project X-Mailer: Sylpheed version 1.0.6 (GTK+ 1.2.10; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/jot jot.1 jot.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Nov 2006 14:16:42 -0000 On Mon, 6 Nov 2006 13:55:11 +0000 (UTC) Diomidis Spinellis wrote: > dds 2006-11-06 13:55:11 UTC > > FreeBSD src repository > > Modified files: > usr.bin/jot jot.1 jot.c > Log: > Do What I Mean when the user asks for random integers or characters. > Up to now jot would fail to generate the last character in the range > or skew the integer distribution in a way that would generate the numbers > in the range's limits with half the probability of the rest. > > This modification fixes the program, rather than documenting the > strange behavior, as suggested in docs/54879. > > Also, correctly specify the range of random(3). Thanks! -- Tom Rhodes