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: 06-Nov-2007 08:31:54
Branch: HEAD Handle: 2007110607315400
Modified files:
rpm/build files.c
Log:
get rid of a compiler warnings about unused variable when compiling
under non-Linux/SELinux platforms
Summary:
Revision Changes Path
1.283 +1 -2 rpm/build/files.c
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: rpm/build/files.c
============================================================================
$ cvs diff -u -r1.282 -r1.283 files.c
--- rpm/build/files.c 4 Nov 2007 20:51:26 -0000 1.282
+++ rpm/build/files.c 6 Nov 2007 07:31:54 -0000 1.283
@@ -1594,8 +1594,7 @@
/* Add file security context to package. */
{
static char *nocon = "";
- mode_t fmode = flp->fl_mode;
- if (matchpathcon(flp->fileURL, fmode, &scon) || scon == NULL)
+ if (matchpathcon(flp->fileURL, flp->fl_mode, &scon) || scon == NULL)
scon = nocon;
he->tag = RPMTAG_FILECONTEXTS;
@@ .
Received on Tue Nov 6 08:31:54 2007