From: Ben Elliston Date: Thu, 24 Jan 2008 20:52:56 +0000 (+0000) Subject: Committed with RM approval this time. X-Git-Tag: releases/gcc-4.3.0~420 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae7a8ebc899c56617cd370ec3910d3e7702ba37e;p=thirdparty%2Fgcc.git Committed with RM approval this time. PR other/22232 * fixproto: Escape "." in sed expression that strips leading "./". From-SVN: r131809 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 40a5823dd7dd..f24d973d0fa4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2008-01-25 Ben Elliston + + PR other/22232 + * fixproto: Escape "." in sed expression that strips leading "./". + 2008-01-24 H.J. Lu PR driver/34904 diff --git a/gcc/fixproto b/gcc/fixproto index a12349e5d9e3..d1a32bd43dcc 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)