Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package parti for openSUSE:Factory checked 
in at 2021-11-20 02:38:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/parti (Old)
 and      /work/SRC/openSUSE:Factory/.parti.new.1895 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "parti"

Sat Nov 20 02:38:50 2021 rev:12 rq:932255 version:2.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/parti/parti.changes      2021-11-04 
16:10:36.313083124 +0100
+++ /work/SRC/openSUSE:Factory/.parti.new.1895/parti.changes    2021-11-20 
02:39:53.860630183 +0100
@@ -1,0 +2,7 @@
+Thu Nov 18 12:58:47 UTC 2021 - wfe...@opensuse.org
+
+- merge gh#wfeldt/parti#13
+- report also empty mbr partition tables
+- 2.2
+
+--------------------------------------------------------------------

Old:
----
  parti-2.1.tar.xz

New:
----
  parti-2.2.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ parti.spec ++++++
--- /var/tmp/diff_new_pack.iVqwsG/_old  2021-11-20 02:39:54.396628414 +0100
+++ /var/tmp/diff_new_pack.iVqwsG/_new  2021-11-20 02:39:54.396628414 +0100
@@ -18,7 +18,7 @@
 
 
 Name:           parti
-Version:        2.1
+Version:        2.2
 Release:        0
 Summary:        Show partition table information
 License:        GPL-3.0

++++++ parti-2.1.tar.xz -> parti-2.2.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/parti-2.1/VERSION new/parti-2.2/VERSION
--- old/parti-2.1/VERSION       2021-11-03 17:58:54.000000000 +0100
+++ new/parti-2.2/VERSION       2021-11-18 13:58:47.000000000 +0100
@@ -1 +1 @@
-2.1
+2.2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/parti-2.1/changelog new/parti-2.2/changelog
--- old/parti-2.1/changelog     2021-11-03 17:58:54.000000000 +0100
+++ new/parti-2.2/changelog     2021-11-18 13:58:47.000000000 +0100
@@ -1,3 +1,7 @@
+2021-11-18:    2.2
+       - merge gh#wfeldt/parti#13
+       - report also empty mbr partition tables
+
 2021-11-03:    2.1
        - add spec file
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/parti-2.1/ptable_mbr.c new/parti-2.2/ptable_mbr.c
--- old/parti-2.1/ptable_mbr.c  2021-11-03 17:58:54.000000000 +0100
+++ new/parti-2.2/ptable_mbr.c  2021-11-18 13:58:47.000000000 +0100
@@ -272,12 +272,14 @@
     return;
   }
 
+  id = read_dword_le(buf + 0x1b8);
+
   for(i = j = 0; i < 4 * 16; i++) {
     j |= read_byte(buf + 0x1be + i);
   }
 
   // empty partition table
-  if(!j) return;
+  if(!j && !id) return;
 
   json_object *json_mbr = json_object_new_object();
   json_object_object_add(disk->json_disk, "mbr", json_mbr);
@@ -292,7 +294,6 @@
   disk->heads = h;
   disk->cylinders = disk->size_in_bytes / ((uint64_t) disk->block_size * 
disk->sectors * disk->heads);
 
-  id = read_dword_le(buf + 0x1b8);
   log_info(SEP "\nmbr id: 0x%08x\n", id);
 
   json_object_object_add(json_mbr, "block_size", 
json_object_new_int(disk->block_size));

Reply via email to