aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rwxr-xr-xgcc/fixproto2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0b4e46f..9e3f404 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+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
diff --git a/gcc/fixproto b/gcc/fixproto
index a12349e..d1a32bd 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)