RPM Community Forums

Mailing List Message of <rpm-cvs>

[CVS] RPM: rpm/ system.h

From: Ralf S. Engelschall <rse@rpm5.org>
Date: Thu 19 Jul 2007 - 20:41:46 CEST
Message-Id: <20070719184146.D78E53484F4@rpm5.org>
  RPM Package Manager, CVS Repository
  http://rpm5.org/cvs/
  ____________________________________________________________________________

  Server: rpm5.org                         Name:   Ralf S. Engelschall
  Root:   /v/rpm/cvs                       Email:  rse@rpm5.org
  Module: rpm                              Date:   19-Jul-2007 20:41:46
  Branch: HEAD                             Handle: 2007071919414600

  Modified files:
    rpm                     system.h

  Log:
    NEED_MYREALLOC is an Autoconf define, so correctly use it to avoid a
    compiler warning

  Summary:
    Revision    Changes     Path
    2.74        +1  -1      rpm/system.h
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: rpm/system.h
  ============================================================================
  $ cvs diff -u -r2.73 -r2.74 system.h
  --- rpm/system.h	19 Jul 2007 18:40:38 -0000	2.73
  +++ rpm/system.h	19 Jul 2007 18:41:46 -0000	2.74
  @@ -613,7 +613,7 @@
   #include <strings.h>
   #endif
   
  -#if NEED_MYREALLOC
  +#if defined(NEED_MYREALLOC)
   #define realloc(ptr,size) myrealloc(ptr,size)
   extern void *myrealloc(void *, size_t);
   #endif
  @@ .
Received on Thu Jul 19 20:41:46 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.