mirror of
https://review.haiku-os.org/buildtools
synced 2025-01-19 04:48:37 +01:00
[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:
parent
d9bb2c14a8
commit
48228ca39b
@ -5040,9 +5040,13 @@ main (argc, argv)
|
|||||||
int len;
|
int len;
|
||||||
|
|
||||||
if (cp->spec[0][0] == '#')
|
if (cp->spec[0][0] == '#')
|
||||||
|
{
|
||||||
error ("%s: %s compiler not installed on this system",
|
error ("%s: %s compiler not installed on this system",
|
||||||
input_filename, &cp->spec[0][1]);
|
input_filename, &cp->spec[0][1]);
|
||||||
|
this_file_error = 1;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
input_basename = input_filename;
|
input_basename = input_filename;
|
||||||
for (p = input_filename; *p; p++)
|
for (p = input_filename; *p; p++)
|
||||||
if (IS_DIR_SEPARATOR (*p))
|
if (IS_DIR_SEPARATOR (*p))
|
||||||
@ -5082,6 +5086,7 @@ main (argc, argv)
|
|||||||
}
|
}
|
||||||
if (value < 0)
|
if (value < 0)
|
||||||
this_file_error = 1;
|
this_file_error = 1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* If this file's name does not contain a recognized suffix,
|
/* If this file's name does not contain a recognized suffix,
|
||||||
|
Loading…
Reference in New Issue
Block a user