From d601b924b688441e1078fe6bf7c022d30ca265f6 Mon Sep 17 00:00:00 2001 From: Dmitry Spikhalsky Date: Thu, 6 Jun 2024 12:53:15 -0400 Subject: [PATCH] Workaround gcc bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66425#c34 --- src/vtc_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vtc_main.c b/src/vtc_main.c index 91d1b3a..f8a206a 100644 --- a/src/vtc_main.c +++ b/src/vtc_main.c @@ -234,7 +234,7 @@ cleaner_setup(void) assert(cleaner_pid >= 0); if (cleaner_pid == 0) { closefd(&p[1]); - (void)nice(1); /* Not important */ + (void)!nice(1); /* Not important */ setbuf(stdin, NULL); AZ(dup2(p[0], STDIN_FILENO)); while (fgets(buf, sizeof buf, stdin)) {