gcov.c (create_file_names): Properly handle UNIX and DOS directory separators.
authorPascal Obry <obry@adacore.com>
Fri, 3 Oct 2008 12:49:38 +0000 (12:49 +0000)
committerOlivier Hainque <hainque@gcc.gnu.org>
Fri, 3 Oct 2008 12:49:38 +0000 (12:49 +0000)
commit2f07423c8c234c5a5739b1c26d37e4d52d539375
tree942aca1137183dcda1c3fc60f8db38532bc19c21
parentb268558f8adc09557d9f07818e6f1ac10134b9bf
gcov.c (create_file_names): Properly handle UNIX and DOS directory separators.

        * gcov.c (create_file_names): Properly handle UNIX and DOS
        directory separators.
        (make_gcov_file_name): Likewise + convert the ':' DOS drive
        separator to '~' to ensure clean filenames on Windows.

From-SVN: r140854
gcc/ChangeLog
gcc/gcov.c