shithub: mc

Download patch

ref: 631e14604ba34ad97514cf302de75c3c3102d316
parent: 83c62e5ed5a9d1cf16d418e7b54391074bf38918
author: Ori Bernstein <ori@eigenstate.org>
date: Wed Jan 20 17:25:57 EST 2016

Close FDs after we're done with them.

--- a/mbld/test.myr
+++ b/mbld/test.myr
@@ -165,6 +165,8 @@
 		| `std.Fail m:
 		;;
 		std.slfree(log)
+		std.close(infd)
+		std.close(outfd)
 
 		r = false
 		match std.wait(pid)