SEM_UNDO
if (sopptr->sem_flg & SEM_UNDO && sopptr->sem_op != 0)
if ((sops[i].sem_flg & SEM_UNDO) == 0)
if ((sops[k].sem_flg & SEM_UNDO) == 0)
s.sem_flg = SEM_UNDO;
s.sem_flg = SEM_UNDO;