Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 85866 invoked from network); 22 Nov 2004 23:04:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 22 Nov 2004 23:04:23 -0000 Received: (qmail 65664 invoked by uid 500); 22 Nov 2004 23:04:22 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 65423 invoked by uid 500); 22 Nov 2004 23:04:20 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 65409 invoked by uid 99); 22 Nov 2004 23:04:20 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of jorton@redhat.com designates 66.187.233.31 as permitted sender) Date: Mon, 22 Nov 2004 23:04:10 +0000 From: Joe Orton To: dev@apr.apache.org Subject: Re: svn commit: r106214 - /apr/apr/trunk/CHANGES /apr/apr/trunk/configure.in /apr/apr/trunk/include/apr.h.in /apr/apr/trunk/misc/unix/rand.c Message-ID: <20041122230410.GA9611@redhat.com> Mail-Followup-To: dev@apr.apache.org References: <20041122201426.75611.qmail@minotaur.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20041122201426.75611.qmail@minotaur.apache.org> User-Agent: Mutt/1.4.1i X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Mon, Nov 22, 2004 at 08:14:26PM -0000, Paul Querna wrote: > Author: pquerna > Date: Mon Nov 22 12:14:25 2004 > New Revision: 106214 > > Modified: > apr/apr/trunk/CHANGES > apr/apr/trunk/configure.in > apr/apr/trunk/include/apr.h.in > apr/apr/trunk/misc/unix/rand.c > Log: > Use uuid_generate() and uuid_create() for the apr_os_uuid_get() interface > on platforms that support them. > > Tested On: Linux 2.6 (libuuid) and FreeBSD 5.2.1 (libc has uuid_create) Neat... that's a good way fix for the "why does the uuid code hang forever" problem (waiting for /dev/random). > + memcpy( (void*)uuid_data, (const void *)&g, sizeof( uuid_t ) ); > + Please watch the code style, Paul! joe