shithub: riscv

Download patch

ref: ce14460bed605c31ab0ce78aa460e0d6f8fe1067
parent: f2a9244e2d5cf7011c07e5a3ea34c1fa032cae5c
author: aiju <aiju@phicode.de>
date: Tue Jul 5 01:41:00 EDT 2011

fixed pstree bug

--- a/sys/src/cmd/pstree.c
+++ b/sys/src/cmd/pstree.c
@@ -151,6 +151,7 @@
 	while(*p == ' ')
 		*p-- = 0;
 	print("%s", b);
+	close(fd);
 }
 
 void
--