# HG changeset patch # User asl # Date 1055246638 0 # Node ID 3c7a4822ecde4236773f58371f3a262f5f10e2cb # Parent b3844239133afa44ea90fddbed382f4bb5f58fac * include/sys/stat.h: S_IFFIFO defies logic and should be called S_IFIFO! diff --git a/packages/isoinfra/current/ChangeLog b/packages/isoinfra/current/ChangeLog --- a/packages/isoinfra/current/ChangeLog +++ b/packages/isoinfra/current/ChangeLog @@ -1,3 +1,8 @@ +2003-06-10 Andrew Lunn + + * include/sys/stat.h: S_IFFIFO defies logic and should be called + S_IFIFO! + 2003-05-26 Andrew Lunn * include/sys/stat.h (S_IF*): Added macros to test the type of a diff --git a/packages/isoinfra/current/include/sys/stat.h b/packages/isoinfra/current/include/sys/stat.h --- 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 )