Skip to content

Commit

Permalink
Workaround gcc bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Spikhalskiy committed Jun 6, 2024
1 parent d6d228b commit d601b92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vtc_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit d601b92

Please sign in to comment.