stest: remove unneeded lstat - dmenu - Dmenu fork with xft fonts.
 (HTM) git clone git://r-36.net/dmenu
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit dcd6e771a1867353c14c46fc37e28d6d313cb3b1
 (DIR) parent 8cc28cb4265b0c088ea909e58f42342b2214722e
 (HTM) Author: Connor Lane Smith <cls@lubutu.com>
       Date:   Sun, 27 Nov 2011 23:37:01 +0100
       
       stest: remove unneeded lstat
       Diffstat:
         M stest.c                             |       3 +--
       
       1 file changed, 1 insertion(+), 2 deletions(-)
       ---
 (DIR) diff --git a/stest.c b/stest.c
       @@ -54,8 +54,7 @@ void
        test(const char *path, const char *name) {
                struct stat st, ln;
        
       -        if(!stat(path, &st) && !lstat(path, &ln)
       -        && ( FLAG('a') || name[0] != '.')                             /* hidden            */
       +        if(!stat(path, &st) && ( FLAG('a') || name[0] != '.')         /* hidden files      */
                && (!FLAG('b') || S_ISBLK(st.st_mode))                        /* block special     */
                && (!FLAG('c') || S_ISCHR(st.st_mode))                        /* character special */
                && (!FLAG('d') || S_ISDIR(st.st_mode))                        /* directory         */