From owner-freebsd-current@FreeBSD.ORG Sat Mar 20 05:45:43 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6479016A4CE for ; Sat, 20 Mar 2004 05:45:43 -0800 (PST) Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD5F343D39 for ; Sat, 20 Mar 2004 05:45:42 -0800 (PST) (envelope-from ache@pobrecita.freebsd.ru) Received: from pobrecita.freebsd.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.12.11/8.12.11) with ESMTP id i2KDjeY1055000; Sat, 20 Mar 2004 16:45:40 +0300 (MSK) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.12.11/8.12.11/Submit) id i2KDjePR054999; Sat, 20 Mar 2004 16:45:40 +0300 (MSK) (envelope-from ache) Date: Sat, 20 Mar 2004 16:45:40 +0300 From: Andrey Chernov To: Peter Edwards , Jason Andresen , Doug White , freebsd-current@freebsd.org Message-ID: <20040320134540.GA54827@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , Peter Edwards , Jason Andresen , Doug White , freebsd-current@freebsd.org References: <4058AC1C.10208@mitre.org> <4059B9CD.1010003@openet-telecom.com> <4059C3B0.4080003@mitre.org> <20040318095842.W62520@carver.gumbysoft.com> <4059E668.1030405@openet-telecom.com> <405B055D.30203@mitre.org> <405B1304.1020307@openet-telecom.com> <20040320130416.GB53843@nagual.pp.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040320130416.GB53843@nagual.pp.ru> User-Agent: Mutt/1.5.6i X-AntiVirus: checked by AntiVir Milter 1.1-beta; AVE 6.24.0.7; VDF 6.24.0.64 (host: pobrecita.freebsd.ru) Subject: Re: Pan crashing in libgnuregex after -pthread switchover X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Mar 2004 13:45:43 -0000 On Sat, Mar 20, 2004 at 04:04:17PM +0300, Andrey Chernov wrote: > It is interesting note, but I don't see how you really can use _both_ GNU > regex and libc regexec/regcomp. To use libc regexec/regcomp you need to Lets think about even more complex case: file a.c #include file b.c #include // I.e. system one It breaks GNU regex ABI when calling, say, regcomp() because all _modern_ programs which want GNU regex family assumes that regcomp is part of GNU regex library (or GNU libc) and wants it there. If we remove regcomp() from GNU regex library (like in old variant with NO_POSIX_COMPAT you mentioned), the library will be incomplete and there is no chance for some programs to find needed functions there. I mean - they include but got wrong (system one) regcomp() in result, if NO_POSIX_COMPAT will be introduced again. -- Andrey Chernov | http://ache.pp.ru/