Revision 1.38: [7]download - view: [8]text, [9]markup, [10]annotated - [11]select for diffs

Sat Dec 12 04:28:44 2009 UTC (13 hours, 14 minutes ago) by deraadt
   Branches: [12]MAIN
   CVS tags: [13]HEAD
   Diff to: previous 1.37: [14]preferred, [15]coloured
   Changes since revision 1.37: +2 -3 lines
a dangling do / while that was very very ugly
This commit is contained in:
tg 2009-12-12 17:45:42 +00:00
parent a77bbf6123
commit c49852b4dc
1 changed files with 3 additions and 4 deletions

7
jobs.c
View File

@ -1,4 +1,4 @@
/* $OpenBSD: jobs.c,v 1.37 2009/01/29 23:27:26 jaredy Exp $ */
/* $OpenBSD: jobs.c,v 1.38 2009/12/12 04:28:44 deraadt Exp $ */
/*-
* Copyright (c) 2003, 2004, 2005, 2006, 2007, 2008, 2009
@ -22,7 +22,7 @@
#include "sh.h"
__RCSID("$MirOS: src/bin/mksh/jobs.c,v 1.64 2009/12/05 22:03:39 tg Exp $");
__RCSID("$MirOS: src/bin/mksh/jobs.c,v 1.65 2009/12/12 17:45:42 tg Exp $");
#if HAVE_KILLPG
#define mksh_killpg killpg
@ -1164,8 +1164,7 @@ j_sigchld(int sig __unused)
p->state = PEXITED;
check_job(j); /* check to see if entire job is done */
}
while (1);
} while (1);
errno = errno_;
}