diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2012-10-13 18:41:08 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@gcc.gnu.org> | 2012-10-13 18:41:08 +0000 |
commit | 258ef00780344ea3565b3276a60343529e94acc3 (patch) | |
tree | 8dcd4f8eaed6078903399208e1a322353099d0fc /gcc/gcov.c | |
parent | 43ffba00cb5ebe8498daa5431f08d329fc62080b (diff) | |
download | gcc-258ef00780344ea3565b3276a60343529e94acc3.zip gcc-258ef00780344ea3565b3276a60343529e94acc3.tar.gz gcc-258ef00780344ea3565b3276a60343529e94acc3.tar.bz2 |
re PR gcov-profile/44728 (gcov chokes when "." is present in DIR argument to -o flag)
PR gcov-profile/44728
* gcov.c (create_file_names): When stripping extension only look
at base name.
From-SVN: r192425
Diffstat (limited to 'gcc/gcov.c')
-rw-r--r-- | gcc/gcov.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -842,7 +842,7 @@ create_file_names (const char *file_name) } /* Remove the extension. */ - cptr = strrchr (name, '.'); + cptr = strrchr (CONST_CAST (char *, lbasename (name)), '.'); if (cptr) *cptr = 0; |