Re: [PATCH] DejaGnu kills the wrong process due to PID-reuse races
Andreas Schwab <[email protected]>
| Newsgroups | gmane.comp.sysutils.dejagnu.general |
|---|---|
| Message-ID | <[email protected]> |
Pedro Alves <[email protected]> writes: > + # Prepend "-" to generate the "process group ID" needed by > + # kill. > + set pgid "-[join $pid { -}]" That's an odd way to write [expr -$pid]. Andreas. -- Andreas Schwab, SUSE Labs, [email protected] GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."