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
This commit is contained in:
parent
43ffba00cb
commit
258ef00780
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2012-10-13 Andreas Schwab <schwab@linux-m68k.org>
|
||||
|
||||
PR gcov-profile/44728
|
||||
* gcov.c (create_file_names): When stripping extension only look
|
||||
at base name.
|
||||
|
||||
2012-10-13 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
* loop-iv.c (determine_max_iter): Fix handling of AND.
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue