File tree 1 file changed +8
-4
lines changed 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -501,8 +501,10 @@ std::string dump_symbol_table_symbols_in_html(
501
501
std::placeholders::_1,
502
502
std::cref (output_directory));
503
503
504
- std::string irep_dump_fname=get_unique_name (
505
- as_string (symbol.name )+" __TYPE" , exists_checker)+" .txt" ;
504
+ std::string irep_dump_fname =
505
+ get_unique_name (
506
+ make_valid_filename (as_string (symbol.name ) + " __TYPE" , 15 ),
507
+ exists_checker) + " .txt" ;
506
508
{
507
509
std::fstream irep_out (
508
510
(boost::filesystem::path (output_directory) / irep_dump_fname).native (),
@@ -521,8 +523,10 @@ std::string dump_symbol_table_symbols_in_html(
521
523
ostr << " </tr>\n " ;
522
524
ostr << " <tr>\n " ;
523
525
524
- irep_dump_fname=get_unique_name (
525
- as_string (symbol.name )+" __INIT" , exists_checker)+" .txt" ;
526
+ irep_dump_fname =
527
+ get_unique_name (
528
+ make_valid_filename (as_string (symbol.name )+" __INIT" , 15 ),
529
+ exists_checker) + " .txt" ;
526
530
{
527
531
std::fstream irep_out (
528
532
(boost::filesystem::path (output_directory) / irep_dump_fname).native (),
You can’t perform that action at this time.
0 commit comments