← Commit list

68759edb6

Denys Vlasenko
Denys Vlasenko
2009-05-26
FAILED Duration: 31s

Subject

hush: tweak comment

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

shell/hush.c+2 -2
@@ -3301,8 +3301,8 @@ static int checkjobs(struct pipe* fg_pipe)
if (G.handled_SIGCHLD == G.count_SIGCHLD) {
//bb_error_msg("[%d] checkjobs: G.count_SIGCHLD:%d G.handled_SIGCHLD:%d children?:%d fg_pipe:%p",
//getpid(), G.count_SIGCHLD, G.handled_SIGCHLD, G.we_have_children, fg_pipe);
- /* There was heither fork nor SIGCHLD since last waitpid */
- /* Avoid doing syscall, nothing there anyway */
+ /* There was neither fork nor SIGCHLD since last waitpid */
+ /* Avoid doing waitpid syscall if possible */
if (!G.we_have_children) {
errno = ECHILD;
return -1;