This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
S_IFFIFO -> IF_IFIFO
- From: Andrew Lunn <andrew dot lunn at ascom dot ch>
- To: eCos Patches <ecos-patches at sources dot redhat dot com>
- Date: Tue, 10 Jun 2003 14:03:11 +0200
- Subject: S_IFFIFO -> IF_IFIFO
In sys/stat.h, S_IFFIFO should be S_IFIFO, even though it does not fit
the pattern.
Andrew
Index: packages/isoinfra/current//ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/isoinfra/current/ChangeLog,v
retrieving revision 1.21
diff -u -r1.21 ChangeLog
--- packages/isoinfra/current//ChangeLog 26 May 2003 14:03:05 -0000 1.21
+++ packages/isoinfra/current//ChangeLog 10 Jun 2003 12:02:11 -0000
@@ -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
Index: packages/isoinfra/current//include/sys/stat.h
===================================================================
RCS file: /cvs/ecos/ecos/packages/isoinfra/current/include/sys/stat.h,v
retrieving revision 1.4
diff -u -r1.4 stat.h
--- packages/isoinfra/current//include/sys/stat.h 26 May 2003 14:03:06 -0000 1.4
+++ packages/isoinfra/current//include/sys/stat.h 10 Jun 2003 12:02:11 -0000
@@ -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 )