fix-header.c (read_scan_file): Update for add_path change.

2004-05-22  Eric Christopher  <echristo@redhat.com>

	* fix-header.c (read_scan_file): Update for add_path change.

From-SVN: r82127
This commit is contained in:
Eric Christopher 2004-05-22 08:55:53 +00:00
parent 2461ecbe6c
commit 0bc0f41de7
2 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2004-05-22 Eric Christopher <echristo@redhat.com>
* fix-header.c (read_scan_file): Update for add_path change.
2004-05-22 Ben Elliston <bje@au.ibm.com>
* 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):

View File

@ -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);