* sysv_sem.cc (semundo_clear): Move condition to break from

inner loop to the right spot.
This commit is contained in:
Corinna Vinschen 2012-11-23 14:32:02 +00:00
parent 4c36016b57
commit 102bf65058
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2012-11-23 Corinna Vinschen <corinna@vinschen.de>
* sysv_sem.cc (semundo_clear): Move condition to break from
inner loop to the right spot.
2012-11-12 Christopher Faylor <me.cygwin2012@cgf.cx> 2012-11-12 Christopher Faylor <me.cygwin2012@cgf.cx>
* Makefile.in: Revamp for new configury. * Makefile.in: Revamp for new configury.

View File

@ -529,9 +529,9 @@ semundo_clear(int semid, int semnum, struct thread *td)
suptr->un_ent[suptr->un_cnt]; suptr->un_ent[suptr->un_cnt];
continue; continue;
} }
if (semnum != -1)
break;
} }
if (semnum != -1)
break;
} }
i++, sunptr++; i++, sunptr++;
} }