]> git.pld-linux.org Git - packages/rpm.git/blob - rpm-rpm4compat-update.patch
- don't install and package some useless scripts
[packages/rpm.git] / rpm-rpm4compat-update.patch
1 fdSize is now extern function, declared in <rpmio.h>.
2 --- rpm-5.4.17/lib/rpm4compat.h.orig    2017-03-02 21:47:58.792117545 +0100
3 +++ rpm-5.4.17/lib/rpm4compat.h 2017-03-04 09:14:59.103993683 +0100
4 @@ -352,13 +352,6 @@
5         return rpmProblemGetDiskNeed(prob);
6  }
7  
8 -static inline off_t fdSize(FD_t fd){
9 -       struct stat sb;
10 -       Fstat(fd, &sb);
11 -       return sb.st_size;
12 -}
13 -
14 -
15  static inline unsigned int rpmdbGetIteratorOffset(rpmdbMatchIterator mi) {
16      return rpmmiInstance(mi);
17  }
This page took 0.026438 seconds and 3 git commands to generate.