The 'basename' implementation can vary with the host platform (e.g. POSIX
c.f. Linux). This is the only current uses of basename() in the source
so convert them to use lbasename() as most other cases do.
gcc/ChangeLog:
* gcov.cc (get_gcov_intermediate_filename): Use lbasename().
Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
static string
get_gcov_intermediate_filename (const char *input_file_name)
{
- string base = basename (input_file_name);
+ string base = lbasename (input_file_name);
string str = strip_extention (base);
if (flag_hash_filenames)