public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
From: Roland McGrath <roland@redhat.com>
To: Andreas Schwab <schwab@suse.de>
Cc: libc-hacker@sourceware.org
Subject: Re: Fix version map sorting
Date: Thu, 22 Jan 2009 02:52:00 -0000	[thread overview]
Message-ID: <20090122025201.6FC88FC3C7@magilla.sf.frob.com> (raw)
In-Reply-To: Andreas Schwab's message of  Thursday, 22 January 2009 01:00:43 +0100 <jeljt45hw4.fsf@sykes.suse.de>

Does this instead work for you?

Thanks,
Roland


2009-01-21  Roland McGrath  <roland@redhat.com>

	* 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 $@

  reply	other threads:[~2009-01-22  2:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-22  0:01 Andreas Schwab
2009-01-22  2:52 ` Roland McGrath [this message]
2009-01-22  9:47   ` Andreas Schwab
2009-01-22  9:49     ` Roland McGrath
2009-01-22 10:28       ` Andreas Schwab
2009-01-22 13:01         ` Andreas Schwab
2009-01-22 20:38           ` Roland McGrath

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090122025201.6FC88FC3C7@magilla.sf.frob.com \
    --to=roland@redhat.com \
    --cc=libc-hacker@sourceware.org \
    --cc=schwab@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).