git: 9front

Download patch

ref: 8f1beff6f12d317ac2aada892c2c791b14eb7ebf
parent: 5acdc23ae98067cafc55879e2636e990b1837fe1
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
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;
--