mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
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:
parent
7b65e17539
commit
ea2982a143
@ -4,6 +4,7 @@
|
|||||||
the stored file name as it breaks Window's version of stat().
|
the stored file name as it breaks Window's version of stat().
|
||||||
(isLink): protect the code with #ifdef S_ISLNK.
|
(isLink): protect the code with #ifdef S_ISLNK.
|
||||||
(dostat): protect the code with #ifdef HAVE_LSTAT.
|
(dostat): protect the code with #ifdef HAVE_LSTAT.
|
||||||
|
(typeIndicator): remove code testing the file's executable status.
|
||||||
|
|
||||||
* filetools.C (LyXReadLink): protect the code with
|
* filetools.C (LyXReadLink): protect the code with
|
||||||
#ifdef HAVE_READLINK.
|
#ifdef HAVE_READLINK.
|
||||||
|
@ -239,8 +239,6 @@ char FileInfo::typeIndicator() const
|
|||||||
if (S_ISSOCK(buf_.st_mode))
|
if (S_ISSOCK(buf_.st_mode))
|
||||||
return '=';
|
return '=';
|
||||||
#endif
|
#endif
|
||||||
if (S_ISREG(buf_.st_mode) && (buf_.st_mode & (S_IEXEC | S_IXGRP | S_IXOTH)))
|
|
||||||
return '*';
|
|
||||||
return ' ';
|
return ' ';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user