]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- updated (fixes installing packages which contain files marked with <<none>> context)
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sat, 10 Jan 2004 19:57:05 +0000 (19:57 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm-context.patch -> 1.2

rpm-context.patch

index 6a6be6f3417b2932014a37618c692394d2c2deb7..650150268be6e1db47ec59a169d29facc2d6561c 100644 (file)
@@ -2,16 +2,17 @@ Index: lib/fsm.c
 ===================================================================
 RCS file: /cvs/devel/rpm/lib/fsm.c,v
 retrieving revision 2.101
-retrieving revision 2.102
-diff -u -u -r2.101 -r2.102
+retrieving revision 2.103
+diff -u -u -r2.101 -r2.103
 --- rpm/lib/fsm.c      5 Jan 2004 14:09:47 -0000       2.101
-+++ rpm/lib/fsm.c      9 Jan 2004 23:20:07 -0000       2.102
-@@ -2152,7 +2152,7 @@
++++ rpm/lib/fsm.c      10 Jan 2004 18:48:19 -0000      2.103
+@@ -2152,7 +2152,8 @@
            }
        break;
      case FSM_LSETFCON:
 -      if (fsm->fcontext == NULL)
-+      if (fsm->fcontext == NULL || *fsm->fcontext == '\0')
++      if (fsm->fcontext == NULL || *fsm->fcontext == '\0'
++       || !strcmp(fsm->fcontext, "<<none>>"))
            break;
        rc = lsetfilecon(fsm->path, (security_context_t)fsm->fcontext);
        if (_fsm_debug && (stage & FSM_SYSCALL))
This page took 0.039084 seconds and 4 git commands to generate.