From 1a90c5e819f083c951a760060b3936b8615fdce5 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 10 Jul 2018 11:30:16 +0200 Subject: Delete mosflm.lp and SUMMARY when cleaning up temporary folder --- src/im-sandbox.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/im-sandbox.c') diff --git a/src/im-sandbox.c b/src/im-sandbox.c index ad27641b..f8913f0a 100644 --- a/src/im-sandbox.c +++ b/src/im-sandbox.c @@ -869,6 +869,11 @@ static void delete_temporary_folder(const char *tmpdir, int n_proc) path = calloc(len+64, 1); if ( (workerdir == NULL) || (path == NULL) ) return; + snprintf(path, 127, "%s/mosflm.lp", tmpdir); + unlink(path); + snprintf(path, 127, "%s/SUMMARY", tmpdir); + unlink(path); + for ( slot=0; slot