Opened 18 years ago

Closed 18 years ago

#55 closed defect (fixed)

emxomfld doesn't delete temporary files

Reported by: Yuri Dario Owned by: bird
Priority: normal Milestone: libc-0.6.1
Component: emx Version: 0.6
Severity: normal Keywords:
Cc:

Description

when arg_init() is called, the temporary files is not deleted, so at program exit only the last temporary files is effectively erased.

Index: emxomfld.c
===================================================================
--- emxomfld.c	(revision 2508)
+++ emxomfld.c	(working copy)
@@ -1160,7 +1163,11 @@
 
 static void arg_init (int rsp)
 {
-  response_fname[0] = '\0';
+  if (response_fname[0] != '\0')
+    {
+      remove (response_fname);
+      response_fname[0] = '\0';
+    }
   command_line[0] = '\0';
   line_len = 0;
   response_flag = rsp;

Change History (1)

comment:1 Changed 18 years ago by bird

Resolution: fixed
Status: newclosed

Applied.

Note: See TracTickets for help on using tickets.