From: Eric Christopher Date: Sat, 22 May 2004 08:55:53 +0000 (+0000) Subject: fix-header.c (read_scan_file): Update for add_path change. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0bc0f41de71d12f9209664eb35dfba0048d4998c;p=platform%2Fupstream%2Fgcc.git 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 --- 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);