summaryrefslogtreecommitdiffstats
path: root/color.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2016-10-02 16:30:10 -0400
committerTavian Barnes <tavianator@tavianator.com>2016-10-02 16:30:10 -0400
commitb2175be362b0a32d06d98369302d55b226b58ab1 (patch)
treefed6309efab2967279265a990637c38bffa33cc1 /color.c
parent34fa233c66d6595e168fe114655857f14accfa3a (diff)
downloadbfs-b2175be362b0a32d06d98369302d55b226b58ab1.tar.xz
bftw: Add support for some exotic file types, where available.
Diffstat (limited to 'color.c')
-rw-r--r--color.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/color.c b/color.c
index 47c2fb3..6e0902b 100644
--- a/color.c
+++ b/color.c
@@ -302,6 +302,12 @@ static const char *file_color(const struct colors *colors, const char *filename,
case S_IFSOCK:
color = colors->socket;
break;
+
+#ifdef S_IFDOOR
+ case S_IFDOOR:
+ color = colors->door;
+ break;
+#endif
}
if (!color) {