From owner-p4-projects@FreeBSD.ORG Wed May 9 19:19:28 2007 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 23A5116A404; Wed, 9 May 2007 19:19:28 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CD4F316A402 for ; Wed, 9 May 2007 19:19:27 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.freebsd.org (Postfix) with ESMTP id 7AC8513C45B for ; Wed, 9 May 2007 19:19:27 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.8/8.13.8) with ESMTP id l49JJPM4093929; Wed, 9 May 2007 15:19:25 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: Fredrik Lindberg Date: Wed, 9 May 2007 15:05:39 -0400 User-Agent: KMail/1.9.6 References: <200705082229.l48MTrbh069129@repoman.freebsd.org> <9bbcef730705090710h653dc15bjb7a1159484c1c48b@mail.gmail.com> <4641E19F.80809@shapeshifter.se> In-Reply-To: <4641E19F.80809@shapeshifter.se> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200705091505.39795.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Wed, 09 May 2007 15:19:25 -0400 (EDT) X-Virus-Scanned: ClamAV 0.88.3/3224/Wed May 9 11:25:29 2007 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: Perforce Change Reviews , Ivan Voras Subject: Re: PERFORCE change 119527 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 May 2007 19:19:28 -0000 On Wednesday 09 May 2007 10:58:39 am Fredrik Lindberg wrote: > Ivan Voras wrote: > > On 09/05/07, Fredrik Lindberg wrote: > > > >> Ok, I'll take a look at the various queue.h shipped with the major BSDs, > >> and see if I can find a common subset that suits my needs (without too > >> many compromises) and based on the findings I'll reconsider my choice. > > > > I use sys/queue.h in my userland applications all the time, there's no > > problem there. > > > > And it works on {Net,Open}BSD?, I could swear that I've been bitten by > sys/queue.h in the past when moving stuff between FreeBSD and NetBSD. > Could have been those TAILQ-macros Robert Watson talked about though. Just include your own copy of sys/queue.h for systems whose queue.h isn't up to snuff. You don't have to use the OS-native one, it's ok to carry one around, but then you have one less copy of the wheel. -- John Baldwin