-
-
Notifications
You must be signed in to change notification settings - Fork 31.2k
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
bpo-13497: Fix broken nice
configure test
#12041
Conversation
Per POSIX, `nice(3)` requires `unistd.h` and `exit(3)` requires `stdlib.h`. Fixing the test will prevent false positives with pedantic compilers, like clang. bpo-13497 Signed-off-by: Enji Cooper <yaneurabeya@gmail.com>
Thanks @ngie-eign for the PR, and @benjaminp for merging it 🌮🎉.. I'm working now to backport this PR to: 2.7, 3.7. |
Per POSIX, `nice(3)` requires `unistd.h` and `exit(3)` requires `stdlib.h`. Fixing the test will prevent false positives with pedantic compilers like clang. (cherry picked from commit 90c6fac) Co-authored-by: ngie-eign <1574099+ngie-eign@users.noreply.github.com>
GH-12042 is a backport of this pull request to the 3.7 branch. |
GH-12043 is a backport of this pull request to the 2.7 branch. |
Per POSIX, `nice(3)` requires `unistd.h` and `exit(3)` requires `stdlib.h`. Fixing the test will prevent false positives with pedantic compilers like clang. (cherry picked from commit 90c6fac) Co-authored-by: ngie-eign <1574099+ngie-eign@users.noreply.github.com>
Per POSIX, `nice(3)` requires `unistd.h` and `exit(3)` requires `stdlib.h`. Fixing the test will prevent false positives with pedantic compilers like clang. (cherry picked from commit 90c6fac) Co-authored-by: ngie-eign <1574099+ngie-eign@users.noreply.github.com>
|
Per POSIX, `nice(3)` requires `unistd.h` and `exit(3)` requires `stdlib.h`. Fixing the test will prevent false positives with pedantic compilers like clang. (cherry picked from commit 90c6fac) Co-authored-by: ngie-eign <1574099+ngie-eign@users.noreply.github.com>
|
Per POSIX,
nice(3)
requiresunistd.h
andexit(3)
requiresstdlib.h
.Fixing the test will prevent false positives with pedantic compilers,
like clang.
bpo-13497
Signed-off-by: Enji Cooper yaneurabeya@gmail.com
https://bugs.python.org/issue13497