From a36e7b7fad56f2bf1cd5ebd39aceefc8f368f61d Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Fri, 6 Sep 2002 00:52:35 +0000 Subject: [PATCH] * fs.h: Replace S_IFFIFO with S_IFIFO, which is the right name. --- src/ChangeLog | 2 ++ src/fs.h | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index aa56eaa21..6de785d91 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2002-09-05 Pavel Roskin + * fs.h: Replace S_IFFIFO with S_IFIFO, which is the right name. + * fs.h: Correct S_IS* definitions to use S_IFMT. Add fallback definitions for S_IFDOOR and S_ISDOOR. * screen.c (string_file_type): Remove unnesessary ifdefs, fs.h diff --git a/src/fs.h b/src/fs.h index 9bada01ee..17d597f32 100644 --- a/src/fs.h +++ b/src/fs.h @@ -27,12 +27,12 @@ # define S_ISSOCK(x) (((x) & S_IFMT) == S_IFSOCK) #endif -#ifndef S_IFFIFO -# define S_IFFIFO 0 +#ifndef S_IFIFO +# define S_IFIFO 0 #endif #ifndef S_ISFIFO -# define S_ISFIFO(x) (((x) & S_IFMT) == S_IFFIFO) +# define S_ISFIFO(x) (((x) & S_IFMT) == S_IFIFO) #endif #ifndef S_IFCHR