OSDN Git Service

Revert this patch, as it is not a regression.
authorbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 24 Jan 2008 00:11:47 +0000 (00:11 +0000)
committerbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 24 Jan 2008 00:11:47 +0000 (00:11 +0000)
2008-01-24  Ben Elliston  <bje@au.ibm.com>

PR other/22232
* fixproto: Escape "." in sed expression that strips leading "./".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131769 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/fixproto

index 9e3f404..0b4e46f 100644 (file)
@@ -1,8 +1,3 @@
-2008-01-24  Ben Elliston  <bje@au.ibm.com>
-
-       PR other/22232
-       * fixproto: Escape "." in sed expression that strips leading "./".
-
 2008-01-23  Hans-Peter Nilsson  <hp@axis.com>
 
        * config/cris/cris.h (CC1PLUS_SPEC, OPTIMIZATION_OPTIONS): Drop
index d1a32bd..a12349e 100755 (executable)
@@ -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)