Commit bb80fdd
committed
Do not negate the one identifier that has no positive counterpart
Found reviewing the change that precedes it. `kill(-n)' negates the identifier
twice --- once to look the unit up and once, now, to compare it against this
program's own --- and INT_MIN has no positive counterpart in the type, so both
are undefined for that one value. A caller reaching here with it names no unit
either way, so it takes the route every other identifier that names none takes.1 parent 28d5a3d commit bb80fdd
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1923 | 1923 | | |
1924 | 1924 | | |
1925 | 1925 | | |
1926 | | - | |
| 1926 | + | |
| 1927 | + | |
| 1928 | + | |
| 1929 | + | |
| 1930 | + | |
| 1931 | + | |
1927 | 1932 | | |
1928 | 1933 | | |
1929 | 1934 | | |
| |||
0 commit comments