]> git.lyx.org Git - features.git/commitdiff
Remove executable status info from typeIndicator.
authorAngus Leeming <leeming@lyx.org>
Tue, 4 Jan 2005 13:34:10 +0000 (13:34 +0000)
committerAngus Leeming <leeming@lyx.org>
Tue, 4 Jan 2005 13:34:10 +0000 (13:34 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9423 a592a061-630c-0410-9148-cb99ea01b6c8

src/support/ChangeLog
src/support/FileInfo.C

index 61b0b146da412e98295184defd4a806877f729d8..b6dd5c5dd8424c2ba28936a7841c0533c93e5609 100644 (file)
@@ -4,6 +4,7 @@
        the stored file name as it breaks Window's version of stat().
        (isLink): protect the code with #ifdef S_ISLNK.
        (dostat): protect the code with #ifdef HAVE_LSTAT.
+       (typeIndicator): remove code testing the file's executable status.
 
        * filetools.C (LyXReadLink): protect the code with
        #ifdef HAVE_READLINK.
index 342e5e92d4082985137219fdc4b299c6a35a4d7d..0ac92ed87adfe9a9716b3baa0e23a7799eabb3f4 100644 (file)
@@ -239,8 +239,6 @@ char FileInfo::typeIndicator() const
        if (S_ISSOCK(buf_.st_mode))
                return '=';
 #endif
-       if (S_ISREG(buf_.st_mode) && (buf_.st_mode & (S_IEXEC | S_IXGRP | S_IXOTH)))
-               return '*';
        return ' ';
 }