Commit 8b7987b
Test FlagHasPid with != 0, not == 1
Masking with a flag constant then comparing to 1 only works while the
flag is bit 0; != 0 is correct for any bit position and matches every
other flag check in the codebase.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 5779f14 commit 8b7987b
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1018 | 1018 | | |
1019 | 1019 | | |
1020 | 1020 | | |
1021 | | - | |
| 1021 | + | |
1022 | 1022 | | |
1023 | 1023 | | |
1024 | 1024 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| |||
0 commit comments