-
Notifications
You must be signed in to change notification settings - Fork 293
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
Numeric values of signals mean nothing (bug) #1474
Comments
FWIW It feels like this is a rakudo bug that should be fixed, but I don't have enough tuits to defend this position. |
If the enum values can't be made platform-dependent, another idea might be to change it from an enum Signal (SIGHUP => "SIGHUP", SIGINT => "SIGINT", ...); Less functionality, but at least no incorrect functionality... :) |
I filed it as a rakudobug anyway: RT #132012. If we say that it is a bug, should we document it at all? |
If so, then this is not a trap, and we can simply mention it in the docs on |
Code:
Result:
… and so I just SIGPWR-ed something that meant to receive SIGUSR1.
“SIGUSR1 can be 30, 10, or 16”. The number you get from Signals enum is not any relevant.
A bit of IRC log: https://irclog.perlgeek.de/perl6/2017-08-28#i_15078223
The text was updated successfully, but these errors were encountered: