diff options
author | Ben Elliston <bje@au.ibm.com> | 2005-07-13 21:58:54 +0000 |
---|---|---|
committer | Ben Elliston <bje@gcc.gnu.org> | 2005-07-14 07:58:54 +1000 |
commit | 9ef0b1bd660d058f217b0fba7cc7f6164e9dc569 (patch) | |
tree | 7ac5dc21f1bb6e9cb6a849249acd3205a864a77a /gcc/gcc.c | |
parent | 134c8167c4fef56481d1b678605095875d908912 (diff) | |
download | gcc-9ef0b1bd660d058f217b0fba7cc7f6164e9dc569.tar.gz |
gcc.c (main): Compare language[0] with '*' when iterating over the infiles.
* gcc.c (main): Compare language[0] with '*' when iterating over
the infiles.
From-SVN: r101993
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r-- | gcc/gcc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c index e3b8b496c46..5317516165c 100644 --- a/gcc/gcc.c +++ b/gcc/gcc.c @@ -6569,7 +6569,7 @@ main (int argc, const char **argv) int i; for (i = 0; i < n_infiles ; i++) - if (infiles[i].language && infiles[i].language != '*') + if (infiles[i].language && infiles[i].language[0] != '*') { set_input (infiles[i].name); break; |