From ae7a8ebc899c56617cd370ec3910d3e7702ba37e Mon Sep 17 00:00:00 2001 From: Ben Elliston Date: Thu, 24 Jan 2008 20:52:56 +0000 Subject: [PATCH] Committed with RM approval this time. PR other/22232 * fixproto: Escape "." in sed expression that strips leading "./". From-SVN: r131809 --- gcc/ChangeLog | 5 +++++ gcc/fixproto | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 40a5823dd7d..f24d973d0fa 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 a12349e5d9e..d1a32bd43dc 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)