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
|
@ -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>
|
2012-10-13 Jan Hubicka <jh@suse.cz>
|
||||||
|
|
||||||
* loop-iv.c (determine_max_iter): Fix handling of AND.
|
* loop-iv.c (determine_max_iter): Fix handling of AND.
|
||||||
|
|
|
@ -842,7 +842,7 @@ create_file_names (const char *file_name)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Remove the extension. */
|
/* Remove the extension. */
|
||||||
cptr = strrchr (name, '.');
|
cptr = strrchr (CONST_CAST (char *, lbasename (name)), '.');
|
||||||
if (cptr)
|
if (cptr)
|
||||||
*cptr = 0;
|
*cptr = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue