[GRASS-SVN] r40921 - grass/branches/develbranch_6/lib/gis
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Feb 10 20:13:20 EST 2010
Author: glynn
Date: 2010-02-10 20:13:19 -0500 (Wed, 10 Feb 2010)
New Revision: 40921
Modified:
grass/branches/develbranch_6/lib/gis/error.c
grass/branches/develbranch_6/lib/gis/list.c
grass/branches/develbranch_6/lib/gis/parser.c
Log:
Replace G_pclose() with pclose()
Modified: grass/branches/develbranch_6/lib/gis/error.c
===================================================================
--- grass/branches/develbranch_6/lib/gis/error.c 2010-02-11 00:06:10 UTC (rev 40920)
+++ grass/branches/develbranch_6/lib/gis/error.c 2010-02-11 01:13:19 UTC (rev 40921)
@@ -375,7 +375,7 @@
sprintf(command, "mail '%s'", G_whoami());
if ((mail = popen(command, "w"))) {
fprintf(mail, "GIS %s: %s\n", fatal ? "ERROR" : "WARNING", msg);
- G_pclose(mail);
+ pclose(mail);
}
return 0;
Modified: grass/branches/develbranch_6/lib/gis/list.c
===================================================================
--- grass/branches/develbranch_6/lib/gis/list.c 2010-02-11 00:06:10 UTC (rev 40920)
+++ grass/branches/develbranch_6/lib/gis/list.c 2010-02-11 01:13:19 UTC (rev 40921)
@@ -125,7 +125,7 @@
* close the more
*/
if (more != stdout)
- G_pclose(more);
+ pclose(more);
#ifdef SIGPIPE
signal(SIGPIPE, sigpipe);
#endif
Modified: grass/branches/develbranch_6/lib/gis/parser.c
===================================================================
--- grass/branches/develbranch_6/lib/gis/parser.c 2010-02-11 00:06:10 UTC (rev 40920)
+++ grass/branches/develbranch_6/lib/gis/parser.c 2010-02-11 01:13:19 UTC (rev 40921)
@@ -1981,7 +1981,7 @@
generate_tcl(fp);
- G_pclose(fp);
+ pclose(fp);
}
/**
More information about the grass-commit
mailing list