This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix up libstdc++ build breakage with ldbl-extra.ver


Il 28/02/2012 09:50, Jakub Jelinek ha scritto:
> -	$(EGREP) -v '#(#| |$$)' $@.tmp | \
> +	$(EGREP) -v '^[ 	]*#(#| |$$)' $@.tmp | \

I don't know this part very well, so I wonder why you have to remove
comments at all...  hence I wonder if sed 's/##.*//;s/# .*//;s/#$//'
(alternation is not portable in sed) would be closer to the original
intentions.

Anyhow, if the above change works it is surely ok for 4.7.0.

Paolo


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]