Return-Path: Delivered-To: apmail-apr-commits-archive@www.apache.org Received: (qmail 3043 invoked from network); 30 Oct 2007 00:06:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Oct 2007 00:06:47 -0000 Received: (qmail 14758 invoked by uid 500); 30 Oct 2007 00:06:35 -0000 Delivered-To: apmail-apr-commits-archive@apr.apache.org Received: (qmail 14706 invoked by uid 500); 30 Oct 2007 00:06:35 -0000 Mailing-List: contact commits-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: dev@apr.apache.org List-Id: Delivered-To: mailing list commits@apr.apache.org Received: (qmail 14695 invoked by uid 99); 30 Oct 2007 00:06:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Oct 2007 17:06:35 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [64.202.165.233] (HELO smtpout07.prod.mesa1.secureserver.net) (64.202.165.233) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 30 Oct 2007 00:06:38 +0000 Received: (qmail 13736 invoked from network); 30 Oct 2007 00:06:17 -0000 Received: from unknown (24.15.193.17) by smtpout07-04.prod.mesa1.secureserver.net (64.202.165.233) with ESMTP; 30 Oct 2007 00:06:17 -0000 Message-ID: <47267578.4010100@rowe-clan.net> Date: Mon, 29 Oct 2007 19:06:16 -0500 From: "William A. Rowe, Jr." User-Agent: Thunderbird 2.0.0.5 (X11/20070727) MIME-Version: 1.0 To: dev@apr.apache.org CC: commits@apr.apache.org Subject: Re: svn commit: r589911 - in /apr/apr-util/trunk/test: testdate.c testreslist.c References: <20071029233609.ED6301A9832@eris.apache.org> In-Reply-To: <20071029233609.ED6301A9832@eris.apache.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org trawick@apache.org wrote: > Author: trawick > Date: Mon Oct 29 16:36:09 2007 > New Revision: 589911 > > URL: http://svn.apache.org/viewvc?rev=589911&view=rev > Log: > when !APR_HAS_RANDOM, use a lame initial "random" number > in test programs instead of bombing with a link failure > + guess = apr_time_now() % APR_USEC_PER_SEC; To make this slightly less lame, would you take this % a number prime to 2^32 for some extra flukeishness? (can hardly call it entropy :)