[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gluster-devel] Bug in same_file_type()
From: |
Filipe Maia |
Subject: |
[Gluster-devel] Bug in same_file_type() |
Date: |
Thu, 22 Jan 2009 16:48:11 +0100 |
Hello again,
In 2.0.0rc1 there is a type in the same_file_type() function, and also
no support for UNIX sockets.
Here's the patch:
--- posix.c.old 2009-01-22 13:56:12.240486670 +0100
+++ posix.c 2009-01-22 16:42:07.977578632 +0100
@@ -2815,7 +2815,8 @@
|| (S_ISLNK(m1) && S_ISLNK(m2))
|| (S_ISBLK(m1) && S_ISBLK(m2))
|| (S_ISCHR(m1) && S_ISCHR(m2))
- || (S_ISFIFO(m1) && S_ISCHR(m2));
+ || (S_ISFIFO(m1) && S_ISFIFO(m2))
+ || (S_ISSOCK(m1) && S_ISSOCK(m2));
}
static int
Filipe
- [Gluster-devel] Bug in same_file_type(),
Filipe Maia <=