|
@@ -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);
|