K 10 svn:author V 4 paul K 8 svn:date V 27 2001-06-04T03:39:14.000000Z K 7 svn:log V 132 S_IFCHR is not a bit mask, it's just a value in a field. The correct way to clear that field is to use S_IFMT. Pointed out by BDE. END