From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28048 invoked by alias); 22 Jan 2009 02:52:54 -0000 Received: (qmail 28031 invoked by uid 22791); 22 Jan 2009 02:52:53 -0000 X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_00,KAM_MX,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 22 Jan 2009 02:52:48 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n0M2q3vW027733; Wed, 21 Jan 2009 21:52:45 -0500 Received: from gateway.sf.frob.com (vpn-13-200.rdu.redhat.com [10.11.13.200]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n0M2q37c007948; Wed, 21 Jan 2009 21:52:04 -0500 Received: from magilla.sf.frob.com (magilla.sf.frob.com [198.49.250.228]) by gateway.sf.frob.com (Postfix) with ESMTP id 98C04357B; Wed, 21 Jan 2009 18:52:01 -0800 (PST) Received: by magilla.sf.frob.com (Postfix, from userid 5281) id 6FC88FC3C7; Wed, 21 Jan 2009 18:52:01 -0800 (PST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit From: Roland McGrath To: Andreas Schwab Cc: libc-hacker@sourceware.org Subject: Re: Fix version map sorting In-Reply-To: Andreas Schwab's message of Thursday, 22 January 2009 01:00:43 +0100 References: Message-Id: <20090122025201.6FC88FC3C7@magilla.sf.frob.com> Date: Thu, 22 Jan 2009 02:52:00 -0000 Mailing-List: contact libc-hacker-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sourceware.org X-SW-Source: 2009-01/txt/msg00005.txt.bz2 Does this instead work for you? Thanks, Roland 2009-01-21 Roland McGrath * Makeconfig (%.v.i): Strip trailing # comments, not only whole-line comments. Index: Makeconfig =================================================================== RCS file: /cvs/glibc/libc/Makeconfig,v retrieving revision 1.327 diff -u -r1.327 Makeconfig --- Makeconfig 18 Aug 2008 09:42:17 -0000 1.327 +++ Makeconfig 22 Jan 2009 02:51:25 -0000 @@ -1,4 +1,4 @@ -# Copyright (C) 1991-2003,2004,2005,2006,2007,2008 +# Copyright (C) 1991-2003,2004,2005,2006,2007,2008,2009 # Free Software Foundation, Inc. # This file is part of the GNU C Library. @@ -794,7 +794,8 @@ # listing both its input files, and any header files that it may reference # (but no commands). %.v.i: $(common-objpfx)config.h - sed '/^[ ]*#/d;s/^[ ]*%/#/' $(filter-out FORCE %.h,$^) \ + sed 's/#.*$$//;s//^[ ]*$$/d;s/^[ ]*%/#/' \ + $(filter-out FORCE %.h,$^) \ | $(CC) -E -undef $(CPPFLAGS) -x assembler-with-cpp - \ > $@T mv -f $@T $@