From: Ben Elliston Date: Thu, 24 Jan 2008 00:11:47 +0000 (+1100) Subject: Revert this patch, as it is not a regression. X-Git-Tag: releases/gcc-4.3.0~447 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a831a85585687cb573b9edeec7b4e9f2a418617f;p=thirdparty%2Fgcc.git Revert this patch, as it is not a regression. 2008-01-24 Ben Elliston PR other/22232 * fixproto: Escape "." in sed expression that strips leading "./". From-SVN: r131769 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9e3f404ed9b3..0b4e46f6d42f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,8 +1,3 @@ -2008-01-24 Ben Elliston - - PR other/22232 - * fixproto: Escape "." in sed expression that strips leading "./". - 2008-01-23 Hans-Peter Nilsson * config/cris/cris.h (CC1PLUS_SPEC, OPTIMIZATION_OPTIONS): Drop diff --git a/gcc/fixproto b/gcc/fixproto index d1a32bd43dcc..a12349e5d9e3 100755 --- a/gcc/fixproto +++ b/gcc/fixproto @@ -197,7 +197,7 @@ for code in ALL STD ; do fi fi # Append "/"; remove initial "./". Hence "." -> "" and "sys" -> "sys/". - rel_source_prefix=`echo $rel_source_subdir | sed -e 's|$|/|' -e 's|^\./||'` + rel_source_prefix=`echo $rel_source_subdir | sed -e 's|$|/|' -e 's|^./||'` case $code in ALL)