[apr] 01/01: fix fcntl(fd, F_GETFL) call in 4d241b1a
Stefan Fritsch
sf at alioth.debian.org
Wed Nov 6 16:47:06 UTC 2013
This is an automated email from the git hooks/post-receive script.
sf pushed a commit to branch master
in repository apr.
commit cb66faa0be2299e4d4b020c96e407dbbb9133de4
Author: Stefan Fritsch <sf at sfritsch.de>
Date: Wed Nov 6 17:40:28 2013 +0100
fix fcntl(fd, F_GETFL) call in 4d241b1a
---
debian/patches/configure-accept4-hurd | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/debian/patches/configure-accept4-hurd b/debian/patches/configure-accept4-hurd
index 36398a9..9cf45dd 100644
--- a/debian/patches/configure-accept4-hurd
+++ b/debian/patches/configure-accept4-hurd
@@ -2,10 +2,11 @@
#
# http://svn.apache.org/viewvc?view=revision&revision=r832904
# http://svn.apache.org/viewvc?view=revision&revision=r1539374
+# http://svn.apache.org/viewvc?view=revision&revision=r1539389
Index: apr/configure.in
===================================================================
---- apr.orig/configure.in 2013-11-06 17:00:59.854003705 +0100
-+++ apr/configure.in 2013-11-06 17:01:26.606002611 +0100
+--- apr.orig/configure.in
++++ apr/configure.in
@@ -872,78 +872,47 @@
AC_DEFINE([HAVE_DUP3], 1, [Define if dup3 function is supported])
fi
@@ -92,9 +93,9 @@ Index: apr/configure.in
- sizeof(struct sockaddr_un)) == -1 &&
- (errno==ENOENT || errno==ECONNREFUSED))
- ;
-+ if (fcntl(fd, F_GETFL, &flags) == -1 ||
-+ fcntl(fd, F_SETFL, flags|O_NONBLOCK) == -1)
-+ return 1;
++ flags = fcntl(fd, F_GETFL);
++ if (flags == -1 || fcntl(fd, F_SETFL, flags|O_NONBLOCK) == -1)
++ return 5;
+
+ memset(&sin, 0, sizeof sin);
+ sin.sin_family = AF_INET;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-apache/apr.git
More information about the Pkg-apache-commits
mailing list