As discussed already. Committing now.

-- 
Angus
Index: src/support/ChangeLog
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/support/ChangeLog,v
retrieving revision 1.149.2.21
diff -u -p -r1.149.2.21 ChangeLog
--- src/support/ChangeLog	4 Jan 2005 13:24:52 -0000	1.149.2.21
+++ src/support/ChangeLog	4 Jan 2005 13:28:18 -0000
@@ -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: src/support/FileInfo.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/support/FileInfo.C,v
retrieving revision 1.18.2.3
diff -u -p -r1.18.2.3 FileInfo.C
--- src/support/FileInfo.C	4 Jan 2005 13:24:52 -0000	1.18.2.3
+++ src/support/FileInfo.C	4 Jan 2005 13:28:19 -0000
@@ -232,8 +232,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 ' ';
 }
 
Index: src/support/ChangeLog
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/support/ChangeLog,v
retrieving revision 1.291
diff -u -p -r1.291 ChangeLog
--- src/support/ChangeLog	4 Jan 2005 13:24:56 -0000	1.291
+++ src/support/ChangeLog	4 Jan 2005 13:28:15 -0000
@@ -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: src/support/FileInfo.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/support/FileInfo.C,v
retrieving revision 1.26
diff -u -p -r1.26 FileInfo.C
--- src/support/FileInfo.C	4 Jan 2005 13:24:56 -0000	1.26
+++ src/support/FileInfo.C	4 Jan 2005 13:28:15 -0000
@@ -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 ' ';
 }
 

Reply via email to