shithub: mc

Download patch

ref: 6ba50de2f15f5f52e154f053a077d354789f0a2b
parent: a34e80b18736f80370487804998b1ffd2de2f978
author: Ori Bernstein <ori@eigenstate.org>
date: Mon Jan 7 17:27:16 EST 2019

Don't leave asm in /tmp on any system.

--- a/6/main.c
+++ b/6/main.c
@@ -124,11 +124,7 @@
 		if (!WIFEXITED(status) || WEXITSTATUS(status) != 0)
 			die("Couldn't run assembler");
 	}
-	/*
-	We don't want to keep the asm source around, but it's useful
-	for deubgging without mapping to line numbers.
-	*/
-	if (asmsyntax != Plan9 && !writeasm)
+	if (!writeasm)
 		unlink(asmsrc);
 }