RPM Community Forums

Mailing List Message of <rpm-cvs>

[CVS] RPM: rpm/rpmio/ macro.c

From: Jeff Johnson <jbj@rpm5.org>
Date: Sun 22 Jul 2007 - 05:00:25 CEST
Message-Id: <20070722030025.B8D1E3484F4@rpm5.org>
  RPM Package Manager, CVS Repository
  http://rpm5.org/cvs/
  ____________________________________________________________________________

  Server: rpm5.org                         Name:   Jeff Johnson
  Root:   /v/rpm/cvs                       Email:  jbj@rpm5.org
  Module: rpm                              Date:   22-Jul-2007 05:00:25
  Branch: HEAD                             Handle: 2007072204002500

  Modified files:
    rpm/rpmio               macro.c

  Log:
    terminate fe on space as before.

  Summary:
    Revision    Changes     Path
    2.137       +1  -1      rpm/rpmio/macro.c
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: rpm/rpmio/macro.c
  ============================================================================
  $ cvs diff -u -r2.136 -r2.137 macro.c
  --- rpm/rpmio/macro.c	22 Jul 2007 02:44:48 -0000	2.136
  +++ rpm/rpmio/macro.c	22 Jul 2007 03:00:25 -0000	2.137
  @@ -1376,7 +1376,7 @@
   			}
   		}
   		/* Find end-of-expansion, handle %{foo:bar} expansions. */
  -		for (fe = f; (c = *fe) && !strchr(":}", c);)
  +		for (fe = f; (c = *fe) && !strchr(" :}", c);)
   			fe++;
   		switch (c) {
   		case ':':
  @@ .
Received on Sun Jul 22 05:00:25 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.