Opened 19 years ago
Closed 19 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;
Note:
See TracTickets
for help on using tickets.
Applied.