[git commit] hush: better comment. No code changes

Denys Vlasenko vda.linux at googlemail.com
Wed Jun 1 10:47:07 UTC 2011


commit: http://git.busybox.net/busybox/commit/?id=56a3b82e9692a25ef9c9269e88feac0d579ce8e8
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master

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

diff --git a/shell/hush.c b/shell/hush.c
index c7971b0..1082738 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -7500,7 +7500,7 @@ static int run_list(struct pipe *pi)
 		/* Beware of "while false; true; do ..."! */
 		if (pi->next
 		 && (pi->next->res_word == RES_DO || pi->next->res_word == RES_DONE)
-		/* (the second check above is needed for "while ...; do \n done" case) */
+		 /* check for RES_DONE is needed for "while ...; do \n done" case */
 		) {
 			if (rword == RES_WHILE) {
 				if (rcode) {
-- 
1.7.3.4



More information about the busybox-cvs mailing list