sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit 1b7f554474552bd6c463b417305562d6d7dfd3d3
parent 649e084f41295be761c0e9137831281b220dd970
Author: Dominique Martinet <asmadeus@codewreck.org>
Date:   Sat, 30 Jun 2018 16:44:36 +0900

log_kernel: s/fclose/pclose/ (for popen'd FILE)

With recent glibc the functions are strictly identical, but this might
not be true for all libc implementations

Found through static analysis.

Diffstat:
Msway/main.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sway/main.c b/sway/main.c @@ -175,7 +175,7 @@ static void log_kernel() { } free(line); } - fclose(f); + pclose(f); } static void security_sanity_check() {