summaryrefslogtreecommitdiffstats
path: root/Src/Modules
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-10-06 14:15:41 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-10-06 14:15:41 +0000
commite934b0f1d7b05514ee571802f40c7d0d6751ab2f (patch)
tree1785889c86e634227a5471e690bb8a1c0f4c469d /Src/Modules
parentzsh-workers/8129 (diff)
downloadzsh-e934b0f1d7b05514ee571802f40c7d0d6751ab2f.tar
zsh-e934b0f1d7b05514ee571802f40c7d0d6751ab2f.tar.gz
zsh-e934b0f1d7b05514ee571802f40c7d0d6751ab2f.tar.bz2
zsh-e934b0f1d7b05514ee571802f40c7d0d6751ab2f.tar.lz
zsh-e934b0f1d7b05514ee571802f40c7d0d6751ab2f.tar.xz
zsh-e934b0f1d7b05514ee571802f40c7d0d6751ab2f.tar.zst
zsh-e934b0f1d7b05514ee571802f40c7d0d6751ab2f.zip
manual/8137
Diffstat (limited to 'Src/Modules')
-rw-r--r--Src/Modules/stat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Src/Modules/stat.c b/Src/Modules/stat.c
index d8179143e..b6fa702a8 100644
--- a/Src/Modules/stat.c
+++ b/Src/Modules/stat.c
@@ -66,6 +66,8 @@ statmodeprint(mode_t mode, char *outbuf, int flags)
*pm = 'c';
else if (S_ISDIR(mode))
*pm = 'd';
+ else if (S_ISDOOR(mode))
+ *pm = 'D';
else if (S_ISFIFO(mode))
*pm = 'p';
else if (S_ISLNK(mode))