From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4339 invoked by alias); 4 Nov 2002 09:29:07 -0000 Mailing-List: contact libc-hacker-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sources.redhat.com Received: (qmail 4241 invoked from network); 4 Nov 2002 09:29:06 -0000 Received: from unknown (HELO myware.akkadia.org) (24.221.190.179) by sources.redhat.com with SMTP; 4 Nov 2002 09:29:06 -0000 Received: from redhat.com (myware.akkadia.org [192.168.7.70]) (authenticated bits=0) by myware.akkadia.org (8.12.5/8.12.5) with ESMTP id gA49TEe5021332; Mon, 4 Nov 2002 01:29:18 -0800 Message-ID: <3DC63DEA.7020101@redhat.com> Date: Mon, 04 Nov 2002 01:29:00 -0000 From: Ulrich Drepper User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2b) Gecko/20021102 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Thorsten Kukuk CC: libc-hacker@sources.redhat.com Subject: Re: bits/libc-lock.h and _LIBC References: <20021021112734.A25309@suse.de> In-Reply-To: <20021021112734.A25309@suse.de> X-Enigmail-Version: 0.65.4.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2002-11/txt/msg00005.txt.bz2 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Thorsten Kukuk wrote: > We install libc-lock.h into /usr/include/bits. But libc-lock.h is > only useable, if it is compiled with -D_LIBC, which breaks now with > libio.h. What exactly fails? And when did it change? The header is in this form installed on my systems and I have no problems using . > I suggest the following patch, or is there any reason for the > ifdef _LIBC around __libc_lock_t ? We don't do this for __libc_key_t > and all the other definitions. I've made the types opaque back when for a good reason. I think it was mainly the use in libstdc++ but also to prevent any kind of initializers. - -- - --------------. ,-. 444 Castro Street Ulrich Drepper \ ,-----------------' \ Mountain View, CA 94041 USA Red Hat `--' drepper at redhat.com `--------------------------- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE9xj3q2ijCOnn/RHQRAnX8AJ9wl29zf64OnXqvkXZWqneItRCaFQCghBRG Ix7S2+hU1/KMnaW6RCdczBM= =K3X3 -----END PGP SIGNATURE-----