]> git.pld-linux.org Git - packages/poldek.git/commitdiff
- rel 5; kill 404 errors when verbose killed auto/th/poldek-0_30-1_rc5_5
authorBartłomiej Zimoń <cactus@pld-linux.org>
Fri, 23 Mar 2012 10:44:22 +0000 (10:44 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    poldek-git.patch -> 1.7
    poldek.spec -> 1.442

poldek-git.patch
poldek.spec

index 9582041ad2a44f199dc29474faba7359ad669d49..80370a8acbce65946d2ff3ea65710e3c8d15555b 100644 (file)
@@ -83,3 +83,37 @@ index 19a7f9d..844f108 100755
      # hash text between =xxxstart and =xxxend
      perl -ne 's/^\s+(=xxx\w+)/$1/; $in = 1 if /^=xxxstart/; $in = 0 if /^=xxxend/; if ($in) { s/^\s+([^#])/# $1/; }; print if $_ !~ /^=/' |
      # remove unneeded leading lines and lines with =remove tag
+commit 11f27d85144a575cfe27a22d72c3816d36e7a754
+Author: Bartlomiej Zimon <uzi18@o2.pl>
+Date:   Fri Mar 23 13:37:06 2012 +0100
+
+    - http: shut up 404 errors when verbose = 0
+    
+    Signed-off-by: Bartlomiej Zimon <uzi18@o2.pl>
+
+diff --git a/vfile/vfff/http.c b/vfile/vfff/http.c
+index b85db3a..f233b1a 100644
+--- a/vfile/vfff/http.c
++++ b/vfile/vfff/http.c
+@@ -44,6 +44,7 @@
+ #include <sigint/sigint.h>
+ #include "vfff.h"
++#include "../vfile_intern.h" // for verbose level
+ #include "i18n.h"
+ #include "sigint/sigint.h"
+@@ -674,8 +675,11 @@ static int status_code_ok(int status_code, const char *msg, const char *path)
+             is_err = 0;
+             break;
+             
+-        case HTTP_STATUS_NOT_FOUND: 
+-            vfff_set_err(ENOENT, _("%s: no such file"), path);
++        case HTTP_STATUS_NOT_FOUND:
++            if (*vfile_conf.verbose > 0) // kill error if verbose = 0
++                vfff_set_err(ENOENT, _("%s: no such file"), path);
++            else
++                is_err = 0;
+             break;
+             
+         case HTTP_STATUS_FORBIDDEN:
index cc963e3a98bbca47cbf8abc424f3eeb8b7feec24..a100be3f15096b3c5df67b13cdd09b18e1ab92a0 100644 (file)
@@ -17,7 +17,7 @@
 %define        ver_rpm 4.5-49
 
 %define                snap    rc5
-%define                rel     4
+%define                rel     5
 Summary:       RPM packages management helper tool
 Summary(hu.UTF-8):     RPM csomagkezelést segítő eszköz
 Summary(pl.UTF-8):     Pomocnicze narzędzie do zarządzania pakietami RPM
This page took 0.202204 seconds and 4 git commands to generate.