]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- be nicer for those who do not use SELinux and do not like messages
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sat, 17 Jan 2004 17:53:37 +0000 (17:53 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm-context.patch -> 1.3

rpm-context.patch

index 650150268be6e1db47ec59a169d29facc2d6561c..50d2ae6b83468ca9076d3c8098440d32d1c131d7 100644 (file)
@@ -42,3 +42,22 @@ diff -u -u -r2.52 -r2.54
        if (fcnb[ac] > 0) {
            av[ac] = t;
            t += fcnb[ac];
+Index: rpmsx.c
+===================================================================
+RCS file: /cvs/devel/rpm/lib/rpmsx.c,v
+retrieving revision 2.6
+diff -u -u -r2.6 rpmsx.c
+--- rpm/lib/rpmsx.c    25 Dec 2003 23:00:45 -0000      2.6
++++ rpm/lib/rpmsx.c    17 Jan 2004 17:52:19 -0000
+@@ -316,7 +316,10 @@
+ /*@=branchstate@*/
+     if ((fp = fopen(fn, "r")) == NULL) {
+-      perror(fn);
++      if (ENOENT == errno)
++          fprintf(stderr, _("Parsing SELinux file contexts skipped: %s: %s\n", fn, strerror(errno)));
++      else
++          perror(fn);
+       return -1;
+     }
This page took 0.041379 seconds and 4 git commands to generate.