]> git.pld-linux.org Git - packages/apr.git/commitdiff
- APR_FILE_NOCLEANUP chunk from apr trunk
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 18 Mar 2009 23:33:22 +0000 (23:33 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apr-bug-46425.patch -> 1.8

apr-bug-46425.patch

index d35f72a5c3a19360eb3dc5bd99c1243e2df9132e..bf2c187b776336228e23e305761093c08f66794d 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;
This page took 0.134568 seconds and 4 git commands to generate.