diff options
author | Ben Elliston <bje@gcc.gnu.org> | 2008-01-24 11:11:47 +1100 |
---|---|---|
committer | Ben Elliston <bje@gcc.gnu.org> | 2008-01-24 11:11:47 +1100 |
commit | a831a85585687cb573b9edeec7b4e9f2a418617f (patch) | |
tree | c5724340e6d582282ffea2d456a266bb7efcdf72 /gcc | |
parent | c67bfa31ef610142d0c922ec0a8de08ef3a89f08 (diff) | |
download | gcc-a831a85585687cb573b9edeec7b4e9f2a418617f.zip gcc-a831a85585687cb573b9edeec7b4e9f2a418617f.tar.gz gcc-a831a85585687cb573b9edeec7b4e9f2a418617f.tar.bz2 |
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 "./".
From-SVN: r131769
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rwxr-xr-x | gcc/fixproto | 2 |
2 files changed, 1 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9e3f404..0b4e46f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/fixproto b/gcc/fixproto index d1a32bd..a12349e 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) |