Thanks to visit codestin.com
Credit goes to github.com

Skip to content

don't hardcode OS-depending constant values #60356

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

Merged
merged 1 commit into from
May 7, 2025
Merged

Conversation

xabbuh
Copy link
Member

@xabbuh xabbuh commented May 6, 2025

Q A
Branch? 6.4
Bug fix? no
New feature? no
Deprecations? no
Issues
License MIT

The values of the SIG* constants depend on the OS.

For example, on macOS the value of the SIGSYS constant is 12 and not 31 making the test added in #60168 fail.

The values of the SIG* constants depend on the OS.
@xabbuh xabbuh requested a review from chalasr as a code owner May 6, 2025 09:42
@carsonbot carsonbot added this to the 6.4 milestone May 6, 2025
Copy link
Member

@GromNaN GromNaN left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for finding that out.

@fabpot
Copy link
Member

fabpot commented May 7, 2025

Thank you @xabbuh.

@fabpot fabpot merged commit 0069734 into symfony:6.4 May 7, 2025
15 of 17 checks passed
@xabbuh xabbuh deleted the pr-60168 branch May 7, 2025 06:45
xabbuh added a commit that referenced this pull request May 7, 2025
…on is not installed (xabbuh)

This PR was merged into the 6.4 branch.

Discussion
----------

[Console] properly skip signal test if the pcntl extension is not installed

| Q             | A
| ------------- | ---
| Branch?       | 6.4
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Issues        |
| License       | MIT

In #60356 I missed that the build on Windows running tests without the pcntl extension failed.

Commits
-------

b3cc194 properly skip signal test if the pcntl extension is not installed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants