changeset 1047:3c7a4822ecde

* include/sys/stat.h: S_IFFIFO defies logic and should be called S_IFIFO!
author asl
date Tue, 10 Jun 2003 12:03:58 +0000
parents b3844239133a
children 4d9dfbffc2d1
files packages/isoinfra/current/ChangeLog packages/isoinfra/current/include/sys/stat.h
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/packages/isoinfra/current/ChangeLog
+++ b/packages/isoinfra/current/ChangeLog
@@ -1,3 +1,8 @@
+2003-06-10  Andrew Lunn  <andrew.lunn@ascom.ch>
+
+	* include/sys/stat.h: S_IFFIFO defies logic and should be called
+	S_IFIFO!
+
 2003-05-26  Andrew Lunn  <andrew.lunn@ascom.ch>
 
 	* include/sys/stat.h (S_IF*): Added macros to test the type of a
--- a/packages/isoinfra/current/include/sys/stat.h
+++ b/packages/isoinfra/current/include/sys/stat.h
@@ -85,11 +85,11 @@
 #define S_IFCHR          (__stat_mode_CHR)
 #define S_IFBLK          (__stat_mode_BLK)
 #define S_IFREG          (__stat_mode_REG)
-#define S_IFFIFO         (__stat_mode_FIFO)
+#define S_IFIFO          (__stat_mode_FIFO)
 #define S_IFLNK          (__stat_mode_LNK)
 #define S_IFSOCK         (__stat_mode_SOCK)
 #define S_IFMT           (S_IFDIR|S_IFCHR|S_IFBLK|S_IFREG| \
-                          S_IFFIFO|S_IFLNK|S_IFSOCK)
+                          S_IFIFO|S_IFLNK|S_IFSOCK)
 #endif
 
 #define S_ISDIR(__mode)  ((__mode) & __stat_mode_DIR )