]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- update
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 14 Jun 2004 15:37:08 +0000 (15:37 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm-file-readelf-fix.patch -> 1.5

rpm-file-readelf-fix.patch

index 810c62a55119bdf29bd930413b476bbc5c94af9b..da386369cb4230a72ad8d1905f2ebf35f3b9fd6e 100644 (file)
@@ -5,9 +5,9 @@ diff -ur rpm.org/file/src/readelf.c rpm/file/src/readelf.c
                            getu32(fm, ph32.p_align) : 4) \
                         : (off_t) (ph64.p_align ?      \
                            getu64(fm, ph64.p_align) : 4)))
-+#define ph_filesz     (class == ELFCLASS32            \
-+                      ? getu32(swap, ph32.p_filesz)  \
-+                      : getu64(swap, ph64.p_filesz))
++#define ph_filesz     (fms->cls == ELFCLASS32            \
++                      ? getu32(fm, ph32.p_filesz)  \
++                      : getu64(fm, ph64.p_filesz))
  #define nh_size               (fm->cls == ELFCLASS32          \
                         ? sizeof nh32                  \
                         : sizeof nh64)
This page took 0.041538 seconds and 4 git commands to generate.