]> git.cameronkatri.com Git - cgit.git/blobdiff - html.c
Makefile: add support for building w.o. preinstalled git
[cgit.git] / html.c
diff --git a/html.c b/html.c
index c0b2ed48317957c6ce9c337542ac89c89ea88206..175b4b687efb75d443b847738775a1de92e97cf6 100644 (file)
--- a/html.c
+++ b/html.c
@@ -158,10 +158,11 @@ void html_filemode(unsigned short mode)
                html("d");
        else if (S_ISLNK(mode))
                html("l");
+       else if (S_ISDIRLNK(mode))
+               html("m");
        else
                html("-");
        html_fileperm(mode >> 6);
        html_fileperm(mode >> 3);
        html_fileperm(mode);
 }
-