[GRASS-SVN] r37187 - grass/branches/develbranch_6/lib/gis
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue May 12 06:05:50 EDT 2009
Author: hamish
Date: 2009-05-12 06:05:50 -0400 (Tue, 12 May 2009)
New Revision: 37187
Modified:
grass/branches/develbranch_6/lib/gis/gisinit.c
grass/branches/develbranch_6/lib/gis/spawn.c
Log:
use _spawnvp() not _spawnv() on windows; whitespace
Modified: grass/branches/develbranch_6/lib/gis/gisinit.c
===================================================================
--- grass/branches/develbranch_6/lib/gis/gisinit.c 2009-05-12 10:02:13 UTC (rev 37186)
+++ grass/branches/develbranch_6/lib/gis/gisinit.c 2009-05-12 10:05:50 UTC (rev 37187)
@@ -51,7 +51,7 @@
G_set_program_name(pgm);
if (strcmp(version, GIS_H_VERSION) != 0)
- G_fatal_error(_("Incompatible library version for module. "
+ G_fatal_error(_("Incompatible library version for module. "
"You need to rebuild GRASS or untangle multiple installations."));
/* Make sure location and mapset are set */
@@ -87,7 +87,7 @@
return 0;
if (strcmp(version, GIS_H_VERSION) != 0)
- G_fatal_error(_("Incompatible library version for module. "
+ G_fatal_error(_("Incompatible library version for module. "
"You need to rebuild GRASS or untangle multiple installations."));
gisinit();
Modified: grass/branches/develbranch_6/lib/gis/spawn.c
===================================================================
--- grass/branches/develbranch_6/lib/gis/spawn.c 2009-05-12 10:02:13 UTC (rev 37186)
+++ grass/branches/develbranch_6/lib/gis/spawn.c 2009-05-12 10:05:50 UTC (rev 37187)
@@ -81,7 +81,7 @@
return -1;
}
- return _spawnv(_P_WAIT, (char *)command, args);
+ return _spawnvp(_P_WAIT, (char *)command, args);
}
#else
More information about the grass-commit
mailing list