[git commit] hush: tweak comment

Denys Vlasenko vda.linux at googlemail.com
Tue May 26 12:39:41 UTC 2009


commit: http://git.busybox.net/busybox/commit/?id=68759edb6e6406bc954caf97a8436b7fb3eb5e2b
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master


Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 shell/hush.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/shell/hush.c b/shell/hush.c
index 7360f0e..533c56d 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -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;
-- 
1.6.0.6


More information about the busybox-cvs mailing list