[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fix for compiling grep 2.5.1 on beos [PATCH]
From: |
Andrew Bachmann |
Subject: |
Re: fix for compiling grep 2.5.1 on beos [PATCH] |
Date: |
Wed, 30 Jul 2003 14:09:23 -0700 PDT |
On 30 Jul 2003 12:05:50 -0700 Paul Eggert <address@hidden> wrote:
> How about using coreutils's technique instead?
> It does something like this:
>
> #ifndef S_ISSOCK
> # ifdef S_IFSOCK
> # define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK)
> # else
> # define S_ISSOCK(m) 0
> # endif
> #endif
Hello,
BeOS doesn't have S_IFSOCK, so this would just turn into 0 I suppose.
It should work here. Either solution looks okay by me.
Andrew