shithub: riscv

Download patch

ref: 693325b47ace28d68459911ac3d670bb0c0db79b
parent: 05889d4454c61fb6f1caf6aba300ce23388ec47b
author: Sigrid Solveig Haflínudóttir <[email protected]>
date: Sat Feb 4 12:41:22 EST 2023

zuke: leave the fds alone (thanks deuteron)

--- a/sys/src/cmd/audio/zuke/zuke.c
+++ b/sys/src/cmd/audio/zuke/zuke.c
@@ -754,8 +754,6 @@
 		}else{
 			execl("/bin/play", "play", "-o", "/fd/1", path, nil);
 		}
-		close(0);
-		close(1);
 		exits("%r");
 	}
 	if(pid < 0)
@@ -1393,7 +1391,6 @@
 		fprint(2, "playlist: %r\n");
 		sysfatal("playlist error");
 	}
-	close(0);
 
 	m.buttons = 0;
 	scrolling = 0;