Hello community, here is the log from the commit of package wget for openSUSE:Factory checked in at 2016-08-03 11:38:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/wget (Old) and /work/SRC/openSUSE:Factory/.wget.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "wget" Changes: -------- --- /work/SRC/openSUSE:Factory/wget/wget.changes 2016-06-13 21:52:18.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.wget.new/wget.changes 2016-08-03 11:38:44.000000000 +0200 @@ -1,0 +2,13 @@ +Thu Jul 28 15:37:37 UTC 2016 - [email protected] + +- Save/restore errno within CLOSE_FINISH and CLOSE_INVALIDATE. + (wget-errno-clobber.patch, boo#983660) + +------------------------------------------------------------------- +Fri Jul 22 12:34:02 UTC 2016 - [email protected] + +- Update wget-libproxy.patch: use libproxy's px_proxy_factory_free + instead of regular free in order to ensure the module destructors + are correctly running (boo#967601). + +------------------------------------------------------------------- New: ---- wget-errno-clobber.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ wget.spec ++++++ --- /var/tmp/diff_new_pack.alabR5/_old 2016-08-03 11:38:45.000000000 +0200 +++ /var/tmp/diff_new_pack.alabR5/_new 2016-08-03 11:38:45.000000000 +0200 @@ -32,6 +32,7 @@ Patch6: wget-1.14-no-ssl-comp.patch # PATCH-FIX-OPENSUSE fix pod syntax for perl 5.18 [email protected] Patch7: wget-fix-pod-syntax.diff +Patch8: wget-errno-clobber.patch BuildRequires: automake BuildRequires: gpgme-devel >= 0.4.2 BuildRequires: libcares-devel @@ -77,6 +78,7 @@ %endif %patch6 %patch7 -p1 +%patch8 -p1 %build %if 0%{?suse_version} > 1110 ++++++ wget-errno-clobber.patch ++++++ Index: wget-1.18/src/http.c =================================================================== --- wget-1.18.orig/src/http.c +++ wget-1.18/src/http.c @@ -1516,6 +1516,7 @@ persistent_available_p (const char *host active, registered connection". */ #define CLOSE_FINISH(fd) do { \ + int errno_sav = errno; \ if (!keep_alive) \ { \ if (pconn_active && (fd) == pconn.socket) \ @@ -1524,14 +1525,17 @@ persistent_available_p (const char *host fd_close (fd); \ fd = -1; \ } \ + errno = errno_sav; \ } while (0) #define CLOSE_INVALIDATE(fd) do { \ + int errno_sav = errno; \ if (pconn_active && (fd) == pconn.socket) \ invalidate_persistent (); \ else \ fd_close (fd); \ fd = -1; \ + errno = errno_sav; \ } while (0) struct http_stat ++++++ wget-libproxy.patch ++++++ --- /var/tmp/diff_new_pack.alabR5/_old 2016-08-03 11:38:45.000000000 +0200 +++ /var/tmp/diff_new_pack.alabR5/_new 2016-08-03 11:38:45.000000000 +0200 @@ -90,7 +90,7 @@ + } + for(i=0;proxies[i];i++) free(proxies[i]); + free(proxies); -+ free(pf); ++ px_proxy_factory_free(pf); + + if (!proxy || !*proxy) + return NULL;
