]> granicus.if.org Git - graphviz/commitdiff
Fix bug 1383
authorerg <devnull@localhost>
Thu, 26 Jun 2008 02:10:50 +0000 (02:10 +0000)
committererg <devnull@localhost>
Thu, 26 Jun 2008 02:10:50 +0000 (02:10 +0000)
lib/sfio/sfhdr.h

index 846093ab8ef96e8918f27a8c01ccf900baacf8bc..9ca4a4f277f6aa3f160277d2f4556509e6041d77 100644 (file)
@@ -409,7 +409,7 @@ extern "C" {
 
 #ifndef S_ISFIFO
 #      ifdef S_IFIFO
-#              define S_ISFIFO(m)      (((m)&S_IFIFO) == S_IFIFO)
+#              define S_ISFIFO(m)      (((m)&S_IFMT) == S_IFIFO)
 #      else
 #              define S_ISFIFO(m)      (0)
 #      endif