gluster-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gluster-devel] Bug in same_file_type()


From: Anand Avati
Subject: Re: [Gluster-devel] Bug in same_file_type()
Date: Thu, 22 Jan 2009 23:12:55 +0530

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 <address@hidden> 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
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/gluster-devel
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]