]> granicus.if.org Git - graphviz/commitdiff
Corrected name of HAVE_FILE_R macro in lefty
authorMagnus Jacobsson <magnus.jacobsson@berotec.se>
Tue, 8 Sep 2020 18:26:18 +0000 (20:26 +0200)
committerMagnus Jacobsson <magnus.jacobsson@berotec.se>
Fri, 11 Sep 2020 06:01:42 +0000 (08:01 +0200)
Changing it to HAVE_R_IN_FILE was clearly a mistake in commit
070479236d25977cde7d8306635695af2fb7c203.

From what I can tell this currectly does not affect anything.

cmd/lefty/lefty.c

index 08b922735a8611b6fc29e8d5a895a14acb7bc342..0b3a0edd2799254787de8174ca7fb27e596d0f85 100644 (file)
@@ -53,7 +53,7 @@
 #    if HAVE_FILE_IO_READ_END
 #    define canread(f) ((f)->_IO_read_end>(f)->_IO_read_ptr)
 #    else
-#      if HAVE_R_IN_FILE
+#      if HAVE_FILE_R
 #      define canread(f) ((f)->_r>0)
 #      else
 #      define canread(f) (1)