Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Nov 2006 09:16:28 -0500
From:      Tom Rhodes <trhodes@FreeBSD.org>
To:        Diomidis Spinellis <dds@FreeBSD.org>
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
Message-ID:  <20061106091628.45ff91d1.trhodes@FreeBSD.org>
In-Reply-To: <200611061355.kA6DtC4M011713@repoman.freebsd.org>
References:  <200611061355.kA6DtC4M011713@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 6 Nov 2006 13:55:11 +0000 (UTC)
Diomidis Spinellis <dds@FreeBSD.org> 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



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