diff options
author | David Edelsohn <edelsohn@gnu.org> | 2004-12-13 16:06:57 +0000 |
---|---|---|
committer | David Edelsohn <dje@gcc.gnu.org> | 2004-12-13 11:06:57 -0500 |
commit | 681b5028d9fe3ecfd7002d43c4d904243fcf2d25 (patch) | |
tree | e2bac9465f6fb71a028af9ed18ec22aafecaa5a4 /libgfortran/io | |
parent | 18faa5da7d9ac1cbf64a909c622999c81585da4a (diff) | |
download | gcc-681b5028d9fe3ecfd7002d43c4d904243fcf2d25.zip gcc-681b5028d9fe3ecfd7002d43c4d904243fcf2d25.tar.gz gcc-681b5028d9fe3ecfd7002d43c4d904243fcf2d25.tar.bz2 |
* io/transfer.c (read_sf): Change bitwise "and" to logical "and".
From-SVN: r92094
Diffstat (limited to 'libgfortran/io')
-rw-r--r-- | libgfortran/io/transfer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgfortran/io/transfer.c b/libgfortran/io/transfer.c index 9822a76..dc94154 100644 --- a/libgfortran/io/transfer.c +++ b/libgfortran/io/transfer.c @@ -162,7 +162,7 @@ read_sf (int *length) /* If we have a line without a terminating \n, drop through to EOR below. */ - if (readlen < 1 & n == 0) + if (readlen < 1 && n == 0) { generate_error (ERROR_END, NULL); return NULL; |