]> git.pld-linux.org Git - packages/rpm.git/blobdiff - rpm-scripts-closefds.patch
- use DSA for package signatures for temporary compatibility with antique crap
[packages/rpm.git] / rpm-scripts-closefds.patch
index 98a95cc9f054dfcb6f732eb022068153e867f24b..5a9f7871c0cc8e2ed94212d9e5e08052fecdc5a1 100644 (file)
@@ -14,6 +14,6 @@
 +              Fcntl(fd, F_SETFD, (void*)oldfl);
 +          }
 +      }
-       /*@=type@*/
-       return fd;
-       /*@notreached@*/ break;
+ #if defined(POSIX_FADV_WILLNEED)
+       (void) Fadvise(fd, 0, 0, POSIX_FADV_WILLNEED);
This page took 0.029755 seconds and 4 git commands to generate.