From 0bc0f41de71d12f9209664eb35dfba0048d4998c Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Sat, 22 May 2004 08:55:53 +0000 Subject: [PATCH] fix-header.c (read_scan_file): Update for add_path change. 2004-05-22 Eric Christopher * fix-header.c (read_scan_file): Update for add_path change. From-SVN: r82127 --- gcc/ChangeLog | 6 +++++- gcc/fix-header.c | 6 +++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9de23e4..3c455e6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2004-05-22 Eric Christopher + + * fix-header.c (read_scan_file): Update for add_path change. + 2004-05-22 Ben Elliston * c.opt (Wmissing-include-dirs): New. @@ -61,7 +65,7 @@ make_bit_field_ref, optimize_bit_field_compare, decode_field_reference, range_binop, make_range, build_range_check, fold_range_test, fold_truthop, - optimize_minmax_comparison, extract_muldiv_1, + optimize_minmax_comparison, extract_muldiv_1, fold_binary_op_with_conditional_arg, fold_mathfn_compare, fold_inf_compare, fold_single_bit_test, fold, fold_relational_hi_lo, nondestructive_fold_binary_to_constant): diff --git a/gcc/fix-header.c b/gcc/fix-header.c index a445ff2..5e2e7bb 100644 --- a/gcc/fix-header.c +++ b/gcc/fix-header.c @@ -634,12 +634,12 @@ read_scan_file (char *in_fname, int argc, char **argv) if (argv[i][2] != '\0') { strings_processed = 1; - add_path (xstrdup (argv[i] + 2), BRACKET, false); + add_path (xstrdup (argv[i] + 2), BRACKET, false, false); } else if (i + 1 != argc) { strings_processed = 2; - add_path (xstrdup (argv[i + 1]), BRACKET, false); + add_path (xstrdup (argv[i + 1]), BRACKET, false, false); } } else if (argv[i][1] == 'D') @@ -1317,7 +1317,7 @@ static void fatal (const char *str, ...) { va_list ap; - + va_start (ap, str); v_fatal (str, ap); va_end (ap); -- 2.7.4