RPM Community Forums

Mailing List Message of <rpm-cvs>

[CVS] RPM: rpm-5_1: rpm/lib/ depends.c

From: Jeff Johnson <jbj@rpm5.org>
Date: Fri 20 Aug 2010 - 19:55:11 CEST
Message-Id: <20100820175511.CCFBFC076A@rpm5.org>
  RPM Package Manager, CVS Repository
  /cvs/
  ____________________________________________________________________________

  Server: rpm5.org                         Name:   Jeff Johnson
  Root:   /v/rpm/cvs                       Email:  jbj@rpm5.org
  Module: rpm                              Date:   20-Aug-2010 19:55:11
  Branch: rpm-5_1                          Handle: 2010082017551100

  Modified files:           (Branch: rpm-5_1)
    rpm/lib                 depends.c

  Log:
    - fix: condition compiled in confoiguration on vendor defines.

  Summary:
    Revision    Changes     Path
    1.394.2.26  +5  -1      rpm/lib/depends.c
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: rpm/lib/depends.c
  ============================================================================
  $ cvs diff -u -r1.394.2.25 -r1.394.2.26 depends.c
  --- rpm/lib/depends.c	20 Aug 2010 16:34:43 -0000	1.394.2.25
  +++ rpm/lib/depends.c	20 Aug 2010 17:55:11 -0000	1.394.2.26
  @@ -2267,7 +2267,11 @@
   #define isAuto(_x)	((_x) & _autobits)
   
   /*@unchecked@*/
  -static int slashDepth = 0;	/* #slashes pemitted in parentdir deps. */
  +#if defined(RPM_WINDRIVER_LINUX)
  +static int slashDepth = 0;      /* #slashes pemitted in parentdir deps. */
  +#else
  +static int slashDepth = 100;	/* #slashes pemitted in parentdir deps. */
  +#endif
   
   static int countSlashes(const char * dn)
   	/*@*/
  @@ .
Received on Fri Aug 20 19:55:11 2010
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.