git-svn-id: https://svn.osgeo.org/grass/grass/trunk@73883 15284696-431f-4ddb-bdfa-cd5b030d7da7
@@ -130,9 +130,8 @@ int main(int argc, char **argv)
char inarg[GPATH_MAX];
fclose(fp);
sprintf(inarg, "input=%s", tmpfile);
+ /* note this tmp file will remain so it can survive d.redraw */
G_spawn("d.text", "d.text", inarg, NULL);
- unlink(tmpfile);
- /* note a tmp file will remain, created by d.text so it can survive d.redraw */
}
exit(EXIT_SUCCESS);