[GRASS-SVN] r50626 - grass/branches/releasebranch_6_4/lib/db/dbmi_base

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Feb 2 06:53:40 EST 2012


Author: martinl
Date: 2012-02-02 03:53:40 -0800 (Thu, 02 Feb 2012)
New Revision: 50626

Modified:
   grass/branches/releasebranch_6_4/lib/db/dbmi_base/dbmscap.c
Log:
dbmi_base: skip manifest files when listing drivers

Modified: grass/branches/releasebranch_6_4/lib/db/dbmi_base/dbmscap.c
===================================================================
--- grass/branches/releasebranch_6_4/lib/db/dbmi_base/dbmscap.c	2012-02-02 08:40:53 UTC (rev 50625)
+++ grass/branches/releasebranch_6_4/lib/db/dbmi_base/dbmscap.c	2012-02-02 11:53:40 UTC (rev 50626)
@@ -169,6 +169,12 @@
 	    || (strcmp(ent->d_name, "..") == 0))
 	    continue;
 
+#ifdef __MINGW32__
+	/* skip manifest files on Windows */
+	if (G_strstr(ent->d_name, ".manifest"))
+	    continue;
+#endif
+
 	/* Remove '.exe' from name (windows extension) */
 	name = G_str_replace(ent->d_name, ".exe", "");
 



More information about the grass-commit mailing list