[GRASS-SVN] r50629 - grass/branches/develbranch_6/lib/db/dbmi_base

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Feb 2 07:07:16 EST 2012


Author: martinl
Date: 2012-02-02 04:07:16 -0800 (Thu, 02 Feb 2012)
New Revision: 50629

Modified:
   grass/branches/develbranch_6/lib/db/dbmi_base/dbmscap.c
Log:
dbmi_base: skip manifest files when listing drivers
	   (merge r50626 from relbr64)


Modified: grass/branches/develbranch_6/lib/db/dbmi_base/dbmscap.c
===================================================================
--- grass/branches/develbranch_6/lib/db/dbmi_base/dbmscap.c	2012-02-02 12:05:27 UTC (rev 50628)
+++ grass/branches/develbranch_6/lib/db/dbmi_base/dbmscap.c	2012-02-02 12:07:16 UTC (rev 50629)
@@ -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