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

  Server: rpm5.org                         Name:   Jeff Johnson
  Root:   /v/rpm/cvs                       Email:  j...@rpm5.org
  Module: rpm                              Date:   30-Aug-2011 14:11:50
  Branch: HEAD                             Handle: 2011083012115000

  Modified files:
    rpm                     debug.h

  Log:
    - valgrind: fix: avoid ANNOTATE_BENIGN_RACE_SIZED if not defined.

  Summary:
    Revision    Changes     Path
    2.11        +4  -0      rpm/debug.h
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: rpm/debug.h
  ============================================================================
  $ cvs diff -u -r2.10 -r2.11 debug.h
  --- rpm/debug.h       19 Mar 2011 14:50:41 -0000      2.10
  +++ rpm/debug.h       30 Aug 2011 12:11:50 -0000      2.11
  @@ -39,6 +39,10 @@
   #include <valgrind/helgrind.h>
   #include <valgrind/drd.h>
   
  +#if !defined(ANNOTATE_BENIGN_RACE_SIZED)
  +#define      ANNOTATE_BENIGN_RACE_SIZED(_a, _b, _c)
  +#endif
  +
   static inline void * DRD_xmalloc(size_t nb)
   {
       void * ptr = xmalloc(nb);
  @@ .
______________________________________________________________________
RPM Package Manager                                    http://rpm5.org
CVS Sources Repository                                rpm-cvs@rpm5.org

Reply via email to