C99 compatibility issue in setpgrp configure probe
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
jupp |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
This didn't show up in the Gentoo testing because the check eventually fails on Linux, so the reason of the failure does not make a difference:
diff --git a/acinclude.m4 b/acinclude.m4
index f7f034f30673af1
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -13,7 +13,7 @@ AC_DEFUN(
#endif
int main() {
/* exit succesfully if setpgrp() takes two args (*BSD systems) */
- exit(setpgrp(0, 0) != 0);
+ return setpgrp(0, 0) != 0;
}],
[joe_
[joe_
The Fedora tester does not take other errors in the same source file into account. (Maybe it should; but then it would not have found this issue.)
Related to:
<https:/
<https:/
summary: |
- C99 compatibility issue in setprgrp configure probe + C99 compatibility issue in setpgrp configure probe |
Thanks, committed as commitid 10063E6501A7C427A7C (and applied to the other test in the file as well, I don’t know why they used exit(3) there).