Hello community, here is the log from the commit of package libstorage-ng for openSUSE:Factory checked in at 2020-07-01 14:26:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libstorage-ng (Old) and /work/SRC/openSUSE:Factory/.libstorage-ng.new.3060 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libstorage-ng" Wed Jul 1 14:26:02 2020 rev:87 rq:817872 version:4.3.32 Changes: -------- --- /work/SRC/openSUSE:Factory/libstorage-ng/libstorage-ng.changes 2020-06-27 23:21:55.629693443 +0200 +++ /work/SRC/openSUSE:Factory/.libstorage-ng.new.3060/libstorage-ng.changes 2020-07-01 14:26:08.342664124 +0200 @@ -1,0 +2,34 @@ +Tue Jun 30 12:38:47 UTC 2020 - [email protected] + +- merge gh#openSUSE/libstorage-ng#753 +- Fixes for %_libexecdir changing to /usr/libexec +- 4.3.32 + +-------------------------------------------------------------------- +Mon Jun 29 15:04:21 UTC 2020 - [email protected] + +- merge gh#openSUSE/libstorage-ng#758 +- extended integration test +- added integration test +- added const +- coding style +- minor code and test improvements +- 4.3.31 + +-------------------------------------------------------------------- +Mon Jun 29 13:54:13 UTC 2020 - [email protected] + +- merge gh#openSUSE/libstorage-ng#757 +- also add a UsedFeature for pmem devices +- 4.3.30 + +-------------------------------------------------------------------- +Mon Jun 29 12:41:11 UTC 2020 - [email protected] + +- merge gh#openSUSE/libstorage-ng#756 +- merge gh#openSUSE/libstorage-ng#754 +- added UsedFeature for NVMe disks (for bsc#1172866) +- Bsc1172866 +- 4.3.29 + +-------------------------------------------------------------------- Old: ---- libstorage-ng-4.3.28.tar.xz New: ---- libstorage-ng-4.3.32.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libstorage-ng.spec ++++++ --- /var/tmp/diff_new_pack.VEMjAv/_old 2020-07-01 14:26:09.114666518 +0200 +++ /var/tmp/diff_new_pack.VEMjAv/_new 2020-07-01 14:26:09.118666530 +0200 @@ -18,7 +18,7 @@ %define libname %{name}1 Name: libstorage-ng -Version: 4.3.28 +Version: 4.3.32 Release: 0 Summary: Library for storage management License: GPL-2.0-only @@ -206,13 +206,13 @@ %files utils %defattr(-,root,root) -%dir %{_libexecdir}/libstorage-ng -%{_libexecdir}/libstorage-ng/utils +%dir %{_prefix}/lib/libstorage-ng +%{_prefix}/lib/libstorage-ng/utils %files integration-tests %defattr(-,root,root) %{python3_sitelib}/storageitu.py* -%dir %{_libexecdir}/libstorage-ng -%{_libexecdir}/libstorage-ng/integration-tests +%dir %{_prefix}/lib/libstorage-ng +%{_prefix}/lib/libstorage-ng/integration-tests %changelog ++++++ libstorage-ng-4.3.28.tar.xz -> libstorage-ng-4.3.32.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.3.28/LIBVERSION new/libstorage-ng-4.3.32/LIBVERSION --- old/libstorage-ng-4.3.28/LIBVERSION 2020-06-22 10:23:32.000000000 +0200 +++ new/libstorage-ng-4.3.32/LIBVERSION 2020-06-30 14:38:47.000000000 +0200 @@ -1 +1 @@ -1.39.0 +1.41.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.3.28/VERSION new/libstorage-ng-4.3.32/VERSION --- old/libstorage-ng-4.3.28/VERSION 2020-06-22 10:23:32.000000000 +0200 +++ new/libstorage-ng-4.3.32/VERSION 2020-06-30 14:38:47.000000000 +0200 @@ -1 +1 @@ -4.3.28 +4.3.32 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.3.28/examples/SystemInfo/test-cmd-dmsetup-info.cc new/libstorage-ng-4.3.32/examples/SystemInfo/test-cmd-dmsetup-info.cc --- old/libstorage-ng-4.3.28/examples/SystemInfo/test-cmd-dmsetup-info.cc 2020-06-22 10:23:32.000000000 +0200 +++ new/libstorage-ng-4.3.32/examples/SystemInfo/test-cmd-dmsetup-info.cc 2020-06-30 14:38:47.000000000 +0200 @@ -8,13 +8,13 @@ void -test_cmddmsetupinfo(SystemInfo& system_info) +test_cmd_dmsetup_info(SystemInfo& system_info) { try { - const CmdDmsetupInfo& cmddmsetupinfo = system_info.getCmdDmsetupInfo(); + const CmdDmsetupInfo& cmd_dmsetup_info = system_info.getCmdDmsetupInfo(); cout << "CmdDmsetupInfo success" << endl; - cout << cmddmsetupinfo << endl; + cout << cmd_dmsetup_info << endl; } catch (const exception& e) { @@ -30,5 +30,5 @@ SystemInfo system_info; - test_cmddmsetupinfo(system_info); + test_cmd_dmsetup_info(system_info); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.3.28/examples/SystemInfo/test-cmd-dmsetup-table.cc new/libstorage-ng-4.3.32/examples/SystemInfo/test-cmd-dmsetup-table.cc --- old/libstorage-ng-4.3.28/examples/SystemInfo/test-cmd-dmsetup-table.cc 2020-06-22 10:23:32.000000000 +0200 +++ new/libstorage-ng-4.3.32/examples/SystemInfo/test-cmd-dmsetup-table.cc 2020-06-30 14:38:47.000000000 +0200 @@ -8,13 +8,13 @@ void -test_cmddmsetuptable(SystemInfo& system_info) +test_cmd_dmsetup_table(SystemInfo& system_info) { try { - const CmdDmsetupTable& cmddmsetuptable = system_info.getCmdDmsetupTable(); + const CmdDmsetupTable& cmd_dmsetup_table = system_info.getCmdDmsetupTable(); cout << "CmdDmsetupTable success" << endl; - cout << cmddmsetuptable << endl; + cout << cmd_dmsetup_table << endl; } catch (const exception& e) { @@ -30,5 +30,5 @@ SystemInfo system_info; - test_cmddmsetuptable(system_info); + test_cmd_dmsetup_table(system_info); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.3.28/examples/SystemInfo/test-cmd-udevadm-info.cc new/libstorage-ng-4.3.32/examples/SystemInfo/test-cmd-udevadm-info.cc --- old/libstorage-ng-4.3.28/examples/SystemInfo/test-cmd-udevadm-info.cc 2020-06-22 10:23:32.000000000 +0200 +++ new/libstorage-ng-4.3.32/examples/SystemInfo/test-cmd-udevadm-info.cc 2020-06-30 14:38:47.000000000 +0200 @@ -8,7 +8,7 @@ void -test_udevadminfo(SystemInfo& system_info, const string& file) +test_udevadm_info(SystemInfo& system_info, const string& file) { try { @@ -30,5 +30,5 @@ SystemInfo system_info; - test_udevadminfo(system_info, "/dev/sda1"); + test_udevadm_info(system_info, "/dev/sda1"); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.3.28/examples/SystemInfo/test-mdadm-detail.cc new/libstorage-ng-4.3.32/examples/SystemInfo/test-mdadm-detail.cc --- old/libstorage-ng-4.3.28/examples/SystemInfo/test-mdadm-detail.cc 2020-06-22 10:23:32.000000000 +0200 +++ new/libstorage-ng-4.3.32/examples/SystemInfo/test-mdadm-detail.cc 2020-06-30 14:38:47.000000000 +0200 @@ -8,13 +8,13 @@ void -test_mdadmdetail(SystemInfo& system_info, const string& device) +test_mdadm_detail(SystemInfo& system_info, const string& device) { try { - const MdadmDetail& mdadmdetail = system_info.getMdadmDetail(device); + const MdadmDetail& mdadm_detail = system_info.getMdadmDetail(device); cout << "MdadmDetail success" << endl; - cout << mdadmdetail << endl; + cout << mdadm_detail << endl; } catch (const exception& e) { @@ -30,5 +30,5 @@ SystemInfo system_info; - test_mdadmdetail(system_info, "/dev/md127"); + test_mdadm_detail(system_info, "/dev/md127"); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.3.28/examples/SystemInfo/test-mdadm-examine.cc new/libstorage-ng-4.3.32/examples/SystemInfo/test-mdadm-examine.cc --- old/libstorage-ng-4.3.28/examples/SystemInfo/test-mdadm-examine.cc 2020-06-22 10:23:32.000000000 +0200 +++ new/libstorage-ng-4.3.32/examples/SystemInfo/test-mdadm-examine.cc 2020-06-30 14:38:47.000000000 +0200 @@ -8,13 +8,13 @@ void -test_mdadmexamine(SystemInfo& system_info, const vector<string>& devices) +test_mdadm_examine(SystemInfo& system_info, const vector<string>& devices) { try { - const MdadmExamine& mdadmexamine = system_info.getMdadmExamine(devices); + const MdadmExamine& mdadm_examine = system_info.getMdadmExamine(devices); cout << "MdadmExamine success" << endl; - cout << mdadmexamine << endl; + cout << mdadm_examine << endl; } catch (const exception& e) { @@ -30,5 +30,5 @@ SystemInfo system_info; - test_mdadmexamine(system_info, { "/dev/sda", "/dev/sdb" }); + test_mdadm_examine(system_info, { "/dev/sda", "/dev/sdb" }); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.3.28/examples/SystemInfo/test-mdlinks.cc new/libstorage-ng-4.3.32/examples/SystemInfo/test-mdlinks.cc --- old/libstorage-ng-4.3.28/examples/SystemInfo/test-mdlinks.cc 2020-06-22 10:23:32.000000000 +0200 +++ new/libstorage-ng-4.3.32/examples/SystemInfo/test-mdlinks.cc 2020-06-30 14:38:47.000000000 +0200 @@ -8,13 +8,13 @@ void -test_mdlinks(SystemInfo& system_info) +test_md_links(SystemInfo& system_info) { try { - const MdLinks& mdlinks = system_info.getMdLinks(); + const MdLinks& md_links = system_info.getMdLinks(); cout << "MdLinks success" << endl; - cout << mdlinks << endl; + cout << md_links << endl; } catch (const exception& e) { @@ -30,5 +30,5 @@ SystemInfo system_info; - test_mdlinks(system_info); + test_md_links(system_info); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.3.28/examples/SystemInfo/test-proc-mdstat.cc new/libstorage-ng-4.3.32/examples/SystemInfo/test-proc-mdstat.cc --- old/libstorage-ng-4.3.28/examples/SystemInfo/test-proc-mdstat.cc 2020-06-22 10:23:32.000000000 +0200 +++ new/libstorage-ng-4.3.32/examples/SystemInfo/test-proc-mdstat.cc 2020-06-30 14:38:47.000000000 +0200 @@ -8,13 +8,13 @@ void -test_procmdstat(SystemInfo& system_info) +test_proc_mdstat(SystemInfo& system_info) { try { - const ProcMdstat& procmdstat = system_info.getProcMdstat(); + const ProcMdstat& proc_mdstat = system_info.getProcMdstat(); cout << "ProcMdstat success" << endl; - cout << procmdstat << endl; + cout << proc_mdstat << endl; } catch (const exception& e) { @@ -30,5 +30,5 @@ SystemInfo system_info; - test_procmdstat(system_info); + test_proc_mdstat(system_info); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.3.28/examples/SystemInfo/test-proc-mounts.cc new/libstorage-ng-4.3.32/examples/SystemInfo/test-proc-mounts.cc --- old/libstorage-ng-4.3.28/examples/SystemInfo/test-proc-mounts.cc 2020-06-22 10:23:32.000000000 +0200 +++ new/libstorage-ng-4.3.32/examples/SystemInfo/test-proc-mounts.cc 2020-06-30 14:38:47.000000000 +0200 @@ -8,13 +8,13 @@ void -test_procmounts(SystemInfo& system_info) +test_proc_mounts(SystemInfo& system_info) { try { - const ProcMounts& procmounts = system_info.getProcMounts(); + const ProcMounts& proc_mounts = system_info.getProcMounts(); cout << "ProcMounts success" << endl; - cout << procmounts << endl; + cout << proc_mounts << endl; } catch (const exception& e) { @@ -30,5 +30,5 @@ SystemInfo system_info; - test_procmounts(system_info); + test_proc_mounts(system_info); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.3.28/integration-tests/misc/probe.py new/libstorage-ng-4.3.32/integration-tests/misc/probe.py --- old/libstorage-ng-4.3.28/integration-tests/misc/probe.py 2020-06-22 10:23:32.000000000 +0200 +++ new/libstorage-ng-4.3.32/integration-tests/misc/probe.py 2020-06-30 14:38:47.000000000 +0200 @@ -62,5 +62,10 @@ print(probed) -probed.save("devicegraph.xml") +used_features = probed.used_features() +for i in range(64): + if used_features & 1 << i: + print(i, '', end='') +print() +probed.save("devicegraph.xml") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.3.28/integration-tests/pools/create-raid1.py new/libstorage-ng-4.3.32/integration-tests/pools/create-raid1.py --- old/libstorage-ng-4.3.28/integration-tests/pools/create-raid1.py 1970-01-01 01:00:00.000000000 +0100 +++ new/libstorage-ng-4.3.32/integration-tests/pools/create-raid1.py 2020-06-30 14:38:47.000000000 +0200 @@ -0,0 +1,38 @@ +#!/usr/bin/python3 + +# requirements: at least two HDDs with free space + + +from storage import * +from storageitu import * + + +set_logger(get_logfile_logger()) + +environment = Environment(False) + +storage = Storage(environment) +storage.probe() + +storage.generate_pools(storage.get_probed()) + +pool = storage.get_pool("HDDs (512 B)") + +staging = storage.get_staging() + +try: + devices = pool.create_partitions(staging, 2, 2 * GiB) +except PoolOutOfSpace as exception: + print(exception.what()) + exit(1) + +md = Md.create(staging, Md.find_free_numeric_name(staging)) +md.set_md_level(MdLevel_RAID1) + +for device in devices: + md.add_device(device) + device.set_id(ID_RAID) + +print(staging) + +commit(storage) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.3.28/libstorage-ng.spec.in new/libstorage-ng-4.3.32/libstorage-ng.spec.in --- old/libstorage-ng-4.3.28/libstorage-ng.spec.in 2020-06-22 10:23:32.000000000 +0200 +++ new/libstorage-ng-4.3.32/libstorage-ng.spec.in 2020-06-30 14:38:47.000000000 +0200 @@ -206,13 +206,13 @@ %files utils %defattr(-,root,root) -%dir %{_libexecdir}/libstorage-ng -%{_libexecdir}/libstorage-ng/utils +%dir %{_prefix}/lib/libstorage-ng +%{_prefix}/lib/libstorage-ng/utils %files integration-tests %defattr(-,root,root) %{python3_sitelib}/storageitu.py* -%dir %{_libexecdir}/libstorage-ng -%{_libexecdir}/libstorage-ng/integration-tests +%dir %{_prefix}/lib/libstorage-ng +%{_prefix}/lib/libstorage-ng/integration-tests %changelog diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.3.28/storage/Devices/Disk.cc new/libstorage-ng-4.3.32/storage/Devices/Disk.cc --- old/libstorage-ng-4.3.28/storage/Devices/Disk.cc 2020-06-22 10:23:32.000000000 +0200 +++ new/libstorage-ng-4.3.32/storage/Devices/Disk.cc 2020-06-30 14:38:47.000000000 +0200 @@ -1,6 +1,6 @@ /* * Copyright (c) [2014-2015] Novell, Inc. - * Copyright (c) [2016-2019] SUSE LLC + * Copyright (c) [2016-2020] SUSE LLC * * All Rights Reserved. * @@ -145,6 +145,20 @@ } + bool + Disk::is_pmem() const + { + return get_impl().is_pmem(); + } + + + bool + Disk::is_nvme() const + { + return get_impl().is_nvme(); + } + + vector<Disk*> Disk::get_all(Devicegraph* devicegraph) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.3.28/storage/Devices/Disk.h new/libstorage-ng-4.3.32/storage/Devices/Disk.h --- old/libstorage-ng-4.3.28/storage/Devices/Disk.h 2020-06-22 10:23:32.000000000 +0200 +++ new/libstorage-ng-4.3.32/storage/Devices/Disk.h 2020-06-30 14:38:47.000000000 +0200 @@ -125,6 +125,16 @@ ZoneModel get_zone_model() const; /** + * Return whether the disk is an PMEM device. + */ + bool is_pmem() const; + + /** + * Return whether the disk is an NVMe device. + */ + bool is_nvme() const; + + /** * Find a Disk by its name. Only the name returned by get_name() is * considered. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.3.28/storage/Devices/DiskImpl.cc new/libstorage-ng-4.3.32/storage/Devices/DiskImpl.cc --- old/libstorage-ng-4.3.28/storage/Devices/DiskImpl.cc 2020-06-22 10:23:32.000000000 +0200 +++ new/libstorage-ng-4.3.32/storage/Devices/DiskImpl.cc 2020-06-30 14:38:47.000000000 +0200 @@ -127,6 +127,20 @@ } + bool + Disk::Impl::is_pmem() const + { + return boost::starts_with(get_name(), DEV_DIR "/pmem"); + } + + + bool + Disk::Impl::is_nvme() const + { + return boost::starts_with(get_name(), DEV_DIR "/nvme"); + } + + void Disk::Impl::probe_disks(Prober& prober) { @@ -180,6 +194,12 @@ default: break; } + if (is_pmem()) + ret |= UF_PMEM; + + if (is_nvme()) + ret |= UF_NVME; + return ret | Partitionable::Impl::used_features(); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.3.28/storage/Devices/DiskImpl.h new/libstorage-ng-4.3.32/storage/Devices/DiskImpl.h --- old/libstorage-ng-4.3.28/storage/Devices/DiskImpl.h 2020-06-22 10:23:32.000000000 +0200 +++ new/libstorage-ng-4.3.32/storage/Devices/DiskImpl.h 2020-06-30 14:38:47.000000000 +0200 @@ -1,6 +1,6 @@ /* * Copyright (c) [2014-2015] Novell, Inc. - * Copyright (c) [2016-2019] SUSE LLC + * Copyright (c) [2016-2020] SUSE LLC * * All Rights Reserved. * @@ -81,6 +81,9 @@ ZoneModel get_zone_model() const { return zone_model; } void set_zone_model(ZoneModel zone_model) { Impl::zone_model = zone_model; } + bool is_pmem() const; + bool is_nvme() const; + static void probe_disks(Prober& prober); virtual void probe_pass_1a(Prober& prober) override; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.3.28/storage/UsedFeatures.h new/libstorage-ng-4.3.32/storage/UsedFeatures.h --- old/libstorage-ng-4.3.28/storage/UsedFeatures.h 2020-06-22 10:23:32.000000000 +0200 +++ new/libstorage-ng-4.3.32/storage/UsedFeatures.h 2020-06-30 14:38:47.000000000 +0200 @@ -61,6 +61,8 @@ UF_FCOE = 1 << 18, UF_FC = 1 << 19, UF_DASD = 1 << 20, + UF_PMEM = 1 << 29, + UF_NVME = 1 << 28, UF_QUOTA = 1 << 21, UF_SNAPSHOTS = 1 << 22 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.3.28/storage/Utils/AsciiFile.cc new/libstorage-ng-4.3.32/storage/Utils/AsciiFile.cc --- old/libstorage-ng-4.3.28/storage/Utils/AsciiFile.cc 2020-06-22 10:23:32.000000000 +0200 +++ new/libstorage-ng-4.3.32/storage/Utils/AsciiFile.cc 2020-06-30 14:38:47.000000000 +0200 @@ -96,7 +96,7 @@ void - AsciiFile::save() + AsciiFile::save() const { if (Mockup::get_mode() == Mockup::Mode::PLAYBACK) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.3.28/storage/Utils/AsciiFile.h new/libstorage-ng-4.3.32/storage/Utils/AsciiFile.h --- old/libstorage-ng-4.3.28/storage/Utils/AsciiFile.h 2020-06-22 10:23:32.000000000 +0200 +++ new/libstorage-ng-4.3.32/storage/Utils/AsciiFile.h 2020-06-30 14:38:47.000000000 +0200 @@ -48,7 +48,7 @@ /** * @throw IOException */ - void save(); + void save() const; void log_content() const; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.3.28/storage/Utils/LinesIterator.cc new/libstorage-ng-4.3.32/storage/Utils/LinesIterator.cc --- old/libstorage-ng-4.3.28/storage/Utils/LinesIterator.cc 2020-06-22 10:23:32.000000000 +0200 +++ new/libstorage-ng-4.3.32/storage/Utils/LinesIterator.cc 2020-06-30 14:38:47.000000000 +0200 @@ -28,7 +28,7 @@ { const string& - LinesIterator::line() + LinesIterator::line() const { if (it == lines.end()) ST_THROW(Exception("end of lines")); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.3.28/storage/Utils/LinesIterator.h new/libstorage-ng-4.3.32/storage/Utils/LinesIterator.h --- old/libstorage-ng-4.3.28/storage/Utils/LinesIterator.h 2020-06-22 10:23:32.000000000 +0200 +++ new/libstorage-ng-4.3.32/storage/Utils/LinesIterator.h 2020-06-30 14:38:47.000000000 +0200 @@ -44,7 +44,7 @@ bool at_end() const { return it == lines.end(); } - const string& line(); + const string& line() const; const string& pop_line(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.3.28/storage/Utils/Text.h new/libstorage-ng-4.3.32/storage/Utils/Text.h --- old/libstorage-ng-4.3.28/storage/Utils/Text.h 2020-06-22 10:23:32.000000000 +0200 +++ new/libstorage-ng-4.3.32/storage/Utils/Text.h 2020-06-30 14:38:47.000000000 +0200 @@ -47,7 +47,7 @@ Text(const char* native, const char* translated) : native(native), translated(translated) {} Text(const string& native, const string& translated) : native(native), translated(translated) {} - bool empty() { return native.empty(); } + bool empty() const { return native.empty(); } void clear();
