[taken from gcc-2.95.3-latest-cvs]

fix bug with error-file not being noted in one case.


git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@9593 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Oliver Tappe 2004-10-28 18:22:55 +00:00
parent d9bb2c14a8
commit 48228ca39b

View File

@ -5040,9 +5040,13 @@ main (argc, argv)
int len;
if (cp->spec[0][0] == '#')
{
error ("%s: %s compiler not installed on this system",
input_filename, &cp->spec[0][1]);
this_file_error = 1;
}
else
{
input_basename = input_filename;
for (p = input_filename; *p; p++)
if (IS_DIR_SEPARATOR (*p))
@ -5082,6 +5086,7 @@ main (argc, argv)
}
if (value < 0)
this_file_error = 1;
}
}
/* If this file's name does not contain a recognized suffix,