RPM Package Manager, CVS Repository
  http://rpm5.org/cvs/
  ____________________________________________________________________________

  Server: rpm5.org                         Name:   Jeff Johnson
  Root:   /v/rpm/cvs                       Email:  [EMAIL PROTECTED]
  Module: rpm                              Date:   04-May-2008 15:14:50
  Branch: HEAD                             Handle: 2008050413144901

  Modified files:
    rpm                     CHANGES
    rpm/rpmdb               header.c

  Log:
    - jbj: pass dataEnd to regionSwab() when unloading.

  Summary:
    Revision    Changes     Path
    1.2317      +1  -0      rpm/CHANGES
    1.158       +2  -2      rpm/rpmdb/header.c
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: rpm/CHANGES
  ============================================================================
  $ cvs diff -u -r1.2316 -r1.2317 CHANGES
  --- rpm/CHANGES       3 May 2008 18:36:04 -0000       1.2316
  +++ rpm/CHANGES       4 May 2008 13:14:49 -0000       1.2317
  @@ -1,5 +1,6 @@
   
   5.1.0 -> 5.2a0:
  +    - jbj: pass dataEnd to regionSwab() when unloading.
       - jbj: disable the headerLoad speedup's until headerUnload changes are 
done.
       - jbj: swab integer tag data in headerGet, not headerLoad (measured 6.9% 
rpm-V speedup ymmv).
       - jbj: compute tag store w subtract (measured 26.3% rpm -qa speedup 
ymmv).
  @@ .
  patch -p0 <<'@@ .'
  Index: rpm/rpmdb/header.c
  ============================================================================
  $ cvs diff -u -r1.157 -r1.158 header.c
  --- rpm/rpmdb/header.c        3 May 2008 18:36:05 -0000       1.157
  +++ rpm/rpmdb/header.c        4 May 2008 13:14:50 -0000       1.158
  @@ -773,7 +773,7 @@
                ril++;
                rdlen += entry->info.count;
   
  -             count = regionSwab(NULL, ril, 0, pe, t, NULL, 0);
  +             count = regionSwab(NULL, ril, 0, pe, t, te, 0);
                if (count != rdlen)
                    goto errxit;
   
  @@ -791,7 +791,7 @@
                }
                te += entry->info.count + drlen;
   
  -             count = regionSwab(NULL, ril, 0, pe, t, NULL, 0);
  +             count = regionSwab(NULL, ril, 0, pe, t, te, 0);
                if (count != (rdlen + entry->info.count + drlen))
                    goto errxit;
            }
  @@ .
______________________________________________________________________
RPM Package Manager                                    http://rpm5.org
CVS Sources Repository                                [email protected]

Reply via email to