summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--auto/sockets62
-rw-r--r--docs/changes.xml6
2 files changed, 38 insertions, 30 deletions
diff --git a/auto/sockets b/auto/sockets
index 1b6b4368..e6ef326d 100644
--- a/auto/sockets
+++ b/auto/sockets
@@ -166,51 +166,53 @@ if [ $nxt_found = no ]; then
fi
-nxt_feature="sockopt SO_PASSCRED"
-nxt_feature_name=NXT_HAVE_SOCKOPT_SO_PASSCRED
-nxt_feature_run=
-nxt_feature_incs=
-nxt_feature_libs=
-nxt_feature_test="#define _GNU_SOURCE
- #include <sys/socket.h>
+if [ $NXT_SYSTEM != DragonFly ]; then
+ nxt_feature="sockopt SO_PASSCRED"
+ nxt_feature_name=NXT_HAVE_SOCKOPT_SO_PASSCRED
+ nxt_feature_run=
+ nxt_feature_incs=
+ nxt_feature_libs=
+ nxt_feature_test="#define _GNU_SOURCE
+ #include <sys/socket.h>
- int main() {
- return SO_PASSCRED == 0;
- }"
-. auto/feature
+ int main() {
+ return SO_PASSCRED == 0;
+ }"
+ . auto/feature
-if [ $nxt_found = yes ]; then
- nxt_feature="struct ucred"
- nxt_feature_name=NXT_HAVE_UCRED
+ if [ $nxt_found = yes ]; then
+ nxt_feature="struct ucred"
+ nxt_feature_name=NXT_HAVE_UCRED
+ nxt_feature_run=
+ nxt_feature_incs=
+ nxt_feature_libs=
+ nxt_feature_test="#define _GNU_SOURCE
+ #include <sys/socket.h>
+ #include <sys/un.h>
+
+ int main() {
+ return sizeof(struct ucred);
+ }"
+ . auto/feature
+ fi
+
+
+ nxt_feature="struct cmsgcred"
+ nxt_feature_name=NXT_HAVE_MSGHDR_CMSGCRED
nxt_feature_run=
nxt_feature_incs=
nxt_feature_libs=
nxt_feature_test="#define _GNU_SOURCE
#include <sys/socket.h>
- #include <sys/un.h>
int main() {
- return sizeof(struct ucred);
+ return sizeof(struct cmsgcred);
}"
. auto/feature
fi
-nxt_feature="struct cmsgcred"
-nxt_feature_name=NXT_HAVE_MSGHDR_CMSGCRED
-nxt_feature_run=
-nxt_feature_incs=
-nxt_feature_libs=
-nxt_feature_test="#define _GNU_SOURCE
- #include <sys/socket.h>
-
- int main() {
- return sizeof(struct cmsgcred);
- }"
-. auto/feature
-
-
nxt_feature="sys/filio.h"
nxt_feature_name=NXT_HAVE_SYS_FILIO_H
nxt_feature_run=
diff --git a/docs/changes.xml b/docs/changes.xml
index f5792e85..737fcb33 100644
--- a/docs/changes.xml
+++ b/docs/changes.xml
@@ -59,6 +59,12 @@ appeared in 1.26.0.
</para>
</change>
+<change type="bugfix">
+<para>
+fatal errors on DragonFly BSD; the bug had appeared in 1.26.0.
+</para>
+</change>
+
</changes>