Skip to content

check_rc_pids's check condition #1514

@ggWithZhou

Description

@ggWithZhou

line 232 of check_rc_pids.c:
if (! (_kill0 == 1 && _gsid0 == 0 && _gpid0 == 0 && _gsid1 == 0) )
The prerequisite for this step is _gsid0 == _gsid1, so _gsid1 == 0 is redundant. And this problem is not important. There is another problem:
line 245:
if (! (_kill1 == 1 && _gsid1 == 0 && _gpid0 == 0 && _gsid1 == 0) )
_gsid1 == 0 appears twice. Is that a redundancy or it should be _gsid0 == 0 && _gsid1 ==0?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions