* fs.h: Replace S_IFFIFO with S_IFIFO, which is the right name.

This commit is contained in:
Pavel Roskin 2002-09-06 00:52:35 +00:00
parent 5e9c0314a2
commit a36e7b7fad
2 changed files with 5 additions and 3 deletions

View File

@ -1,5 +1,7 @@
2002-09-05 Pavel Roskin <proski@gnu.org>
* 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

View File

@ -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