From owner-freebsd-hackers@FreeBSD.ORG Wed Jul 13 05:06:26 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4AD8516A41C; Wed, 13 Jul 2005 05:06:26 +0000 (GMT) (envelope-from flz@xbsd.org) Received: from smtp.xbsd.org (xbsd.org [82.233.2.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id C4ED243D55; Wed, 13 Jul 2005 05:06:25 +0000 (GMT) (envelope-from flz@xbsd.org) Received: from localhost (localhost.xbsd.org [127.0.0.1]) by smtp.xbsd.org (Postfix) with ESMTP id AC1521193A; Wed, 13 Jul 2005 07:07:44 +0200 (CEST) Received: from smtp.xbsd.org ([127.0.0.1]) by localhost (srv1.xbsd.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 92777-09; Wed, 13 Jul 2005 07:07:35 +0200 (CEST) Received: from cream.xbsd.org (cream.xbsd.org [192.168.42.6]) by smtp.xbsd.org (Postfix) with ESMTP id DD29211582; Wed, 13 Jul 2005 07:07:34 +0200 (CEST) From: Florent Thoumie To: Giorgos Keramidas In-Reply-To: <20050712221444.GA1180@gothmog.gr> References: <42D3E8D9.6020105@xbsd.org> <20050712221444.GA1180@gothmog.gr> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-4Qma1zTmtqFTHKQQvrKg" Date: Wed, 13 Jul 2005 07:06:16 +0200 Message-Id: <1121231176.6598.13.camel@cream.xbsd.org> Mime-Version: 1.0 X-Mailer: Evolution 2.2.2 FreeBSD GNOME Team Port X-Virus-Scanned: amavisd-new at xbsd.org Cc: freebsd-hackers@freebsd.org Subject: Re: SIMPLEQ_* macros from OpenBSD sys/queue.h X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jul 2005 05:06:26 -0000 --=-4Qma1zTmtqFTHKQQvrKg Content-Type: text/plain; charset=iso8859-15 Content-Transfer-Encoding: quoted-printable Le Mercredi 13 juillet 2005 =E0 01:14 +0300, Giorgos Keramidas a =E9crit : > On 2005-07-12 17:59, Florent Thoumie wrote: > > I'm currently working on OpenBGPd port update and I'm facing a little > > problem that is actually quite painful to deal with. > > > > I need some macros from OpenBSD sys/queue.h which aren't present in > > FreeBSD. I can replace #include with #include "queue.h" > > and copy the file in the working directory but this leads to having > > more than 10 patches. > > > > Yeah I'm using REINPLACE_CMD, but sometimes sys/queue.h is a hidden > > "dependency" (by hidden, I mean it's included by an included header > > file, and doesn't show up directly in the source file). > > > > So, could somebody consider merging these SIMPLEQ_* macros or even > > synchronize FreeBSD and OpenBSD versions ? >=20 > OpenBSD tries to keep this header in sync with NetBSD, AFAICT from the > cvs logs in their tree. >=20 > I have the queue.h headers from all three on my disk and I'm already > looking at the differences, so if you don't mind waiting 1-2 days so > that I can run any changes through a buildworld I'll give it a try. >=20 > If you have changes that depend on SIMPLEQ_* that could serve as a test > case that you can share, it would be nice too :-) I looked at the manual pages too quickly and like Kevin said,=20 they are the same as FreeBSD STAILQ_* macros. Thanks for volunteering anyway :) --=20 Florent Thoumie flz@xbsd.org --=-4Qma1zTmtqFTHKQQvrKg Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQBC1KFIMxEkbVFH3PQRAikUAJ9Wur6lO1sAxhvwiCGcQYxD/p/4PwCdGXw/ wSV+V/7luwADm6XPEyhUAsQ= =v6i/ -----END PGP SIGNATURE----- --=-4Qma1zTmtqFTHKQQvrKg--