Filipe, You are right in identifying the problem. But I committed a slightly more compact version. Thanks! avati On Thu, Jan 22, 2009 at 9:18 PM, Filipe Maia <filipe@xxxxxxxxxxxxxx> wrote: > 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 mailing list > Gluster-devel@xxxxxxxxxx > http://lists.nongnu.org/mailman/listinfo/gluster-devel >