1.1 --- a/program.c Wed Nov 06 17:52:12 2019 +0100
1.2 +++ b/program.c Thu Nov 07 17:44:50 2019 +0100
1.3 @@ -128,7 +128,7 @@
1.4
1.5 void begin_compound_output(void)
1.6 {
1.7 - char *common_dirname = output_dir != NULL ? output_dir : ".";
1.8 + char *compound_dirname = output_dir != NULL ? output_dir : ".";
1.9 char *s;
1.10
1.11 if (output_compound == NULL)
1.12 @@ -139,7 +139,7 @@
1.13 if (output_headers)
1.14 {
1.15 compound_dispatch_header_fp = get_output_file(compound_dispatch_header_filename,
1.16 - common_dirname, output_compound);
1.17 + compound_dirname, output_compound);
1.18 if (compound_dispatch_header_fp == NULL)
1.19 goto fail;
1.20 }
1.21 @@ -147,12 +147,12 @@
1.22 if (output_interfaces)
1.23 {
1.24 compound_interface_fp = get_output_file(compound_interface_filename,
1.25 - common_dirname, output_compound);
1.26 + compound_dirname, output_compound);
1.27 if (compound_interface_fp == NULL)
1.28 goto fail;
1.29
1.30 compound_interfaces_fp = get_output_file(compound_interfaces_filename,
1.31 - common_dirname, output_compound);
1.32 + compound_dirname, output_compound);
1.33 if (compound_interfaces_fp == NULL)
1.34 goto fail;
1.35 }
1.36 @@ -161,7 +161,7 @@
1.37 {
1.38 s = (output_language == CPP_LANGUAGE) ? compound_dispatch_filename_cpp :
1.39 compound_dispatch_filename_c;
1.40 - compound_dispatch_fp = get_output_file(s, common_dirname, output_compound);
1.41 + compound_dispatch_fp = get_output_file(s, compound_dirname, output_compound);
1.42 if (compound_dispatch_fp == NULL)
1.43 goto fail;
1.44 }