Remove executable status info from typeIndicator.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9423 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2005-01-04 13:34:10 +00:00
parent 7b65e17539
commit ea2982a143
2 changed files with 1 additions and 2 deletions

View 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.

View 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 ' ';
}