diff --git a/src/support/ChangeLog b/src/support/ChangeLog index 61b0b146da..b6dd5c5dd8 100644 --- a/src/support/ChangeLog +++ b/src/support/ChangeLog @@ -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. diff --git a/src/support/FileInfo.C b/src/support/FileInfo.C index 342e5e92d4..0ac92ed87a 100644 --- a/src/support/FileInfo.C +++ b/src/support/FileInfo.C @@ -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 ' '; }