Skip to content

Commit

Permalink
Merge pull request #39 from Spikhalskiy/issue-38
Browse files Browse the repository at this point in the history
Workaround gcc bug
  • Loading branch information
bsdphk authored Jul 30, 2024
2 parents 1ae8b10 + d601b92 commit 32b160f
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 32b160f

Please sign in to comment.