diff for duplicates of <20210217080000.GA25861@altlinux.org> diff --git a/a/1.txt b/N1/1.txt index db35a4f..da1fe82 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -30,7 +30,7 @@ Reproducer: getpid(), getppid(), pid); int status; if (wait(&status) < 0) { - if (errno = ECHILD) + if (errno == ECHILD) _exit(0); err(1, "wait"); } diff --git a/a/content_digest b/N1/content_digest index 1d1c7eb..9fa036d 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -42,7 +42,7 @@ " getpid(), getppid(), pid);\n" " int status;\n" " if (wait(&status) < 0) {\n" - " if (errno = ECHILD)\n" + " if (errno == ECHILD)\n" " _exit(0);\n" " err(1, \"wait\");\n" " }\n" @@ -94,4 +94,4 @@ "-- \n" ldv -3433384a9f76cfd6b8a74c63c37eb976ad2026ac7b5780755779f59162c28bb1 +c6f4411aadca7e5151724a230a599b70535c60543fda347c8ef2d15a34982406
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.