shithub: drawterm

Download patch

ref: c78edf544d755f68094101224be16fdc5ab5e788
parent: c53aae4aec0b41d9427d60d78eb4c1ef0e535009
author: Sigrid Solveig Haflínudóttir <[email protected]>
date: Tue Jan 18 16:14:57 EST 2022

gui-wl: use pipe2 with O_CLOEXEC

--- a/gui-wl/wl-cb.c
+++ b/gui-wl/wl-cb.c
@@ -473,7 +473,7 @@
 	}
 
 	wl = data;
-	pipe(fds);
+	pipe2(fds, O_CLOEXEC);
 	wl_data_offer_receive(offer, "text/plain;charset=utf-8", fds[1]);
 	close(fds[1]);