* io/transfer.c (read_sf): Change bitwise "and" to logical "and".
authorDavid Edelsohn <edelsohn@gnu.org>
Mon, 13 Dec 2004 16:06:57 +0000 (16:06 +0000)
committerDavid Edelsohn <dje@gcc.gnu.org>
Mon, 13 Dec 2004 16:06:57 +0000 (11:06 -0500)
From-SVN: r92094

libgfortran/ChangeLog
libgfortran/io/transfer.c

index 9397aa9839d7ec3885caa852e4c2ae754fa382f6..0b4134c23ead51f1b82d5cb1f928f31f21933ab2 100644 (file)
@@ -1,3 +1,7 @@
+2004-12-13  David Edelsohn  <edelsohn@gnu.org>
+
+       * io/transfer.c (read_sf): Change bitwise "and" to logical "and".
+
 2004-12-12  Richard Henderson  <rth@redhat.com>
 
        * intrinsics/cshift0.c, intrinsics/eoshift0.c, intrinsics/eoshift2.c,
index 9822a76e9508f5287dd78f209f144d9d07e6ae2d..dc94154243def385abb360fb6af04a6064fa3413 100644 (file)
@@ -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;