| To: | linux-xfs@xxxxxxxxxxx |
|---|---|
| Subject: | [PATCH] EXCLUDED_FILE_TYPES: Fix macro for negation case. |
| From: | Arkadiusz Miskiewicz <arekm@xxxxxxxx> |
| Date: | Tue, 16 Dec 2008 21:08:21 +0100 |
| Cc: | Arkadiusz Miskiewicz <arekm@xxxxxxxx> |
Fix EXCLUDED_FILE_TYPES in case when someone will
try to do if (!EXCLUDED_FILE_TYPES()).
---
xfsprogs/quota/project.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/xfsprogs/quota/project.c b/xfsprogs/quota/project.c
index 7eac8e4..b4171e5 100644
--- a/xfsprogs/quota/project.c
+++ b/xfsprogs/quota/project.c
@@ -31,11 +31,11 @@ enum {
};
#define EXCLUDED_FILE_TYPES(x) \
- S_ISCHR((x)) \
+ (S_ISCHR((x)) \
|| S_ISBLK((x)) \
|| S_ISFIFO((x)) \
|| S_ISLNK((x)) \
- || S_ISSOCK((x))
+ || S_ISSOCK((x)))
static void
project_help(void)
--
1.6.0.5
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Yo! PR: Get Familiar With Supastar LT, Clinton Sparks' New Artist, Yo! Raps |
|---|---|
| Next by Date: | [PATCH] build system: Make --enable-gettext actually enable gettext., Arkadiusz Miskiewicz |
| Previous by Thread: | Yo! PR: Get Familiar With Supastar LT, Clinton Sparks' New Artist, Yo! Raps |
| Next by Thread: | [PATCH] build system: Make --enable-gettext actually enable gettext., Arkadiusz Miskiewicz |
| Indexes: | [Date] [Thread] [Top] [All Lists] |