3cdb79bdae
was "correct" by luck - we don't have any other file type whose S_IF* bits in sys/stat.h overlap with S_IFIFO. Originally discovered by Paul Stoeber in OpenBSD.