New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kill($sig, $pid) does not work as documented on Win32 #7949
Comments
From @steve-m-hayCreated by @steve-m-hayThe following program use Config; outputs this on Win32 ZERO $? >> 8 = 0 but according to the perlport manpage kill($sig, $pid) should make Therefore, it appears that kill($sig, $pid) does not behave correctly INT Perl Info
|
From @schwernOn Fri, Jun 03, 2005 at 08:51:36AM -0000, Steve Hay wrote:
What does the equivalent C program do? Just checking to see if its Perl -- |
The RT System itself - Status changed from 'new' to 'open' |
From @steve-m-hayMichael G Schwern wrote:
Good question, and in trying to write to equivalent C program I've win32/win32.c handles it in win32_kill() like this: switch(sig) { which I guess mostly explains the behaviour I reported: So INT, TERM and BREAK are simply documented wrongly in perlport. I'm Radan Computational Ltd. The information contained in this message and any files transmitted with it are confidential and intended for the addressee(s) only. If you have received this message in error or there are any problems, please notify the sender immediately. The unauthorized use, disclosure, copying or alteration of this message is strictly forbidden. Note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of Radan Computational Ltd. The recipient(s) of this message should check it and any attached files for viruses: Radan Computational will accept no liability for any damage caused by any virus transmitted by this email. |
From @janduboisOn Fri, 03 Jun 2005, Michael G Schwern wrote:
This is signal 2 in the code below (SIGINT is not defined on Windows).
Perl maps SIGQUIT to SIGBREAK on Windows.
Perl maps SIGCLD to SIGCHLD on Windows.
It is the Perl implementation (from win32/win32.c in win32_kill(): else { Cheers, |
From nick@ing-simmons.netSteve Hay <steve.hay@uk.radan.com> writes:
And at least part of that coding was mine. Corrupting partitions aside, I think there is still scope for
|
Migrated from rt.perl.org#36108 (status was 'open')
Searchable as RT36108$
The text was updated successfully, but these errors were encountered: