openSUSE Commits
Threads by month
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
September 2019
- 1 participants
- 2151 discussions
Hello community,
here is the log from the commit of package 000update-repos for openSUSE:Factory checked in at 2019-09-30 21:08:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/000update-repos (Old)
and /work/SRC/openSUSE:Factory/.000update-repos.new.2352 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "000update-repos"
Mon Sep 30 21:08:02 2019 rev:583 rq: version:unknown
Mon Sep 30 21:07:57 2019 rev:582 rq: version:unknown
Changes:
--------
New Changes file:
NO CHANGES FILE!!!
New:
----
15.0:update_1569862433.packages.xz
15.1:update_1569868151.packages.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
1
0
Hello community,
here is the log from the commit of package 000update-repos for openSUSE:Factory checked in at 2019-09-30 21:07:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/000update-repos (Old)
and /work/SRC/openSUSE:Factory/.000update-repos.new.2352 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "000update-repos"
Mon Sep 30 21:07:44 2019 rev:581 rq: version:unknown
Changes:
--------
New Changes file:
NO CHANGES FILE!!!
New:
----
factory:non-oss_1628.1.packages.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
1
0
Hello community,
here is the log from the commit of package 000update-repos for openSUSE:Factory checked in at 2019-09-30 21:07:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/000update-repos (Old)
and /work/SRC/openSUSE:Factory/.000update-repos.new.2352 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "000update-repos"
Mon Sep 30 21:07:41 2019 rev:580 rq: version:unknown
Changes:
--------
New Changes file:
NO CHANGES FILE!!!
New:
----
factory_20190926.packages.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
1
0
Hello community,
here is the log from the commit of package 000release-packages for openSUSE:Factory checked in at 2019-09-30 16:04:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/000release-packages (Old)
and /work/SRC/openSUSE:Factory/.000release-packages.new.2352 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "000release-packages"
Mon Sep 30 16:04:41 2019 rev:267 rq: version:unknown
Changes:
--------
New Changes file:
NO CHANGES FILE!!!
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ openSUSE-Addon-NonOss-release.spec ++++++
--- /var/tmp/diff_new_pack.0jcFxL/_old 2019-09-30 16:04:45.968359610 +0200
+++ /var/tmp/diff_new_pack.0jcFxL/_new 2019-09-30 16:04:45.972359599 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package openSUSE-Addon-NonOss-release (Version 20190927)
+# spec file for package openSUSE-Addon-NonOss-release (Version 20190930)
#
# Copyright (c) 2019 openSUSE.
#
@@ -16,16 +16,16 @@
Name: openSUSE-Addon-NonOss-release
%define product openSUSE-Addon-NonOss
Summary: openSUSE NonOSS Addon
-Version: 20190927
+Version: 20190930
Release: 0
License: BSD-3-Clause
Group: System/Fhs
Provides: %name-%version
Provides: product() = openSUSE-Addon-NonOss
-Provides: product(openSUSE-Addon-NonOss) = 20190927-0
+Provides: product(openSUSE-Addon-NonOss) = 20190930-0
Provides: product-label() = non%20oss%20addon
-Provides: product-cpeid() = cpe%3A%2Fo%3Aopensuse%3Aopensuse%2Daddon%2Dnonoss%3A20190927
+Provides: product-cpeid() = cpe%3A%2Fo%3Aopensuse%3Aopensuse%2Daddon%2Dnonoss%3A20190930
AutoReqProv: on
@@ -49,10 +49,10 @@
<product schemeversion="0">
<vendor>openSUSE</vendor>
<name>openSUSE-Addon-NonOss</name>
- <version>20190927</version>
+ <version>20190930</version>
<release>0</release>
<arch>%{_target_cpu}</arch>
- <cpeid>cpe:/o:opensuse:opensuse-addon-nonoss:20190927</cpeid>
+ <cpeid>cpe:/o:opensuse:opensuse-addon-nonoss:20190930</cpeid>
<register>
<pool>
</pool>
++++++ openSUSE-MicroOS-release.spec ++++++
--- /var/tmp/diff_new_pack.0jcFxL/_old 2019-09-30 16:04:45.992359546 +0200
+++ /var/tmp/diff_new_pack.0jcFxL/_new 2019-09-30 16:04:45.996359535 +0200
@@ -17,7 +17,7 @@
Name: openSUSE-MicroOS-release
-Version: 20190927
+Version: 20190930
Release: 0
Summary: openSUSE MicroOS
License: GPL-2.0-or-later
@@ -43,9 +43,9 @@
ExclusiveArch: %ix86 x86_64 ppc64le s390x aarch64
Provides: %name-%version
Provides: product() = openSUSE-MicroOS
-Provides: product(openSUSE-MicroOS) = 20190927-0
+Provides: product(openSUSE-MicroOS) = 20190930-0
Provides: product-label() = openSUSE%20MicroOS
-Provides: product-cpeid() = cpe%3A%2Fo%3Aopensuse%3Aopensuse%2Dmicroos%3A20190927
+Provides: product-cpeid() = cpe%3A%2Fo%3Aopensuse%3Aopensuse%2Dmicroos%3A20190930
Provides: product-url(releasenotes) = http%3A%2F%2Fdoc.opensuse.org%2Frelease%2Dnotes%2Fx86_64%2FopenSUSE%2FTumbleweed%2Frelease%2Dnotes%2DopenSUSE.rpm
Provides: product-endoflife()
Requires: product_flavor(openSUSE-MicroOS)
@@ -61,7 +61,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(dvd)
-Provides: product_flavor(openSUSE-MicroOS) = 20190927-0
+Provides: product_flavor(openSUSE-MicroOS) = 20190930-0
Summary: openSUSE MicroOS
%description dvd
@@ -77,7 +77,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(kubic-dvd)
-Provides: product_flavor(openSUSE-MicroOS) = 20190927-0
+Provides: product_flavor(openSUSE-MicroOS) = 20190930-0
Summary: openSUSE MicroOS
%description kubic-dvd
@@ -93,7 +93,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(appliance)
-Provides: product_flavor(openSUSE-MicroOS) = 20190927-0
+Provides: product_flavor(openSUSE-MicroOS) = 20190930-0
Summary: openSUSE MicroOS
%description appliance
@@ -109,7 +109,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(appliance-kubic)
-Provides: product_flavor(openSUSE-MicroOS) = 20190927-0
+Provides: product_flavor(openSUSE-MicroOS) = 20190930-0
Summary: openSUSE MicroOS
%description appliance-kubic
@@ -167,11 +167,11 @@
<product schemeversion="0">
<vendor>openSUSE</vendor>
<name>openSUSE-MicroOS</name>
- <version>20190927</version>
+ <version>20190930</version>
<release>0</release>
<endoflife></endoflife>
<arch>%{_target_cpu}</arch>
- <cpeid>cpe:/o:opensuse:opensuse-microos:20190927</cpeid>
+ <cpeid>cpe:/o:opensuse:opensuse-microos:20190930</cpeid>
<productline>openSUSE-MicroOS</productline>
<register>
<pool>
++++++ openSUSE-release.spec ++++++
--- /var/tmp/diff_new_pack.0jcFxL/_old 2019-09-30 16:04:46.016359482 +0200
+++ /var/tmp/diff_new_pack.0jcFxL/_new 2019-09-30 16:04:46.016359482 +0200
@@ -20,7 +20,7 @@
#define betaversion %{nil}
%define codename Tumbleweed
Name: openSUSE-release
-Version: 20190927
+Version: 20190930
Release: 0
# 0 is the product release, not the build release of this package
Summary: openSUSE Tumbleweed
@@ -55,7 +55,7 @@
Obsoletes: aaa_version
Obsoletes: openSUSE-Promo-release <= 11.1
Obsoletes: openSUSE-release-live <= 11.0
-Obsoletes: product_flavor(%{product}) < 20190927
+Obsoletes: product_flavor(%{product}) < 20190930
# bnc#826592
Provides: weakremover(kernel-default) < 3.11
Provides: weakremover(kernel-desktop) < 4.2
@@ -183,7 +183,7 @@
%include %{SOURCE100}
Provides: %name-%version
Provides: product() = openSUSE
-Provides: product(openSUSE) = 20190927-0
+Provides: product(openSUSE) = 20190930-0
%ifarch x86_64
Provides: product-register-target() = openSUSE%2DTumbleweed%2Dx86_64
%endif
@@ -197,7 +197,7 @@
Provides: product-register-target() = openSUSE%2DTumbleweed%2Daarch64
%endif
Provides: product-label() = openSUSE
-Provides: product-cpeid() = cpe%3A%2Fo%3Aopensuse%3Aopensuse%3A20190927
+Provides: product-cpeid() = cpe%3A%2Fo%3Aopensuse%3Aopensuse%3A20190930
Provides: product-url(releasenotes) = http%3A%2F%2Fdoc.opensuse.org%2Frelease%2Dnotes%2Fx86_64%2FopenSUSE%2FTumbleweed%2Frelease%2Dnotes%2DopenSUSE.rpm
Provides: product-url(repository) = http%3A%2F%2Fdownload.opensuse.org%2Ftumbleweed%2Frepo%2Foss%2F
Requires: product_flavor(openSUSE)
@@ -211,7 +211,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(ftp)
-Provides: product_flavor(openSUSE) = 20190927-0
+Provides: product_flavor(openSUSE) = 20190930-0
Summary: openSUSE Tumbleweed
%description ftp
@@ -226,7 +226,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(mini)
-Provides: product_flavor(openSUSE) = 20190927-0
+Provides: product_flavor(openSUSE) = 20190930-0
Summary: openSUSE Tumbleweed
%description mini
@@ -241,7 +241,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(dvd)
-Provides: product_flavor(openSUSE) = 20190927-0
+Provides: product_flavor(openSUSE) = 20190930-0
Summary: openSUSE Tumbleweed
%description dvd
@@ -256,7 +256,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(livecd-kde)
-Provides: product_flavor(openSUSE) = 20190927-0
+Provides: product_flavor(openSUSE) = 20190930-0
Summary: openSUSE Tumbleweed
%description livecd-kde
@@ -271,7 +271,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(livecd-x11)
-Provides: product_flavor(openSUSE) = 20190927-0
+Provides: product_flavor(openSUSE) = 20190930-0
Summary: openSUSE Tumbleweed
%description livecd-x11
@@ -286,7 +286,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(livecd-gnome)
-Provides: product_flavor(openSUSE) = 20190927-0
+Provides: product_flavor(openSUSE) = 20190930-0
Summary: openSUSE Tumbleweed
%description livecd-gnome
@@ -301,7 +301,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(livecd-xfce)
-Provides: product_flavor(openSUSE) = 20190927-0
+Provides: product_flavor(openSUSE) = 20190930-0
Summary: openSUSE Tumbleweed
%description livecd-xfce
@@ -316,7 +316,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(usb-kde)
-Provides: product_flavor(openSUSE) = 20190927-0
+Provides: product_flavor(openSUSE) = 20190930-0
Summary: openSUSE Tumbleweed
%description usb-kde
@@ -331,7 +331,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(usb-gnome)
-Provides: product_flavor(openSUSE) = 20190927-0
+Provides: product_flavor(openSUSE) = 20190930-0
Summary: openSUSE Tumbleweed
%description usb-gnome
@@ -346,7 +346,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(usb-x11)
-Provides: product_flavor(openSUSE) = 20190927-0
+Provides: product_flavor(openSUSE) = 20190930-0
Summary: openSUSE Tumbleweed
%description usb-x11
@@ -361,7 +361,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(appliance)
-Provides: product_flavor(openSUSE) = 20190927-0
+Provides: product_flavor(openSUSE) = 20190930-0
Summary: openSUSE Tumbleweed
%description appliance
@@ -435,10 +435,10 @@
<product schemeversion="0">
<vendor>openSUSE</vendor>
<name>openSUSE</name>
- <version>20190927</version>
+ <version>20190930</version>
<release>0</release>
<arch>%{_target_cpu}</arch>
- <cpeid>cpe:/o:opensuse:opensuse:20190927</cpeid>
+ <cpeid>cpe:/o:opensuse:opensuse:20190930</cpeid>
<productline>openSUSE</productline>
<register>
<pool>
1
0
Hello community,
here is the log from the commit of package 000product for openSUSE:Factory checked in at 2019-09-30 16:03:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/000product (Old)
and /work/SRC/openSUSE:Factory/.000product.new.2352 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "000product"
Mon Sep 30 16:03:46 2019 rev:1635 rq: version:unknown
Mon Sep 30 16:03:42 2019 rev:1634 rq: version:unknown
Mon Sep 30 16:03:38 2019 rev:1633 rq: version:unknown
Changes:
--------
New Changes file:
NO CHANGES FILE!!!
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
openSUSE-MicroOS-dvd5-dvd-x86_64.kiwi: same change
openSUSE-MicroOS-dvd5-kubic-dvd-x86_64.kiwi: same change
openSUSE-cd-mini-i586.kiwi: same change
openSUSE-cd-mini-x86_64.kiwi: same change
openSUSE-dvd5-dvd-i586.kiwi: same change
openSUSE-dvd5-dvd-x86_64.kiwi: same change
openSUSE-ftp-ftp-i586_x86_64.kiwi: same change
stub.kiwi: same change
++++++ openSUSE-Addon-NonOss.product ++++++
--- /var/tmp/diff_new_pack.uHh13T/_old 2019-09-30 16:03:55.744493269 +0200
+++ /var/tmp/diff_new_pack.uHh13T/_new 2019-09-30 16:03:55.748493259 +0200
@@ -4,7 +4,7 @@
<product>
<vendor>openSUSE</vendor>
<name>openSUSE-Addon-NonOss</name>
- <version>20190927</version>
+ <version>20190930</version>
<release>0</release>
<summary>openSUSE NonOSS Addon</summary>
<shortsummary>non oss addon</shortsummary>
++++++ openSUSE-MicroOS.product ++++++
--- /var/tmp/diff_new_pack.uHh13T/_old 2019-09-30 16:03:55.764493216 +0200
+++ /var/tmp/diff_new_pack.uHh13T/_new 2019-09-30 16:03:55.764493216 +0200
@@ -6,7 +6,7 @@
<name>openSUSE-MicroOS</name>
<releasepkgname>openSUSE-MicroOS-release</releasepkgname>
<endoflife/>
- <version>20190927</version>
+ <version>20190930</version>
<!-- release is no longer optional -->
<release>0</release>
<productline>openSUSE-MicroOS</productline>
++++++ openSUSE.product ++++++
--- /var/tmp/diff_new_pack.uHh13T/_old 2019-09-30 16:03:55.780493173 +0200
+++ /var/tmp/diff_new_pack.uHh13T/_new 2019-09-30 16:03:55.784493163 +0200
@@ -4,7 +4,7 @@
<product>
<vendor>openSUSE</vendor>
<name>openSUSE</name>
- <version>20190927</version>
+ <version>20190930</version>
<release>0</release>
<productline>openSUSE</productline>
1
0
Hello community,
here is the log from the commit of package unrar for openSUSE:Factory:NonFree checked in at 2019-09-30 16:03:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory:NonFree/unrar (Old)
and /work/SRC/openSUSE:Factory:NonFree/.unrar.new.2352 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "unrar"
Mon Sep 30 16:03:36 2019 rev:82 rq:733670 version:5.8.2
Changes:
--------
--- /work/SRC/openSUSE:Factory:NonFree/unrar/unrar.changes 2019-09-02 13:26:57.193294319 +0200
+++ /work/SRC/openSUSE:Factory:NonFree/.unrar.new.2352/unrar.changes 2019-09-30 16:03:47.784514453 +0200
@@ -1,0 +2,6 @@
+Fri Sep 27 11:30:14 UTC 2019 - Ismail Dönmez <idonmez(a)suse.com>
+
+- Update to version 5.8.2
+ * Based on WinRAR version 5.80 beta 2
+
+-------------------------------------------------------------------
Old:
----
unrarsrc-5.8.1.tar.gz
New:
----
unrarsrc-5.8.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ unrar.spec ++++++
--- /var/tmp/diff_new_pack.Psif68/_old 2019-09-30 16:03:49.700509354 +0200
+++ /var/tmp/diff_new_pack.Psif68/_new 2019-09-30 16:03:49.704509344 +0200
@@ -18,10 +18,10 @@
# majorversion should match the major version number.
%define majorversion 5
-%define libsuffix 5_8_1
+%define libsuffix 5_8_2
Name: unrar
-Version: 5.8.1
+Version: 5.8.2
Release: 0
Summary: A program to extract, test, and view RAR archives
License: NonFree
++++++ unrarsrc-5.8.1.tar.gz -> unrarsrc-5.8.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/unrar/arcread.cpp new/unrar/arcread.cpp
--- old/unrar/arcread.cpp 2019-08-29 22:34:42.000000000 +0200
+++ new/unrar/arcread.cpp 2019-09-26 10:35:32.000000000 +0200
@@ -1256,8 +1256,9 @@
Raw.Read(NameSize);
char FileName[NM];
- Raw.GetB((byte *)FileName,Min(NameSize,ASIZE(FileName)));
- FileName[NameSize]=0;
+ size_t ReadNameSize=Min(NameSize,ASIZE(FileName)-1);
+ Raw.GetB((byte *)FileName,ReadNameSize);
+ FileName[ReadNameSize]=0;
IntToExt(FileName,FileName,ASIZE(FileName));
CharToWide(FileName,FileHead.FileName,ASIZE(FileHead.FileName));
ConvertNameCase(FileHead.FileName);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/unrar/dll.rc new/unrar/dll.rc
--- old/unrar/dll.rc 2019-08-29 21:35:30.000000000 +0200
+++ new/unrar/dll.rc 2019-09-26 09:37:12.000000000 +0200
@@ -2,8 +2,8 @@
#include <commctrl.h>
VS_VERSION_INFO VERSIONINFO
-FILEVERSION 5, 80, 1, 3169
-PRODUCTVERSION 5, 80, 1, 3169
+FILEVERSION 5, 80, 2, 3196
+PRODUCTVERSION 5, 80, 2, 3196
FILEOS VOS__WINDOWS32
FILETYPE VFT_APP
{
@@ -14,8 +14,8 @@
VALUE "CompanyName", "Alexander Roshal\0"
VALUE "ProductName", "RAR decompression library\0"
VALUE "FileDescription", "RAR decompression library\0"
- VALUE "FileVersion", "5.80.1\0"
- VALUE "ProductVersion", "5.80.1\0"
+ VALUE "FileVersion", "5.80.2\0"
+ VALUE "ProductVersion", "5.80.2\0"
VALUE "LegalCopyright", "Copyright � Alexander Roshal 1993-2019\0"
VALUE "OriginalFilename", "Unrar.dll\0"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/unrar/errhnd.cpp new/unrar/errhnd.cpp
--- old/unrar/errhnd.cpp 2019-08-29 22:34:43.000000000 +0200
+++ new/unrar/errhnd.cpp 2019-09-26 10:35:33.000000000 +0200
@@ -328,7 +328,7 @@
bool ErrorHandler::GetSysErrMsg(wchar *Msg,size_t Size)
{
-#if !defined(SFX_MODULE) && !defined(SILENT)
+#ifndef SILENT
#ifdef _WIN_ALL
int ErrType=GetLastError();
if (ErrType!=0)
@@ -361,7 +361,7 @@
return;
#ifdef _WIN_ALL
wchar *CurMsg=Msg;
- while (CurMsg!=NULL)
+ while (CurMsg!=NULL) // Print string with \r\n as several strings to multiple lines.
{
while (*CurMsg=='\r' || *CurMsg=='\n')
CurMsg++;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/unrar/extract.cpp new/unrar/extract.cpp
--- old/unrar/extract.cpp 2019-08-29 22:34:43.000000000 +0200
+++ new/unrar/extract.cpp 2019-09-26 10:35:33.000000000 +0200
@@ -624,7 +624,6 @@
CurFile.Prealloc(Arc.FileHead.UnpSize);
Preallocated=Arc.FileHead.UnpSize;
}
-
CurFile.SetAllowDelete(!Cmd->KeepBroken);
bool FileCreateMode=!TestMode && !SkipSolid && Command!='P';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/unrar/os.hpp new/unrar/os.hpp
--- old/unrar/os.hpp 2019-08-29 22:34:43.000000000 +0200
+++ new/unrar/os.hpp 2019-09-26 10:35:33.000000000 +0200
@@ -133,7 +133,7 @@
#ifdef _UNIX
-#define NM 2048
+#define NM 2048
#include <unistd.h>
#include <sys/types.h>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/unrar/rar.hpp new/unrar/rar.hpp
--- old/unrar/rar.hpp 2019-08-29 22:34:43.000000000 +0200
+++ new/unrar/rar.hpp 2019-09-26 10:35:33.000000000 +0200
@@ -77,6 +77,9 @@
#include "rs.hpp"
#include "rs16.hpp"
+
+
+
#include "recvol.hpp"
#include "volume.hpp"
#include "smallfn.hpp"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/unrar/rdwrfn.hpp new/unrar/rdwrfn.hpp
--- old/unrar/rdwrfn.hpp 2019-08-29 22:34:43.000000000 +0200
+++ new/unrar/rdwrfn.hpp 2019-09-26 10:35:33.000000000 +0200
@@ -3,6 +3,7 @@
class CmdAdd;
class Unpack;
+class ArcFileSearch;
#if 0
// We use external i/o calls for Benchmark command.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/unrar/system.cpp new/unrar/system.cpp
--- old/unrar/system.cpp 2019-08-29 22:34:44.000000000 +0200
+++ new/unrar/system.cpp 2019-09-26 10:35:34.000000000 +0200
@@ -188,7 +188,9 @@
{
int CPUInfo[4];
__cpuid(CPUInfo, 0x80000000);
- uint MaxSupported=CPUInfo[0] & 0x7fffffff; // Maximum supported cpuid function.
+
+ // Maximum supported cpuid function. For example, Pentium M 755 returns 4 here.
+ uint MaxSupported=CPUInfo[0] & 0x7fffffff;
if (MaxSupported>=7)
{
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/unrar/unicode.cpp new/unrar/unicode.cpp
--- old/unrar/unicode.cpp 2019-08-29 22:34:44.000000000 +0200
+++ new/unrar/unicode.cpp 2019-09-26 10:35:34.000000000 +0200
@@ -489,6 +489,8 @@
wchar* wcslower(wchar *s)
{
#ifdef _WIN_ALL
+ // _wcslwr requires setlocale and we do not want to depend on setlocale
+ // in Windows. Also CharLower involves less overhead.
CharLower(s);
#else
for (wchar *c=s;*c!=0;c++)
@@ -503,6 +505,8 @@
wchar* wcsupper(wchar *s)
{
#ifdef _WIN_ALL
+ // _wcsupr requires setlocale and we do not want to depend on setlocale
+ // in Windows. Also CharUpper involves less overhead.
CharUpper(s);
#else
for (wchar *c=s;*c!=0;c++)
@@ -520,8 +524,9 @@
#if defined(_WIN_ALL)
// CharUpper is more reliable than towupper in Windows, which seems to be
// C locale dependent even in Unicode version. For example, towupper failed
- // to convert lowercase Russian characters.
- return (int)(INT_PTR)CharUpper((wchar *)(INT_PTR)ch);
+ // to convert lowercase Russian characters. Use 0xffff mask to prevent crash
+ // if value larger than 0xffff is passed to this function.
+ return (int)(INT_PTR)CharUpper((wchar *)(INT_PTR)(ch&0xffff));
#else
return towupper(ch);
#endif
@@ -532,8 +537,9 @@
{
#if defined(_WIN_ALL)
// CharLower is more reliable than towlower in Windows.
- // See comment for towupper above.
- return (int)(INT_PTR)CharLower((wchar *)(INT_PTR)ch);
+ // See comment for towupper above. Use 0xffff mask to prevent crash
+ // if value larger than 0xffff is passed to this function.
+ return (int)(INT_PTR)CharLower((wchar *)(INT_PTR)(ch&0xffff));
#else
return towlower(ch);
#endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/unrar/version.hpp new/unrar/version.hpp
--- old/unrar/version.hpp 2019-08-29 22:34:44.000000000 +0200
+++ new/unrar/version.hpp 2019-09-26 10:35:34.000000000 +0200
@@ -1,6 +1,6 @@
#define RARVER_MAJOR 5
#define RARVER_MINOR 80
-#define RARVER_BETA 1
-#define RARVER_DAY 30
-#define RARVER_MONTH 8
+#define RARVER_BETA 2
+#define RARVER_DAY 26
+#define RARVER_MONTH 9
#define RARVER_YEAR 2019
1
0
Hello community,
here is the log from the commit of package perl-Mojolicious for openSUSE:Factory checked in at 2019-09-30 16:03:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Mojolicious (Old)
and /work/SRC/openSUSE:Factory/.perl-Mojolicious.new.2352 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Mojolicious"
Mon Sep 30 16:03:32 2019 rev:116 rq:734054 version:8.25
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Mojolicious/perl-Mojolicious.changes 2019-09-16 10:52:43.239154216 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Mojolicious.new.2352/perl-Mojolicious.changes 2019-09-30 16:03:43.172526727 +0200
@@ -1,0 +2,9 @@
+Mon Sep 30 10:44:01 UTC 2019 - <timueller+perl(a)suse.de>
+
+- updated to 8.25
+ see /usr/share/doc/packages/perl-Mojolicious/Changes
+
+ 8.25 2019-09-29
+ - Added curfile function to Mojo::File. (Grinnz)
+
+-------------------------------------------------------------------
Old:
----
Mojolicious-8.24.tar.gz
New:
----
Mojolicious-8.25.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Mojolicious.spec ++++++
--- /var/tmp/diff_new_pack.YQ0pN3/_old 2019-09-30 16:03:44.396523470 +0200
+++ /var/tmp/diff_new_pack.YQ0pN3/_new 2019-09-30 16:03:44.400523459 +0200
@@ -17,7 +17,7 @@
Name: perl-Mojolicious
-Version: 8.24
+Version: 8.25
Release: 0
%define cpan_name Mojolicious
Summary: Real-time web framework
++++++ Mojolicious-8.24.tar.gz -> Mojolicious-8.25.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-8.24/Changes new/Mojolicious-8.25/Changes
--- old/Mojolicious-8.24/Changes 2019-09-11 22:25:59.000000000 +0200
+++ new/Mojolicious-8.25/Changes 2019-09-29 15:13:48.000000000 +0200
@@ -1,4 +1,7 @@
+8.25 2019-09-29
+ - Added curfile function to Mojo::File. (Grinnz)
+
8.24 2019-09-11
- Added EXPERIMENTAL context method to Mojo::Log.
- Added EXPERIMENTAL cleanup event to Mojo::IOLoop::Subprocess.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-8.24/META.json new/Mojolicious-8.25/META.json
--- old/Mojolicious-8.24/META.json 2019-09-12 00:32:28.000000000 +0200
+++ new/Mojolicious-8.25/META.json 2019-09-29 15:15:20.000000000 +0200
@@ -4,7 +4,7 @@
"Sebastian Riedel <sri(a)cpan.org>"
],
"dynamic_config" : 0,
- "generated_by" : "ExtUtils::MakeMaker version 7.36, CPAN::Meta::Converter version 2.150010",
+ "generated_by" : "ExtUtils::MakeMaker version 7.38, CPAN::Meta::Converter version 2.150010",
"license" : [
"artistic_2"
],
@@ -62,6 +62,6 @@
},
"x_IRC" : "irc://irc.freenode.net/#mojo"
},
- "version" : "8.24",
+ "version" : "8.25",
"x_serialization_backend" : "JSON::PP version 4.04"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-8.24/META.yml new/Mojolicious-8.25/META.yml
--- old/Mojolicious-8.24/META.yml 2019-09-12 00:32:28.000000000 +0200
+++ new/Mojolicious-8.25/META.yml 2019-09-29 15:15:20.000000000 +0200
@@ -7,7 +7,7 @@
configure_requires:
ExtUtils::MakeMaker: '0'
dynamic_config: 0
-generated_by: 'ExtUtils::MakeMaker version 7.36, CPAN::Meta::Converter version 2.150010'
+generated_by: 'ExtUtils::MakeMaker version 7.38, CPAN::Meta::Converter version 2.150010'
license: artistic_2
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -34,5 +34,5 @@
homepage: https://mojolicious.org
license: http://www.opensource.org/licenses/artistic-license-2.0
repository: https://github.com/mojolicious/mojo.git
-version: '8.24'
+version: '8.25'
x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-8.24/lib/Mojo/File.pm new/Mojolicious-8.25/lib/Mojo/File.pm
--- old/Mojolicious-8.24/lib/Mojo/File.pm 2019-07-31 17:58:31.000000000 +0200
+++ new/Mojolicious-8.25/lib/Mojo/File.pm 2019-09-25 21:36:04.000000000 +0200
@@ -20,7 +20,7 @@
use IO::File ();
use Mojo::Collection;
-our @EXPORT_OK = ('path', 'tempdir', 'tempfile');
+our @EXPORT_OK = ('curfile', 'path', 'tempdir', 'tempfile');
sub basename { File::Basename::basename ${shift()}, @_ }
@@ -38,6 +38,8 @@
return $self->new(-d $to ? ($to, File::Basename::basename $self) : $to);
}
+sub curfile { __PACKAGE__->new(Cwd::realpath((caller)[1])) }
+
sub dirname { $_[0]->new(scalar File::Basename::dirname ${$_[0]}) }
sub is_abs { file_name_is_absolute ${shift()} }
@@ -209,6 +211,13 @@
L<Mojo::File> implements the following functions, which can be imported
individually.
+=head2 curfile
+
+ my $path = curfile;
+
+Construct a new scalar-based L<Mojo::File> object for the absolute path to the
+current source file.
+
=head2 path
my $path = path;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-8.24/lib/Mojo/IOLoop/TLS.pm new/Mojolicious-8.25/lib/Mojo/IOLoop/TLS.pm
--- old/Mojolicious-8.24/lib/Mojo/IOLoop/TLS.pm 2019-06-28 23:17:52.000000000 +0200
+++ new/Mojolicious-8.25/lib/Mojo/IOLoop/TLS.pm 2019-09-25 21:21:29.000000000 +0200
@@ -1,7 +1,7 @@
package Mojo::IOLoop::TLS;
use Mojo::Base 'Mojo::EventEmitter';
-use Mojo::File 'path';
+use Mojo::File 'curfile';
use Mojo::IOLoop;
use Scalar::Util 'weaken';
@@ -17,8 +17,8 @@
# To regenerate the certificate run this command (28.06.2019)
# openssl req -x509 -newkey rsa:4096 -nodes -sha256 -out server.crt \
# -keyout server.key -days 7300 -subj '/CN=localhost'
-my $CERT = path(__FILE__)->sibling('resources', 'server.crt')->to_string;
-my $KEY = path(__FILE__)->sibling('resources', 'server.key')->to_string;
+my $CERT = curfile->sibling('resources', 'server.crt')->to_string;
+my $KEY = curfile->sibling('resources', 'server.key')->to_string;
sub DESTROY { shift->_cleanup }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-8.24/lib/Mojo/UserAgent.pm new/Mojolicious-8.25/lib/Mojo/UserAgent.pm
--- old/Mojolicious-8.24/lib/Mojo/UserAgent.pm 2019-06-26 00:25:06.000000000 +0200
+++ new/Mojolicious-8.25/lib/Mojo/UserAgent.pm 2019-09-24 08:57:04.000000000 +0200
@@ -385,7 +385,8 @@
my $tx = $ua->put('[::1]:3000' => {'Content-Type' => 'text/plain'} => 'Hi!');
# Quick JSON API request with Basic authentication
- my $value = $ua->get('https://sri:t3st@example.com/test.json')->result->json;
+ my $url = Mojo::URL->new('https://example.com/test.json')->userinfo('sri:☃');
+ my $value = $ua->get($url)->result->json;
# JSON POST (application/json) with TLS certificate authentication
my $tx = $ua->cert('tls.crt')->key('tls.key')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-8.24/lib/Mojolicious/Command/Author/generate/app.pm new/Mojolicious-8.25/lib/Mojolicious/Command/Author/generate/app.pm
--- old/Mojolicious-8.24/lib/Mojolicious/Command/Author/generate/app.pm 2019-06-29 21:18:51.000000000 +0200
+++ new/Mojolicious-8.25/lib/Mojolicious/Command/Author/generate/app.pm 2019-09-25 21:21:29.000000000 +0200
@@ -113,8 +113,8 @@
use strict;
use warnings;
-use FindBin;
-BEGIN { unshift @INC, "$FindBin::Bin/../lib" }
+use Mojo::File 'curfile';
+use lib curfile->dirname->sibling('lib')->to_string;
use Mojolicious::Commands;
# Start command line interface for application
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-8.24/lib/Mojolicious/Guides/Contributing.pod new/Mojolicious-8.25/lib/Mojolicious/Guides/Contributing.pod
--- old/Mojolicious-8.24/lib/Mojolicious/Guides/Contributing.pod 2019-08-19 16:20:18.000000000 +0200
+++ new/Mojolicious-8.25/lib/Mojolicious/Guides/Contributing.pod 2019-09-24 09:00:24.000000000 +0200
@@ -207,8 +207,8 @@
2/3 majority vote.
Votes should be public if possible, so non-members can participate as well.
-Non-members that regularly have a positive impact on decisions should be
-considered for core team membership.
+Non-members that regularly have a positive impact on decisions and participate
+in IRC discussions should be considered for core team membership.
The pumpkin-holder has veto rights on all decisions and may select their
successor.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-8.24/lib/Mojolicious/Guides/Cookbook.pod new/Mojolicious-8.25/lib/Mojolicious/Guides/Cookbook.pod
--- old/Mojolicious-8.24/lib/Mojolicious/Guides/Cookbook.pod 2019-05-29 13:51:24.000000000 +0200
+++ new/Mojolicious-8.25/lib/Mojolicious/Guides/Cookbook.pod 2019-09-25 21:21:29.000000000 +0200
@@ -1753,7 +1753,7 @@
package MyApp;
use Mojo::Base 'Mojolicious';
- use Mojo::File 'path';
+ use Mojo::File 'curfile';
use Mojo::Home;
# Every CPAN module needs a version
@@ -1763,7 +1763,7 @@
my $self = shift;
# Switch to installable home directory
- $self->home(Mojo::Home->new(path(__FILE__)->sibling('MyApp')));
+ $self->home(Mojo::Home->new(curfile->sibling('MyApp')));
# Switch to installable "public" directory
$self->static->paths->[0] = $self->home->child('public');
@@ -1789,8 +1789,8 @@
use strict;
use warnings;
- use FindBin;
- BEGIN { unshift @INC, "$FindBin::Bin/../lib" }
+ use Mojo::File 'curfile';
+ use lib curfile->dirname->sibling('lib')->to_string;
use Mojolicious::Commands;
# Start command line interface for application
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-8.24/lib/Mojolicious/Guides/Growing.pod new/Mojolicious-8.25/lib/Mojolicious/Guides/Growing.pod
--- old/Mojolicious-8.24/lib/Mojolicious/Guides/Growing.pod 2018-11-01 16:18:21.000000000 +0100
+++ new/Mojolicious-8.25/lib/Mojolicious/Guides/Growing.pod 2019-09-25 21:21:29.000000000 +0200
@@ -341,8 +341,8 @@
use Test::Mojo;
# Include application
- use FindBin;
- require "$FindBin::Bin/../myapp.pl";
+ use Mojo::File 'curfile';
+ require curfile->dirname->sibling('myapp.pl');
# Allow 302 redirect responses
my $t = Test::Mojo->new;
@@ -747,16 +747,17 @@
$ mkdir script
$ mv myapp.pl script/my_app
-Just a few small details change, instead of L<lib> we now use L<FindBin> and
-C<@INC>, allowing us to start the application from outside its home directory.
+Just a few small details change, instead of a relative path to L<lib> we now
+use L<Mojo::File> to get an absolute path, allowing us to start the application
+from outside its home directory.
#!/usr/bin/env perl
use strict;
use warnings;
- use FindBin;
- BEGIN { unshift @INC, "$FindBin::Bin/../lib" }
+ use Mojo::File 'curfile';
+ use lib curfile->dirname->sibling('lib')->to_string;
use Mojolicious::Commands;
# Start command line interface for application
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-8.24/lib/Mojolicious/Guides/Rendering.pod new/Mojolicious-8.25/lib/Mojolicious/Guides/Rendering.pod
--- old/Mojolicious-8.24/lib/Mojolicious/Guides/Rendering.pod 2018-12-01 14:35:43.000000000 +0100
+++ new/Mojolicious-8.25/lib/Mojolicious/Guides/Rendering.pod 2019-09-25 21:21:29.000000000 +0200
@@ -1170,13 +1170,13 @@
package Mojolicious::Plugin::AlertAssets;
use Mojo::Base 'Mojolicious::Plugin';
- use Mojo::File 'path';
+ use Mojo::File 'curfile';
sub register {
my ($self, $app) = @_;
# Append "templates" and "public" directories
- my $base = path(__FILE__)->sibling('AlertAssets');
+ my $base = curfile->sibling('AlertAssets');
push @{$app->renderer->paths}, $base->child('templates')->to_string;
push @{$app->static->paths}, $base->child('public')->to_string;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-8.24/lib/Mojolicious/Guides/Tutorial.pod new/Mojolicious-8.25/lib/Mojolicious/Guides/Tutorial.pod
--- old/Mojolicious-8.24/lib/Mojolicious/Guides/Tutorial.pod 2019-09-12 00:31:23.000000000 +0200
+++ new/Mojolicious-8.25/lib/Mojolicious/Guides/Tutorial.pod 2019-09-25 21:21:29.000000000 +0200
@@ -1003,11 +1003,11 @@
L<Test::Mojo>.
use Test::More;
- use Mojo::File 'path';
+ use Mojo::File 'curfile';
use Test::Mojo;
# Portably point to "../myapp.pl"
- my $script = path(__FILE__)->dirname->sibling('myapp.pl');
+ my $script = curfile->dirname->sibling('myapp.pl');
my $t = Test::Mojo->new($script);
$t->get_ok('/')->status_is(200)->content_like(qr/Funky/);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-8.24/lib/Mojolicious/Renderer.pm new/Mojolicious-8.25/lib/Mojolicious/Renderer.pm
--- old/Mojolicious-8.24/lib/Mojolicious/Renderer.pm 2019-09-11 22:25:14.000000000 +0200
+++ new/Mojolicious-8.25/lib/Mojolicious/Renderer.pm 2019-09-25 21:21:29.000000000 +0200
@@ -3,7 +3,7 @@
use Mojo::Cache;
use Mojo::DynamicMethods;
-use Mojo::File 'path';
+use Mojo::File qw(curfile path);
use Mojo::JSON 'encode_json';
use Mojo::Loader 'data_section';
use Mojo::Util qw(decamelize encode gzip md5_sum monkey_patch);
@@ -18,7 +18,7 @@
has paths => sub { [] };
# Bundled templates
-my $TEMPLATES = path(__FILE__)->sibling('resources', 'templates');
+my $TEMPLATES = curfile->sibling('resources', 'templates');
sub DESTROY { Mojo::Util::_teardown($_) for @{shift->{namespaces}} }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-8.24/lib/Mojolicious/Static.pm new/Mojolicious-8.25/lib/Mojolicious/Static.pm
--- old/Mojolicious-8.24/lib/Mojolicious/Static.pm 2019-06-21 22:49:06.000000000 +0200
+++ new/Mojolicious-8.25/lib/Mojolicious/Static.pm 2019-09-25 21:21:29.000000000 +0200
@@ -4,12 +4,12 @@
use Mojo::Asset::File;
use Mojo::Asset::Memory;
use Mojo::Date;
-use Mojo::File 'path';
+use Mojo::File qw(curfile path);
use Mojo::Loader qw(data_section file_is_binary);
use Mojo::Util qw(encode md5_sum trim);
# Bundled files
-my $PUBLIC = path(__FILE__)->sibling('resources', 'public');
+my $PUBLIC = curfile->sibling('resources', 'public');
my %EXTRA = $PUBLIC->list_tree->map(
sub { join('/', @{$_->to_rel($PUBLIC)}), $_->realpath->to_string })->each;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-8.24/lib/Mojolicious.pm new/Mojolicious-8.25/lib/Mojolicious.pm
--- old/Mojolicious-8.24/lib/Mojolicious.pm 2019-09-11 22:25:14.000000000 +0200
+++ new/Mojolicious-8.25/lib/Mojolicious.pm 2019-09-12 00:33:09.000000000 +0200
@@ -59,7 +59,7 @@
has validator => sub { Mojolicious::Validator->new };
our $CODENAME = 'Supervillain';
-our $VERSION = '8.24';
+our $VERSION = '8.25';
sub BUILD_DYNAMIC {
my ($class, $method, $dyn_methods) = @_;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-8.24/lib/Test/Mojo.pm new/Mojolicious-8.25/lib/Test/Mojo.pm
--- old/Mojolicious-8.24/lib/Test/Mojo.pm 2019-06-21 22:48:45.000000000 +0200
+++ new/Mojolicious-8.25/lib/Test/Mojo.pm 2019-09-25 21:21:29.000000000 +0200
@@ -928,8 +928,8 @@
L<Mojolicious::Plugin::JSONConfig> for tests.
# Load application script relative to the "t" directory
- use Mojo::File 'path';
- my $t = Test::Mojo->new(path(__FILE__)->dirname->sibling('myapp.pl'));
+ use Mojo::File 'curfile';
+ my $t = Test::Mojo->new(curfile->dirname->sibling('myapp.pl'));
=head2 options_ok
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-8.24/t/mojo/base.t new/Mojolicious-8.25/t/mojo/base.t
--- old/Mojolicious-8.24/t/mojo/base.t 2019-05-31 21:29:01.000000000 +0200
+++ new/Mojolicious-8.25/t/mojo/base.t 2019-09-25 21:21:29.000000000 +0200
@@ -2,8 +2,8 @@
use Test::More;
-use FindBin;
-use lib "$FindBin::Bin/lib";
+use Mojo::File 'curfile';
+use lib curfile->sibling('lib')->to_string;
package Mojo::BaseTest;
use Mojo::Base -strict;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-8.24/t/mojo/bytestream.t new/Mojolicious-8.25/t/mojo/bytestream.t
--- old/Mojolicious-8.24/t/mojo/bytestream.t 2019-05-31 21:28:51.000000000 +0200
+++ new/Mojolicious-8.25/t/mojo/bytestream.t 2019-09-25 21:21:29.000000000 +0200
@@ -1,7 +1,6 @@
use Mojo::Base -strict;
use Test::More;
-use FindBin;
use Mojo::ByteStream 'b';
# Tap into method chain
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-8.24/t/mojo/daemon.t new/Mojolicious-8.25/t/mojo/daemon.t
--- old/Mojolicious-8.24/t/mojo/daemon.t 2019-05-31 21:28:43.000000000 +0200
+++ new/Mojolicious-8.25/t/mojo/daemon.t 2019-09-25 21:21:29.000000000 +0200
@@ -6,9 +6,8 @@
}
use Test::More;
-use FindBin;
use IO::Socket::INET;
-use Mojo::File 'path';
+use Mojo::File qw(curfile path);
use Mojo::IOLoop;
use Mojo::Log;
use Mojo::Server::Daemon;
@@ -79,14 +78,14 @@
# Loading
my $daemon = Mojo::Server::Daemon->new;
-my $path = "$FindBin::Bin/lib/../lib/myapp.pl";
+my $path = curfile->sibling('lib', '..', 'lib', 'myapp.pl');
is ref $daemon->load_app($path), 'Mojolicious::Lite', 'right reference';
is $daemon->app->config('script'), path($path)->to_abs, 'right script name';
is ref $daemon->build_app('TestApp'), 'TestApp', 'right reference';
is ref $daemon->app, 'TestApp', 'right reference';
# Load broken app
-my $bin = $FindBin::Bin;
+my $bin = curfile->dirname;
eval { Mojo::Server::Daemon->new->load_app("$bin/lib/Mojo/LoaderTest/A.pm"); };
like $@, qr/did not return an application object/, 'right error';
eval {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-8.24/t/mojo/daemon_ipv6_tls.t new/Mojolicious-8.25/t/mojo/daemon_ipv6_tls.t
--- old/Mojolicious-8.24/t/mojo/daemon_ipv6_tls.t 2019-06-12 12:20:58.000000000 +0200
+++ new/Mojolicious-8.25/t/mojo/daemon_ipv6_tls.t 2019-09-25 21:21:29.000000000 +0200
@@ -5,8 +5,8 @@
use Test::More;
use Mojo::IOLoop::TLS;
-use FindBin;
-use lib "$FindBin::Bin/lib";
+use Mojo::File 'curfile';
+use lib curfile->sibling('lib')->to_string;
plan skip_all => 'set TEST_IPV6 to enable this test (developer only!)'
unless $ENV{TEST_IPV6} || $ENV{TEST_ALL};
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-8.24/t/mojo/exception.t new/Mojolicious-8.25/t/mojo/exception.t
--- old/Mojolicious-8.24/t/mojo/exception.t 2019-07-17 12:33:13.000000000 +0200
+++ new/Mojolicious-8.25/t/mojo/exception.t 2019-09-25 21:21:29.000000000 +0200
@@ -2,7 +2,7 @@
use Test::More;
use Mojo::Exception qw(check raise);
-use Mojo::File 'path';
+use Mojo::File 'curfile';
package MojoTest::X::Foo;
use Mojo::Base 'Mojo::Exception';
@@ -79,7 +79,7 @@
like wrapper1(2)->frames->[0][3], qr/wrapper1/, 'right subroutine';
# Inspect (UTF-8)
-my $file = path(__FILE__)->sibling('exception', 'utf8.txt');
+my $file = curfile->sibling('exception', 'utf8.txt');
$e = Mojo::Exception->new("Whatever at $file line 3.");
is_deeply $e->lines_before, [], 'no lines';
is_deeply $e->line, [], 'no line';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-8.24/t/mojo/file.t new/Mojolicious-8.25/t/mojo/file.t
--- old/Mojolicious-8.24/t/mojo/file.t 2019-07-31 17:58:20.000000000 +0200
+++ new/Mojolicious-8.25/t/mojo/file.t 2019-09-25 21:21:29.000000000 +0200
@@ -6,7 +6,7 @@
use File::Basename qw(basename dirname);
use File::Spec::Functions qw(abs2rel canonpath catfile rel2abs splitdir);
use File::Temp;
-use Mojo::File qw(path tempdir tempfile);
+use Mojo::File qw(curfile path tempdir tempfile);
use Mojo::Util 'encode';
# Constructor
@@ -54,6 +54,10 @@
is path('file.t')->to_abs->dirname, scalar dirname(rel2abs 'file.t'),
'same path';
+# Current file
+ok curfile->is_abs, 'path is absolute';
+is curfile, realpath(__FILE__), 'same path';
+
# Checks
ok path(__FILE__)->to_abs->is_abs, 'path is absolute';
ok !path('file.t')->is_abs, 'path is not absolute';
@@ -193,8 +197,8 @@
# List
is_deeply path('does_not_exist')->list->to_array, [], 'no files';
-is_deeply path(__FILE__)->list->to_array, [], 'no files';
-my $lib = path(__FILE__)->sibling('lib', 'Mojo');
+is_deeply curfile->list->to_array, [], 'no files';
+my $lib = curfile->sibling('lib', 'Mojo');
my @files = map { path($lib)->child(split '/') } (
'DeprecationTest.pm', 'LoaderException.pm',
'LoaderException2.pm', 'TestConnectProxy.pm'
@@ -217,7 +221,7 @@
# List tree
is_deeply path('does_not_exist')->list_tree->to_array, [], 'no files';
-is_deeply path(__FILE__)->list_tree->to_array, [], 'no files';
+is_deeply curfile->list_tree->to_array, [], 'no files';
@files = map { path($lib)->child(split '/') } (
'BaseTest/Base1.pm', 'BaseTest/Base2.pm',
'BaseTest/Base3.pm', 'DeprecationTest.pm',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-8.24/t/mojo/home.t new/Mojolicious-8.25/t/mojo/home.t
--- old/Mojolicious-8.24/t/mojo/home.t 2019-07-29 19:19:59.000000000 +0200
+++ new/Mojolicious-8.25/t/mojo/home.t 2019-09-25 21:21:29.000000000 +0200
@@ -3,8 +3,7 @@
BEGIN { $ENV{MOJO_REACTOR} = 'Mojo::Reactor::Poll' }
use Test::More;
-use FindBin;
-use Mojo::File 'path';
+use Mojo::File qw(curfile path);
use Mojo::HelloWorld;
use Mojo::Home;
@@ -60,8 +59,8 @@
is_deeply $home->to_array, path->to_abs->to_array, 'right path detected';
# Path generation
-$home = Mojo::Home->new($FindBin::Bin);
-my $path = path($FindBin::Bin);
+$home = Mojo::Home->new(curfile->dirname);
+my $path = curfile->dirname;
is $home->rel_file('foo.txt'), $path->child('foo.txt'), 'right path';
is $home->rel_file('foo/bar.txt'), $path->child('foo', 'bar.txt'), 'right path';
is $home->rel_file('foo/bar.txt')->basename, 'bar.txt', 'right result';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-8.24/t/mojo/hypnotoad.t new/Mojolicious-8.25/t/mojo/hypnotoad.t
--- old/Mojolicious-8.24/t/mojo/hypnotoad.t 2019-05-31 21:29:00.000000000 +0200
+++ new/Mojolicious-8.25/t/mojo/hypnotoad.t 2019-09-25 21:21:29.000000000 +0200
@@ -7,9 +7,8 @@
plan skip_all => 'set TEST_HYPNOTOAD to enable this test (developer only!)'
unless $ENV{TEST_HYPNOTOAD} || $ENV{TEST_ALL};
-use FindBin;
use IO::Socket::INET;
-use Mojo::File 'tempdir';
+use Mojo::File qw(curfile tempdir);
use Mojo::IOLoop::Server;
use Mojo::Server::Hypnotoad;
use Mojo::UserAgent;
@@ -95,7 +94,7 @@
EOF
# Start
-my $prefix = "$FindBin::Bin/../../script";
+my $prefix = curfile->dirname->dirname->sibling('script');
open my $start, '-|', $^X, "$prefix/hypnotoad", $script;
sleep 3;
sleep 1 while !_port($port2);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-8.24/t/mojo/loader.t new/Mojolicious-8.25/t/mojo/loader.t
--- old/Mojolicious-8.24/t/mojo/loader.t 2019-05-31 21:28:51.000000000 +0200
+++ new/Mojolicious-8.25/t/mojo/loader.t 2019-09-25 21:21:29.000000000 +0200
@@ -4,8 +4,8 @@
use Test::More;
-use FindBin;
-use lib "$FindBin::Bin/lib";
+use Mojo::File 'curfile';
+use lib curfile->sibling('lib')->to_string;
use Mojo::Loader
qw(data_section file_is_binary find_packages find_modules load_class);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-8.24/t/mojo/morbo.t new/Mojolicious-8.25/t/mojo/morbo.t
--- old/Mojolicious-8.24/t/mojo/morbo.t 2019-05-31 21:28:41.000000000 +0200
+++ new/Mojolicious-8.25/t/mojo/morbo.t 2019-09-25 21:21:29.000000000 +0200
@@ -7,8 +7,8 @@
plan skip_all => 'set TEST_MORBO to enable this test (developer only!)'
unless $ENV{TEST_MORBO} || $ENV{TEST_ALL};
-use FindBin;
-use lib "$FindBin::Bin/lib";
+use Mojo::File 'curfile';
+use lib curfile->sibling('lib')->to_string;
use IO::Socket::INET;
use Mojo::File 'tempdir';
@@ -38,7 +38,7 @@
# Start
my $port = Mojo::IOLoop::Server->generate_port;
-my $prefix = "$FindBin::Bin/../../script";
+my $prefix = curfile->dirname->dirname->sibling('script');
my $pid = open my $server, '-|', $^X, "$prefix/morbo", '-l',
"http://127.0.0.1:$port", $script;
sleep 1 while !_port($port);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-8.24/t/mojo/prefork.t new/Mojolicious-8.25/t/mojo/prefork.t
--- old/Mojolicious-8.24/t/mojo/prefork.t 2019-05-31 21:28:41.000000000 +0200
+++ new/Mojolicious-8.25/t/mojo/prefork.t 2019-09-25 21:21:29.000000000 +0200
@@ -7,7 +7,7 @@
plan skip_all => 'set TEST_PREFORK to enable this test (developer only!)'
unless $ENV{TEST_PREFORK} || $ENV{TEST_ALL};
-use Mojo::File qw(path tempdir);
+use Mojo::File qw(curfile path tempdir);
use Mojo::IOLoop::Server;
use Mojo::Server::Prefork;
use Mojo::UserAgent;
@@ -32,7 +32,7 @@
ok !-e $file, 'file has been cleaned up';
# Bad PID file
-my $bad = path(__FILE__)->sibling('does_not_exist', 'test.pid');
+my $bad = curfile->sibling('does_not_exist', 'test.pid');
$prefork = Mojo::Server::Prefork->new(pid_file => $bad);
$prefork->app->log->level('debug')->unsubscribe('message');
my $log = '';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-8.24/t/mojo/template.t new/Mojolicious-8.25/t/mojo/template.t
--- old/Mojolicious-8.24/t/mojo/template.t 2019-07-07 23:47:35.000000000 +0200
+++ new/Mojolicious-8.25/t/mojo/template.t 2019-09-25 21:21:29.000000000 +0200
@@ -1,7 +1,7 @@
use Mojo::Base -strict;
use Test::More;
-use Mojo::File 'path';
+use Mojo::File qw(curfile path);
use Mojo::Template;
package MyTemplateExporter;
@@ -1125,13 +1125,13 @@
# File
$mt = Mojo::Template->new;
-my $file = path(__FILE__)->sibling('templates', 'test.mt');
+my $file = curfile->sibling('templates', 'test.mt');
$output = $mt->render_file($file, 3);
like $output, qr/23\nHello World!/, 'file';
# Exception in file
$mt = Mojo::Template->new;
-$file = path(__FILE__)->sibling('templates', 'exception.mt');
+$file = curfile->sibling('templates', 'exception.mt');
$output = $mt->render_file($file);
isa_ok $output, 'Mojo::Exception', 'right exception';
like $output->message, qr/exception\.mt line 2/, 'message contains filename';
@@ -1159,7 +1159,7 @@
# Exception with UTF-8 context
$mt = Mojo::Template->new;
-$file = path(__FILE__)->sibling('templates', 'utf8_exception.mt');
+$file = curfile->sibling('templates', 'utf8_exception.mt');
$output = $mt->render_file($file);
isa_ok $output, 'Mojo::Exception', 'right exception';
is $output->lines_before->[0][1], '☃', 'right line';
@@ -1178,7 +1178,7 @@
# Different encodings
$mt = Mojo::Template->new(encoding => 'shift_jis');
-$file = path(__FILE__)->sibling('templates', 'utf8_exception.mt');
+$file = curfile->sibling('templates', 'utf8_exception.mt');
ok !eval { $mt->render_file($file) }, 'file not rendered';
like $@, qr/invalid encoding/, 'right error';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-8.24/t/mojo/user_agent_unix.t new/Mojolicious-8.25/t/mojo/user_agent_unix.t
--- old/Mojolicious-8.24/t/mojo/user_agent_unix.t 2019-05-31 21:28:50.000000000 +0200
+++ new/Mojolicious-8.25/t/mojo/user_agent_unix.t 2019-09-25 21:21:29.000000000 +0200
@@ -3,11 +3,10 @@
BEGIN { $ENV{MOJO_REACTOR} = 'Mojo::Reactor::Poll' }
use Test::More;
-use Mojo::File 'tempdir';
+use Mojo::File qw(curfile tempdir);
use IO::Socket::UNIX;
-use FindBin;
-use lib "$FindBin::Bin/lib";
+use lib curfile->sibling('lib')->to_string;
plan skip_all => 'set TEST_UNIX to enable this test (developer only!)'
unless $ENV{TEST_UNIX} || $ENV{TEST_ALL};
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-8.24/t/mojo/util.t new/Mojolicious-8.25/t/mojo/util.t
--- old/Mojolicious-8.24/t/mojo/util.t 2019-07-31 21:08:53.000000000 +0200
+++ new/Mojolicious-8.25/t/mojo/util.t 2019-09-25 21:21:29.000000000 +0200
@@ -1,11 +1,10 @@
use Mojo::Base -strict;
-use FindBin;
-use lib "$FindBin::Bin/lib";
+use Mojo::File 'curfile';
+use lib curfile->sibling('lib')->to_string;
use Test::More;
use Mojo::ByteStream 'b';
-use Mojo::File 'path';
use Mojo::DeprecationTest;
use Sub::Util 'subname';
@@ -116,7 +115,7 @@
# extract_usage
is extract_usage, "extract_usage test!\n", 'right result';
-is extract_usage(path($FindBin::Bin, 'lib', 'myapp.pl')),
+is extract_usage(curfile->sibling('lib', 'myapp.pl')),
"USAGE: myapp.pl daemon\n\n test\n123\n", 'right result';
=head1 SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-8.24/t/mojo/websocket_proxy.t new/Mojolicious-8.25/t/mojo/websocket_proxy.t
--- old/Mojolicious-8.24/t/mojo/websocket_proxy.t 2019-05-31 21:28:51.000000000 +0200
+++ new/Mojolicious-8.25/t/mojo/websocket_proxy.t 2019-09-25 21:21:29.000000000 +0200
@@ -4,8 +4,8 @@
use Test::More;
-use FindBin;
-use lib "$FindBin::Bin/lib";
+use Mojo::File 'curfile';
+use lib curfile->sibling('lib')->to_string;
use Mojo::IOLoop;
use Mojo::IOLoop::Server;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-8.24/t/mojo/websocket_proxy_tls.t new/Mojolicious-8.25/t/mojo/websocket_proxy_tls.t
--- old/Mojolicious-8.24/t/mojo/websocket_proxy_tls.t 2019-05-31 21:28:58.000000000 +0200
+++ new/Mojolicious-8.25/t/mojo/websocket_proxy_tls.t 2019-09-25 21:21:29.000000000 +0200
@@ -5,8 +5,8 @@
use Test::More;
use Mojo::IOLoop::TLS;
-use FindBin;
-use lib "$FindBin::Bin/lib";
+use Mojo::File 'curfile';
+use lib curfile->sibling('lib')->to_string;
plan skip_all => 'set TEST_TLS to enable this test (developer only!)'
unless $ENV{TEST_TLS} || $ENV{TEST_ALL};
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-8.24/t/mojolicious/app.t new/Mojolicious-8.25/t/mojolicious/app.t
--- old/Mojolicious-8.24/t/mojolicious/app.t 2019-05-31 21:29:09.000000000 +0200
+++ new/Mojolicious-8.25/t/mojolicious/app.t 2019-09-25 21:21:29.000000000 +0200
@@ -9,8 +9,8 @@
use Test::Mojo;
use Test::More;
-use FindBin;
-use lib "$FindBin::Bin/lib";
+use Mojo::File 'curfile';
+use lib curfile->sibling('lib')->to_string;
use Mojo::Asset::File;
use Mojo::Date;
@@ -407,7 +407,7 @@
$t->app->log->unsubscribe(message => $cb);
# Check Last-Modified header for static files
-my $path = path($FindBin::Bin, 'public_dev', 'hello.txt');
+my $path = curfile->sibling('public_dev', 'hello.txt');
my $size = Mojo::Asset::File->new(path => $path)->size;
my $mtime
= Mojo::Date->new(Mojo::Asset::File->new(path => $path)->mtime)->to_string;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-8.24/t/mojolicious/commands.t new/Mojolicious-8.25/t/mojolicious/commands.t
--- old/Mojolicious-8.24/t/mojolicious/commands.t 2019-07-03 16:54:52.000000000 +0200
+++ new/Mojolicious-8.25/t/mojolicious/commands.t 2019-09-25 21:21:29.000000000 +0200
@@ -7,8 +7,8 @@
use Test::More;
-use FindBin;
-use lib "$FindBin::Bin/lib";
+use Mojo::File 'curfile';
+use lib curfile->sibling('lib')->to_string;
use Mojo::File qw(path tempdir);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-8.24/t/mojolicious/dispatcher_lite_app.t new/Mojolicious-8.25/t/mojolicious/dispatcher_lite_app.t
--- old/Mojolicious-8.24/t/mojolicious/dispatcher_lite_app.t 2019-05-31 21:29:06.000000000 +0200
+++ new/Mojolicious-8.25/t/mojolicious/dispatcher_lite_app.t 2019-09-25 21:21:29.000000000 +0200
@@ -5,8 +5,8 @@
use Test::Mojo;
use Test::More;
-use FindBin;
-use lib "$FindBin::Bin/lib";
+use Mojo::File 'curfile';
+use lib curfile->sibling('lib')->to_string;
use Mojo::Message::Response;
use Mojolicious::Lite;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-8.24/t/mojolicious/embedded_app.t new/Mojolicious-8.25/t/mojolicious/embedded_app.t
--- old/Mojolicious-8.24/t/mojolicious/embedded_app.t 2019-05-31 21:29:12.000000000 +0200
+++ new/Mojolicious-8.25/t/mojolicious/embedded_app.t 2019-09-25 21:21:29.000000000 +0200
@@ -6,6 +6,7 @@
}
use Test::More;
+use Mojo::File 'curfile';
use Mojolicious::Lite;
use Test::Mojo;
@@ -13,8 +14,7 @@
app->secrets(['very secr3t!']);
# Mount full external application a few times
-use FindBin;
-my $external = "$FindBin::Bin/external/script/my_app";
+my $external = curfile->sibling('external', 'script', 'my_app');
plugin Mount => {'/x/1' => $external};
plugin(Mount => ('/x/♥' => $external));
plugin Mount => {'MOJOLICIOUS.ORG/' => $external};
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-8.24/t/mojolicious/embedded_lite_app.t new/Mojolicious-8.25/t/mojolicious/embedded_lite_app.t
--- old/Mojolicious-8.24/t/mojolicious/embedded_lite_app.t 2019-05-31 21:29:14.000000000 +0200
+++ new/Mojolicious-8.25/t/mojolicious/embedded_lite_app.t 2019-09-25 21:21:29.000000000 +0200
@@ -7,8 +7,8 @@
use Test::More;
-use FindBin;
-use lib "$FindBin::Bin/lib";
+use Mojo::File 'curfile';
+use lib curfile->sibling('lib')->to_string;
use Mojolicious::Lite;
use Test::Mojo;
@@ -75,14 +75,14 @@
app->routes->namespaces(['MyTestApp']);
# Mount full external application a few times
-my $external = "$FindBin::Bin/external/myapp.pl";
+my $external = curfile->sibling('external', 'myapp.pl');
plugin Mount => {'/x/1' => $external};
my $route = plugin(Mount => ('/x/♥' => $external))->to(message => 'works 2!');
is $route->to->{message}, 'works 2!', 'right message';
is $route->pattern->defaults->{app}->same_name, 'myapp', 'right name';
-plugin Mount => {'/y/1' => "$FindBin::Bin/external/myapp2.pl"};
+plugin Mount => {'/y/1' => curfile->sibling('external', 'myapp2.pl')};
plugin Mount => {'mojolicious.org' => $external};
-plugin(Mount => ('/y/♥' => "$FindBin::Bin/external/myapp2.pl"))
+plugin(Mount => ('/y/♥' => curfile->sibling('external', 'myapp2.pl')))
->to(message => 'works 3!');
plugin Mount => {'MOJOLICIOUS.ORG/' => $external};
plugin Mount => {'*.example.com' => $external};
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-8.24/t/mojolicious/external/script/my_app new/Mojolicious-8.25/t/mojolicious/external/script/my_app
--- old/Mojolicious-8.24/t/mojolicious/external/script/my_app 2017-11-06 18:19:39.000000000 +0100
+++ new/Mojolicious-8.25/t/mojolicious/external/script/my_app 2019-09-25 21:21:29.000000000 +0200
@@ -3,8 +3,8 @@
use strict;
use warnings;
-use FindBin;
-BEGIN { unshift @INC, "$FindBin::Bin/../lib" }
+use Mojo::File 'curfile';
+use lib curfile->dirname->sibling('lib')->to_string;
use Mojolicious::Commands;
# Start command line interface for application
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-8.24/t/mojolicious/external_app.t new/Mojolicious-8.25/t/mojolicious/external_app.t
--- old/Mojolicious-8.24/t/mojolicious/external_app.t 2019-05-31 21:29:10.000000000 +0200
+++ new/Mojolicious-8.25/t/mojolicious/external_app.t 2019-09-25 21:21:29.000000000 +0200
@@ -7,8 +7,8 @@
use Test::More;
-use FindBin;
-use lib "$FindBin::Bin/external/lib";
+use Mojo::File 'curfile';
+use lib curfile->sibling('external', 'lib')->to_string;
use Test::Mojo;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-8.24/t/mojolicious/external_lite_app.t new/Mojolicious-8.25/t/mojolicious/external_lite_app.t
--- old/Mojolicious-8.24/t/mojolicious/external_lite_app.t 2019-05-31 21:29:15.000000000 +0200
+++ new/Mojolicious-8.25/t/mojolicious/external_lite_app.t 2019-09-25 21:21:29.000000000 +0200
@@ -8,9 +8,9 @@
use Test::More;
use Test::Mojo;
-use Mojo::File 'path';
+use Mojo::File 'curfile';
-my $t = Test::Mojo->new(path(__FILE__)->dirname->child('external', 'myapp.pl'));
+my $t = Test::Mojo->new(curfile->sibling('external', 'myapp.pl'));
# Template from myapp.pl
$t->get_ok('/')->status_is(200)->content_is(<<'EOF');
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-8.24/t/mojolicious/json_config_lite_app.t new/Mojolicious-8.25/t/mojolicious/json_config_lite_app.t
--- old/Mojolicious-8.24/t/mojolicious/json_config_lite_app.t 2019-06-20 18:42:17.000000000 +0200
+++ new/Mojolicious-8.25/t/mojolicious/json_config_lite_app.t 2019-09-25 21:21:29.000000000 +0200
@@ -7,7 +7,7 @@
use Test::Mojo;
use Test::More;
-use Mojo::File 'path';
+use Mojo::File 'curfile';
use Mojolicious::Lite;
# Default
@@ -21,7 +21,7 @@
# Load plugins
my $config
= plugin j_s_o_n_config => {default => {foo => 'baz', hello => 'there'}};
-my $path = path(__FILE__)->to_abs->sibling('json_config_lite_app_abs.json');
+my $path = curfile->sibling('json_config_lite_app_abs.json');
plugin JSONConfig => {file => $path};
is $config->{foo}, 'bar', 'right value';
is $config->{hello}, 'there', 'right value';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-8.24/t/mojolicious/layouted_lite_app.t new/Mojolicious-8.25/t/mojolicious/layouted_lite_app.t
--- old/Mojolicious-8.24/t/mojolicious/layouted_lite_app.t 2019-05-31 21:29:09.000000000 +0200
+++ new/Mojolicious-8.25/t/mojolicious/layouted_lite_app.t 2019-09-25 21:21:29.000000000 +0200
@@ -5,8 +5,8 @@
use Test::Mojo;
use Test::More;
-use FindBin;
-use lib "$FindBin::Bin/lib";
+use Mojo::File 'curfile';
+use lib curfile->sibling('lib')->to_string;
use Mojolicious::Lite;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-8.24/t/mojolicious/production_app.t new/Mojolicious-8.25/t/mojolicious/production_app.t
--- old/Mojolicious-8.24/t/mojolicious/production_app.t 2019-05-31 21:29:10.000000000 +0200
+++ new/Mojolicious-8.25/t/mojolicious/production_app.t 2019-09-25 21:21:29.000000000 +0200
@@ -8,8 +8,8 @@
use Test::Mojo;
use Test::More;
-use FindBin;
-use lib "$FindBin::Bin/lib";
+use Mojo::File 'curfile';
+use lib curfile->sibling('lib')->to_string;
my $t = Test::Mojo->new('MojoliciousTest');
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-8.24/t/mojolicious/static_lite_app.t new/Mojolicious-8.25/t/mojolicious/static_lite_app.t
--- old/Mojolicious-8.24/t/mojolicious/static_lite_app.t 2019-05-31 21:29:07.000000000 +0200
+++ new/Mojolicious-8.25/t/mojolicious/static_lite_app.t 2019-09-25 21:21:29.000000000 +0200
@@ -6,7 +6,7 @@
use Test::More;
use Mojo::Asset::Memory;
use Mojo::Date;
-use Mojo::File 'path';
+use Mojo::File 'curfile';
use Mojolicious::Lite;
hook after_static => sub { shift->app->log->debug('Static file served') };
@@ -36,7 +36,7 @@
get '/file' => sub {
my $c = shift;
- $c->reply->file(path(__FILE__)->dirname->child('templates2', '42.html.ep'));
+ $c->reply->file(curfile->sibling('templates2', '42.html.ep'));
};
my $t = Test::Mojo->new;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Mojolicious-8.24/t/mojolicious/testing_app.t new/Mojolicious-8.25/t/mojolicious/testing_app.t
--- old/Mojolicious-8.24/t/mojolicious/testing_app.t 2019-05-31 21:29:12.000000000 +0200
+++ new/Mojolicious-8.25/t/mojolicious/testing_app.t 2019-09-25 21:21:29.000000000 +0200
@@ -8,8 +8,8 @@
use Test::Mojo;
use Test::More;
-use FindBin;
-use lib "$FindBin::Bin/lib";
+use Mojo::File 'curfile';
+use lib curfile->sibling('lib')->to_string;
my $t = Test::Mojo->new('MojoliciousTest');
my $success = '';
1
0
Hello community,
here is the log from the commit of package servicelog for openSUSE:Factory checked in at 2019-09-30 16:03:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/servicelog (Old)
and /work/SRC/openSUSE:Factory/.servicelog.new.2352 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "servicelog"
Mon Sep 30 16:03:17 2019 rev:27 rq:734036 version:1.1.15
Changes:
--------
--- /work/SRC/openSUSE:Factory/servicelog/servicelog.changes 2017-10-24 22:24:26.105448724 +0200
+++ /work/SRC/openSUSE:Factory/.servicelog.new.2352/servicelog.changes 2019-09-30 16:03:33.968551221 +0200
@@ -1,0 +2,7 @@
+Thu Sep 26 07:03:34 UTC 2019 - Josef Möllers <josef.moellers(a)suse.com>
+
+- version update to 1.1.15
+ - Code cleanup, minor bug fixes
+ [jsc#SLE-8266]
+
+-------------------------------------------------------------------
Old:
----
servicelog-1.1.14.tar.gz
New:
----
servicelog-1.1.15.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ servicelog.spec ++++++
--- /var/tmp/diff_new_pack.TKFXHl/_old 2019-09-30 16:03:35.376547474 +0200
+++ /var/tmp/diff_new_pack.TKFXHl/_new 2019-09-30 16:03:35.376547474 +0200
@@ -1,7 +1,7 @@
#
# spec file for package servicelog
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,15 +12,15 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: servicelog
-Version: 1.1.14
+Version: 1.1.15
Release: 0
Summary: Servicelog Tools
-License: GPL-2.0
+License: GPL-2.0-only
Group: System/Management
BuildRequires: librtas-devel
BuildRequires: libservicelog-devel
++++++ servicelog-1.1.14.tar.gz -> servicelog-1.1.15.tar.gz ++++++
++++ 2436 lines of diff (skipped)
++++ retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/servicelog-1.1.14/config/compile new/servicelog-1.1.15/config/compile
--- old/servicelog-1.1.14/config/compile 2016-03-16 09:39:31.000000000 +0100
+++ new/servicelog-1.1.15/config/compile 2019-09-10 10:45:19.000000000 +0200
@@ -3,7 +3,7 @@
scriptversion=2012-10-14.11; # UTC
-# Copyright (C) 1999-2014 Free Software Foundation, Inc.
+# Copyright (C) 1999-2013 Free Software Foundation, Inc.
# Written by Tom Tromey <tromey(a)cygnus.com>.
#
# This program is free software; you can redistribute it and/or modify
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/servicelog-1.1.14/config/config.h.in new/servicelog-1.1.15/config/config.h.in
--- old/servicelog-1.1.14/config/config.h.in 2016-03-16 09:39:28.000000000 +0100
+++ new/servicelog-1.1.15/config/config.h.in 2019-09-10 10:45:18.000000000 +0200
@@ -86,6 +86,9 @@
*/
#undef LT_OBJDIR
+/* Define to 1 if your C compiler doesn't accept -c and -o together. */
+#undef NO_MINUS_C_MINUS_O
+
/* Name of package */
#undef PACKAGE
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/servicelog-1.1.14/config/missing new/servicelog-1.1.15/config/missing
--- old/servicelog-1.1.14/config/missing 2016-03-16 09:39:31.000000000 +0100
+++ new/servicelog-1.1.15/config/missing 2019-09-10 10:45:19.000000000 +0200
@@ -1,9 +1,9 @@
#! /bin/sh
# Common wrapper for a few potentially missing GNU programs.
-scriptversion=2013-10-28.13; # UTC
+scriptversion=2012-06-26.16; # UTC
-# Copyright (C) 1996-2014 Free Software Foundation, Inc.
+# Copyright (C) 1996-2013 Free Software Foundation, Inc.
# Originally written by Fran,cois Pinard <pinard(a)iro.umontreal.ca>, 1996.
# This program is free software; you can redistribute it and/or modify
@@ -160,7 +160,7 @@
;;
autom4te*)
echo "You might have modified some maintainer files that require"
- echo "the 'autom4te' program to be rebuilt."
+ echo "the 'automa4te' program to be rebuilt."
program_details 'autom4te'
;;
bison*|yacc*)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/servicelog-1.1.14/configure.ac new/servicelog-1.1.15/configure.ac
--- old/servicelog-1.1.14/configure.ac 2016-03-16 09:39:12.000000000 +0100
+++ new/servicelog-1.1.15/configure.ac 2019-09-10 10:45:09.000000000 +0200
@@ -1,10 +1,10 @@
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
-m4_define([ppu_version], 1.1.14)
+m4_define([ppu_version], 1.1.15)
AC_PREREQ([2.69])
-AC_INIT([servicelog], ppu_version, [hegdevasant(a)in.ibm.com, kamaleshb(a)in.ibm.com]
+AC_INIT([servicelog], ppu_version, [hegdevasant(a)linux.ibm.com, sbhat(a)linux.ibm.com]
AC_CONFIG_AUX_DIR([config])
AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE([-Wall subdir-objects -Werror foreign])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/servicelog-1.1.14/servicelog.spec.in new/servicelog-1.1.15/servicelog.spec.in
--- old/servicelog-1.1.14/servicelog.spec.in 2016-03-16 09:39:12.000000000 +0100
+++ new/servicelog-1.1.15/servicelog.spec.in 2019-09-10 10:45:09.000000000 +0200
@@ -49,6 +49,9 @@
%{__rm} -rf $RPM_BUILD_ROOT
%changelog
+* Tue Sep 10 2019 Vasant Hegde <hegdevasant at linux.vnet.ibm.com> 1.1.15
+- Code cleanup, minor bug fixes
+
* Wed Mar 16 2016 Vasant Hegde <hegdevasant at linux.vnet.ibm.com> 1.1.14
- PowerKVM is a distro, not a platform
- Replace popen with native time function
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/servicelog-1.1.14/src/log_repair_action.c new/servicelog-1.1.15/src/log_repair_action.c
--- old/servicelog-1.1.14/src/log_repair_action.c 2016-03-16 09:39:12.000000000 +0100
+++ new/servicelog-1.1.15/src/log_repair_action.c 2019-09-10 10:45:09.000000000 +0200
@@ -36,7 +36,8 @@
#include "platform.h"
#define BUF_SIZE 512
-#define ARG_LIST "l:p:d:n:t:qvVh"
+
+#define ARG_LIST "l:p:d:n:t:qVh"
static struct option long_options[] = {
{"location", required_argument, NULL, 'l'},
@@ -45,7 +46,6 @@
{"note", required_argument, NULL, 'n'},
{"quiet", no_argument, NULL, 'q'},
{"type", required_argument, NULL, 't'},
-// {"api_version", required_argument, NULL, 'v'},
{"help", no_argument, NULL, 'h'},
{"version", no_argument, NULL, 'V'},
{0,0,0,0}
@@ -70,11 +70,8 @@
printf(" (useful for indicating who performed the repair)\n");
printf(" -q: quiet mode (log the repair action without prompting\n");
printf(" for confirmation)\n");
- printf(" -t: type of event this repair action is for (v0.2.9)\n");
- printf(" Valid types: (os, ppc64_rtas, or ppc64_encl)\n");
+ printf(" -t: type of event this repair action is for (deprecated)\n");
printf(" -V: print the version of the command and exit\n");
-// printf(" -v: Version of API to use. \n");
-// printf(" Valid arguments: '-v 1', otherwise defaults to v0.2.9)\n");
printf(" -h: print this help text and exit\n");
return;
@@ -99,7 +96,6 @@
struct sl_repair_action repair_action, *ra = &repair_action;
struct sl_event *events = NULL;
time_t epoch;
- int api_version = 0; // Short for version 0.2.9
int platform = 0;
pid_t cpid; /* Pid of child */
int rc; /* Holds return value */
@@ -146,10 +142,6 @@
printf("%s: Version %s\n", argv[0], VERSION);
exit(0);
break;
- case 'v':
- if ((strncmp(optarg, "1", 1) == 0))
- api_version = 1;
- break;
case 't': /* type - Added for backwards v29 compatibility */
/* Not actually used. Loc code is sufficient for device lookup with v1 API */
// if ((rc = valid_type(optarg)) == -1) {
@@ -313,6 +305,9 @@
"(y to continue, any other key to cancel): ",
ctime(&epoch), ra->location, ra->procedure);
dummy = fgets(buf, BUF_SIZE, stdin);
+ if (!dummy)
+ return 4;
+
if (strlen(buf) != 2 || buf[0] != 'y') {
printf("\nCancelled.\n");
return 0;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/servicelog-1.1.14/src/servicelog.c new/servicelog-1.1.15/src/servicelog.c
--- old/servicelog-1.1.14/src/servicelog.c 2016-03-16 09:39:12.000000000 +0100
+++ new/servicelog-1.1.15/src/servicelog.c 2019-09-10 10:45:09.000000000 +0200
@@ -175,11 +175,13 @@
rc = servicelog_event_query(slog, "", &event);
if (rc != 0) {
fprintf(stderr, "%s\n", servicelog_error(slog));
+ servicelog_close(slog);
exit(2);
}
rc = servicelog_event_print(stdout, event, 1);
if (rc < 0) {
fprintf(stderr, "%s\n", servicelog_error(slog));
+ servicelog_close(slog);
exit(2);
}
servicelog_event_free(event);
@@ -188,11 +190,13 @@
rc = servicelog_event_query(slog, query, &event);
if (rc != 0) {
fprintf(stderr, "%s\n", servicelog_error(slog));
+ servicelog_close(slog);
exit(2);
}
rc = servicelog_event_print(stdout, event, 1);
if (rc < 0) {
fprintf(stderr, "%s\n", servicelog_error(slog));
+ servicelog_close(slog);
exit(2);
}
servicelog_event_free(event);
@@ -217,6 +221,11 @@
printf("Servicelog Statistics:\n\n");
rc = servicelog_event_query(slog, "", &event);
+ if (rc != 0) {
+ fprintf(stderr, "%s\n", servicelog_error(slog));
+ servicelog_close(slog);
+ exit(2);
+ }
e = event;
while (e) {
n_events++;
@@ -294,6 +303,11 @@
rc = servicelog_repair_query(slog, "", &repair);
+ if (rc != 0) {
+ fprintf(stderr, "%s\n", servicelog_error(slog));
+ servicelog_close(slog);
+ exit(2);
+ }
r = repair;
while (r) {
n_repair++;
@@ -303,6 +317,11 @@
printf("Logged Repair Actions: %d\n", n_repair);
rc = servicelog_notify_query(slog, "", ¬ify);
+ if (rc != 0) {
+ fprintf(stderr, "%s\n", servicelog_error(slog));
+ servicelog_close(slog);
+ exit(2);
+ }
n = notify;
while (n) {
n_notify++;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/servicelog-1.1.14/src/servicelog_notify.c new/servicelog-1.1.15/src/servicelog_notify.c
--- old/servicelog-1.1.14/src/servicelog_notify.c 2016-03-16 09:39:12.000000000 +0100
+++ new/servicelog-1.1.15/src/servicelog_notify.c 2019-09-10 10:45:09.000000000 +0200
@@ -155,7 +155,7 @@
main(int argc, char *argv[])
{
int option_index, rc, action=ACTION_UNSPECIFIED;
- int flag_type=0, flag_cmd=0, flag_match=0, flag_id=0, flag_method=0;
+ int flag_id=0;
int add_flags=0, method=0, servicable = 0;
/*
@@ -254,11 +254,9 @@
case 't':
type_tmp = optarg;
add_flags++;
- flag_type = 1;
break;
case 'c':
command = optarg;
- flag_cmd = 1;
/* verify command argument */
snprintf(cmdbuf, 256, "%s", command);
@@ -285,7 +283,6 @@
case 'm':
match = optarg;
add_flags++;
- flag_match = 1;
break;
case 'M':
method = valid_method_arg(optarg);
@@ -295,7 +292,6 @@
exit(1);
}
add_flags++;
- flag_method = 1;
break;
case 'h': /* help */
print_usage();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/servicelog-1.1.14/src/v29_servicelog_manage.c new/servicelog-1.1.15/src/v29_servicelog_manage.c
--- old/servicelog-1.1.14/src/v29_servicelog_manage.c 2016-03-16 09:39:12.000000000 +0100
+++ new/servicelog-1.1.15/src/v29_servicelog_manage.c 2019-09-10 10:45:09.000000000 +0200
@@ -271,6 +271,9 @@
"from the servicelog?\n");
printf("Enter 'yes' to continue > ");
tmp = fgets(buf, 80, stdin);
+ if (!tmp)
+ exit(2);
+
if (strcasecmp(buf, "yes\n")) {
printf("Operation cancelled.\n");
exit(4);
@@ -330,6 +333,9 @@
"notification tools from the servicelog?\n");
printf("Enter 'yes' to continue > ");
tmp = fgets(buf, 80, stdin);
+ if (!tmp)
+ exit(2);
+
if (strcasecmp(buf, "yes\n")) {
printf("Operation cancelled.\n");
exit(4);
@@ -378,7 +384,10 @@
" - Delete anything older than 1 year\n",
age, age);
printf("Enter 'yes' to continue > ");
- fgets(buf, 80, stdin);
+ tmp = fgets(buf, 80, stdin);
+ if (!tmp)
+ exit(2);
+
if (strcasecmp(buf, "yes\n")) {
printf("Operation cancelled.\n");
break;
1
0
Hello community,
here is the log from the commit of package udns for openSUSE:Factory checked in at 2019-09-30 16:03:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/udns (Old)
and /work/SRC/openSUSE:Factory/.udns.new.2352 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "udns"
Mon Sep 30 16:03:11 2019 rev:2 rq:734035 version:0.4
Changes:
--------
--- /work/SRC/openSUSE:Factory/udns/udns.changes 2017-09-22 21:34:47.445248707 +0200
+++ /work/SRC/openSUSE:Factory/.udns.new.2352/udns.changes 2019-09-30 16:03:31.340558215 +0200
@@ -1,0 +2,7 @@
+Thu Sep 26 11:25:33 UTC 2019 - Stefan Brüns <stefan.bruens(a)rwth-aachen.de>
+
+- Fix initialization problem in dns_add_srch()
+ * Fix-dns_add_srch-initialization-problem.patch
+- Cleanup spec file
+
+-------------------------------------------------------------------
New:
----
Fix-dns_add_srch-initialization-problem.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ udns.spec ++++++
--- /var/tmp/diff_new_pack.hFA4mC/_old 2019-09-30 16:03:32.172556001 +0200
+++ /var/tmp/diff_new_pack.hFA4mC/_new 2019-09-30 16:03:32.180555979 +0200
@@ -1,7 +1,7 @@
#
# spec file for package udns
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -20,11 +20,12 @@
Version: 0.4
Release: 0
Summary: DNS resolver tools
-License: LGPL-2.1
+License: LGPL-2.1-or-later
Group: Productivity/Networking/DNS/Utilities
-Url: http://www.corpit.ru/mjt/udns.html
+URL: http://www.corpit.ru/mjt/udns.html
Source: http://www.corpit.ru/mjt/udns/udns-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
+# PATCH-FIX-UPSTREAM -- http://www.corpit.ru/pipermail/udns/2018q2/000186.html
+Patch0: Fix-dns_add_srch-initialization-problem.patch
%description
UDNS is a stub DNS resolver library with ability to perform both
@@ -52,8 +53,10 @@
%prep
%setup -q
+%patch0
%build
+# not an autotools configure
./configure --enable-ipv6
make %{?_smp_mflags} shared
@@ -69,22 +72,20 @@
%postun -n libudns0 -p /sbin/ldconfig
%files
-%defattr(-,root,root,-)
-%doc COPYING.LGPL NEWS NOTES TODO
+%doc NEWS NOTES TODO
+%license COPYING.LGPL
%{_bindir}/dnsget
%{_bindir}/rblcheck
%{_bindir}/ex-rdns
-%{_mandir}/man1/dnsget.1%{ext_man}
-%{_mandir}/man1/rblcheck.1%{ext_man}
+%{_mandir}/man1/dnsget.1%{?ext_man}
+%{_mandir}/man1/rblcheck.1%{?ext_man}
%files -n libudns0
-%defattr(-,root,root,-)
%{_libdir}/libudns.so.0
%files devel
-%defattr(-,root,root,-)
%{_libdir}/libudns.so
%{_includedir}/udns.h
-%{_mandir}/man3/udns.3%{ext_man}
+%{_mandir}/man3/udns.3%{?ext_man}
%changelog
++++++ Fix-dns_add_srch-initialization-problem.patch ++++++
Source: http://www.corpit.ru/pipermail/udns/2018q2/000184.html
dns_add_srch() initialization problem
udns seems to insist on twice repeating queries for nonexistent domain
names with my local search path appended, which seems to be due to a
bug in dns_init_resolvconf()?
--- udns_init.c.orig 2018-04-30 07:41:41.533514452 +0300
+++ udns_init.c 2018-04-30 07:41:43.789510882 +0300
@@ -204,7 +204,7 @@
dns_set_opts(ctx, v);
/* if still no search list, use local domain name */
- if (has_srch &&
+ if (!has_srch &&
gethostname(buf, sizeof(buf) - 1) == 0 &&
(v = strchr(buf, '.')) != NULL &&
*++v != '\0')
1
0
Hello community,
here is the log from the commit of package flashfocus for openSUSE:Factory checked in at 2019-09-30 16:03:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/flashfocus (Old)
and /work/SRC/openSUSE:Factory/.flashfocus.new.2352 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "flashfocus"
Mon Sep 30 16:03:05 2019 rev:9 rq:734029 version:2.1.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/flashfocus/flashfocus.changes 2019-09-18 13:10:34.412700833 +0200
+++ /work/SRC/openSUSE:Factory/.flashfocus.new.2352/flashfocus.changes 2019-09-30 16:03:17.208595824 +0200
@@ -1,0 +2,11 @@
+Mon Sep 30 08:48:24 UTC 2019 - mvetter(a)suse.com
+
+- Update to 2.1.1:
+ * Fixed: #39 Crashes when switching tags on dwm
+ * Handle null NET_WM_STATE when detecting fullscreen
+- Changes from 2.1.0:
+ * Added: flash-fullscreen/no-flash-fullscreen config options
+ * Fixed: Exit without traceback for non-supported wayland WMs
+ * Fixed: Cleaned up flakey tests
+
+-------------------------------------------------------------------
Old:
----
v2.0.5.tar.gz
New:
----
v2.1.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ flashfocus.spec ++++++
--- /var/tmp/diff_new_pack.r4aCHX/_old 2019-09-30 16:03:26.164571990 +0200
+++ /var/tmp/diff_new_pack.r4aCHX/_new 2019-09-30 16:03:26.164571990 +0200
@@ -17,7 +17,7 @@
Name: flashfocus
-Version: 2.0.5
+Version: 2.1.1
Release: 0
Summary: Focus animations for tiling window managers
License: MIT
++++++ v2.0.5.tar.gz -> v2.1.1.tar.gz ++++++
/work/SRC/openSUSE:Factory/flashfocus/v2.0.5.tar.gz /work/SRC/openSUSE:Factory/.flashfocus.new.2352/v2.1.1.tar.gz differ: char 13, line 1
1
0