RPM Community Forums

Mailing List Message of <rpm-cvs>

[CVS] RPM: rpm/build/ files.c

From: Jeff Johnson <jbj@rpm5.org>
Date: Fri 13 Jul 2007 - 00:20:05 CEST
Message-Id: <20070712222005.46AFD3484F1@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:   13-Jul-2007 00:20:05
  Branch: HEAD                             Handle: 2007071223200500

  Modified files:
    rpm/build               files.c

  Log:
    const compiler warning fix.

  Summary:
    Revision    Changes     Path
    1.250       +1  -1      rpm/build/files.c
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: rpm/build/files.c
  ============================================================================
  $ cvs diff -u -r1.249 -r1.250 files.c
  --- rpm/build/files.c	12 Jul 2007 10:57:49 -0000	1.249
  +++ rpm/build/files.c	12 Jul 2007 22:20:05 -0000	1.250
  @@ -1506,7 +1506,7 @@
   	/* Add file security context to package. */
   	{
   	    mode_t fmode = (uint_16)flp->fl_mode;
  -	    static const char *nocon = "";
  +	    static char *nocon = "";
   	    if (matchpathcon(flp->fileURL, fmode, &scon) || scon == NULL)
   		scon = nocon;
   	    (void) headerAddOrAppendEntry(h, RPMTAG_FILECONTEXTS, RPM_STRING_ARRAY_TYPE,
  @@ .
Received on Fri Jul 13 00:20:05 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.