summaryrefslogtreecommitdiff
path: root/gcc/fixproto
diff options
context:
space:
mode:
authorbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>2008-01-24 00:11:47 +0000
committerbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>2008-01-24 00:11:47 +0000
commit000a9bbf1ed261163c602f5ee8f3725db647a843 (patch)
treec5724340e6d582282ffea2d456a266bb7efcdf72 /gcc/fixproto
parentb46b9e8f5715040449a51333bbd899d7571e8bfc (diff)
downloadgcc-000a9bbf1ed261163c602f5ee8f3725db647a843.tar.gz
Revert this patch, as it is not a regression.
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
Diffstat (limited to 'gcc/fixproto')
-rwxr-xr-xgcc/fixproto2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fixproto b/gcc/fixproto
index d1a32bd43dc..a12349e5d9e 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)