[GRASS5] [bug #1038] (grass) Tempfile cleanup problem revisited: G_tempfile()

Markus Neteler neteler at itc.it
Sun May 5 16:45:35 EDT 2002


A followup:

the same problem of left-over temp-files occurs when a
running GRASS module (which uses G_tempfile()) is terminated
with CTRL-C or the kill command.
Perhaps we could add some code to the signal handler (if present in
GRASS) to delete open temp files when SIGINT, SIGQUIT, SIGKILL, SIGTERM
occur. The temp file name is the PID of the running process.

Markus


On Sun, May 05, 2002 at 08:23:01PM +0200, Request Tracker wrote:
> this bug's URL: http://intevation.de/rt/webrt?serial_num=1038
> -------------------------------------------------------------------------
> 
> Subject: Tempfile cleanup problem revisited: G_tempfile()
[...]



More information about the grass-dev mailing list