]> git.pld-linux.org Git - packages/apr.git/blobdiff - apr-bug-46425.patch
- up to 1.3.5
[packages/apr.git] / apr-bug-46425.patch
index d35f72a5c3a19360eb3dc5bd99c1243e2df9132e..cf422d640485663e20c435bdcff9f2b97f6683f9 100644 (file)
@@ -14,7 +14,7 @@ diff -urN apr-1.3.3.org/file_io/unix/filedup.c apr-1.3.3/file_io/unix/filedup.c
              return APR_EINVAL;
          }
          rv = dup2(old_file->filedes, (*new_file)->filedes);
-+        if (!(old_file->flags & APR_INHERIT)) {
++        if (!(old_file->flags & (APR_FILE_NOCLEANUP|APR_INHERIT))) {
 +            fdflags = fcntl((*new_file)->filedes, F_GETFD);
 +            if (fdflags == -1)
 +                return errno;
@@ -153,10 +153,10 @@ diff -urN apr-1.3.3.org/network_io/unix/sockets.c apr-1.3.3/network_io/unix/sock
 diff -urN apr-1.3.3.org/poll/unix/epoll.c apr-1.3.3/poll/unix/epoll.c
 --- apr-1.3.3.org/poll/unix/epoll.c    2008-04-13 13:37:52.000000000 +0200
 +++ apr-1.3.3/poll/unix/epoll.c        2009-02-23 08:20:07.663209400 +0100
-@@ -91,7 +91,7 @@
-                                              apr_uint32_t flags)
- {
+@@ -93,7 +93,7 @@
+ #if APR_HAS_THREADS
      apr_status_t rv;
+ #endif
 -    int fd;
 +    int fd, fdflags;
  
This page took 0.025744 seconds and 4 git commands to generate.