Remove FIFO support

develop
lethosor 2015-01-28 21:39:17 -05:00
parent f98e2964e6
commit daf739fcec
2 changed files with 0 additions and 5 deletions

@ -123,9 +123,6 @@ SOFTWARE.
#ifndef S_ISSOCK
#define S_ISSOCK(mode) (0)
#endif
#ifndef S_ISFIFO
#define S_ISFIFO(mode) (0)
#endif
#ifndef S_ISCHR
#define S_ISCHR(mode) (mode&_S_IFCHR)
#endif

@ -106,8 +106,6 @@ _filetype mode2type (mode_t mode) {
return FILETYPE_LINK;
else if (S_ISSOCK(mode))
return FILETYPE_SOCKET;
else if (S_ISFIFO(mode))
return FILETYPE_NAMEDPIPE;
else if (S_ISCHR(mode))
return FILETYPE_CHAR_DEVICE;
else if (S_ISBLK(mode))