]> Savannah Git Hosting - gnulib.git/commit
file-type: add support for doors and other less-common file types
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 5 Feb 2014 19:09:15 +0000 (11:09 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 5 Feb 2014 19:09:32 +0000 (11:09 -0800)
commit47f93b076d2083144591dcb7deedbda450085379
treee570ae69762f134f9dfe00e9b0d7dc3c1f435ed1
parentd9361da0718cea3ec6cbfd2b8c8368fde74ce06f
file-type: add support for doors and other less-common file types

Problem with S_ISDOOR reported by Rich Burridge.
* lib/file-type.c (file_type): Do S_ISLNK early too.  Do S_TYPEIS*
macros before the rest.  Add S_ISCTG, S_ISDOOR, S_ISMPB, S_ISMPC,
S_ISMPX, S_ISNAM, S_ISNWK, S_ISOFD, S_ISOFL, S_ISPORT, S_ISWHT.
ChangeLog
lib/file-type.c