summaryrefslogtreecommitdiffstats
path: root/parse.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 /parse.c
parent34fa233c66d6595e168fe114655857f14accfa3a (diff)
downloadbfs-b2175be362b0a32d06d98369302d55b226b58ab1.tar.xz
bftw: Add support for some exotic file types, where available.
Diffstat (limited to 'parse.c')
-rw-r--r--parse.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/parse.c b/parse.c
index 6a4dfc6..5761dc3 100644
--- a/parse.c
+++ b/parse.c
@@ -1327,6 +1327,9 @@ static struct expr *parse_type(struct parser_state *state, int x, int arg2) {
case 'd':
typeflag = BFTW_DIR;
break;
+ case 'D':
+ typeflag = BFTW_DOOR;
+ break;
case 'p':
typeflag = BFTW_FIFO;
break;