From owner-freebsd-i386@FreeBSD.ORG Thu Jun 5 10:50:10 2003 Return-Path: Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9CDA037B401 for ; Thu, 5 Jun 2003 10:50:10 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9CE9E43F93 for ; Thu, 5 Jun 2003 10:50:09 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h55Ho9Up065134 for ; Thu, 5 Jun 2003 10:50:09 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h55Ho9Q0065133; Thu, 5 Jun 2003 10:50:09 -0700 (PDT) Resent-Date: Thu, 5 Jun 2003 10:50:09 -0700 (PDT) Resent-Message-Id: <200306051750.h55Ho9Q0065133@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-i386@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, pasky@ucw.cz Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4D69337B401 for ; Thu, 5 Jun 2003 10:43:57 -0700 (PDT) Received: from 253client.scnet.cz (253client.scnet.cz [212.80.88.253]) by mx1.FreeBSD.org (Postfix) with ESMTP id ACAD643FAF for ; Thu, 5 Jun 2003 10:43:56 -0700 (PDT) (envelope-from root@253client.scnet.cz) Received: from localhost.scnet.cz ([127.0.0.1] helo=253client.scnet.cz) by 253client.scnet.cz with esmtp (Exim 4.14) id 19NxLF-0000hA-7d for FreeBSD-gnats-submit@freebsd.org; Thu, 05 Jun 2003 18:11:53 +0200 Received: (from root@localhost) by 253client.scnet.cz (8.12.6/8.12.6/Submit) id h55GBqMP002675; Thu, 5 Jun 2003 18:11:52 +0200 (CEST) Message-Id: <200306051611.h55GBqMP002675@253client.scnet.cz> Date: Thu, 5 Jun 2003 18:11:52 +0200 (CEST) From: pasky@ucw.cz To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: i386/52971: bad macro LIST_HEAD in /usr/include/sys/queue.h X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: pasky@ucw.cz List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jun 2003 17:50:11 -0000 >Number: 52971 >Category: i386 >Synopsis: bad macro LIST_HEAD in /usr/include/sys/queue.h >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Jun 05 10:50:08 PDT 2003 >Closed-Date: >Last-Modified: >Originator: root >Release: FreeBSD 4.8-RELEASE i386 >Organization: >Environment: System: FreeBSD 253client.scnet.cz 4.7-RELEASE FreeBSD 4.7-RELEASE #1: Sat May 10 23:58:26 CEST 2003 root@pretorian.home:/usr/src/sys/compile/pretorian0 i386 In FreeBSD 4.8-RELEASE, /usr/include/sys/queue.h (included from ie. sys/select.h) contains definition of a LIST_HEAD macro. This is a namespace clash, since it interferes with variors userspace programs (ie. ELink-CVS) and presence of this symbol is not defined in any standard. The macro should me moved to the system namespace by prefixing it with __ or the namespace clash should be fixed in some other way. Reported by Petr Baudis , he couldn't report by himself as he has no access to a FreeBSD system personally and the web interface is not working. >Description: >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: