Hello community,

here is the log from the commit of package parti for openSUSE:Factory checked 
in at 2017-09-11 16:22:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/parti (Old)
 and      /work/SRC/openSUSE:Factory/.parti.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "parti"

Mon Sep 11 16:22:53 2017 rev:4 rq:522989 version:1.15

Changes:
--------
--- /work/SRC/openSUSE:Factory/parti/parti.changes      2017-04-11 
09:49:02.688181230 +0200
+++ /work/SRC/openSUSE:Factory/.parti.new/parti.changes 2017-09-11 
16:23:35.737921518 +0200
@@ -0,0 +1,7 @@
+--------------------------------------------------------------------
+Mon Sep 11 08:36:36 UTC 2017 - [email protected]
+
+- merge gh#wfeldt/parti#6
+- show more details about extended partition links
+- 1.15
+

Old:
----
  parti-1.14.tar.xz

New:
----
  parti-1.15.tar.xz

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

Other differences:
------------------
++++++ parti.spec ++++++
--- /var/tmp/diff_new_pack.eV95w9/_old  2017-09-11 16:23:36.153863114 +0200
+++ /var/tmp/diff_new_pack.eV95w9/_new  2017-09-11 16:23:36.153863114 +0200
@@ -18,7 +18,7 @@
 
 
 Name:           parti
-Version:        1.14
+Version:        1.15
 Release:        0
 Summary:        Show partition table information
 License:        GPL-3.0

++++++ parti-1.14.tar.xz -> parti-1.15.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/parti-1.14/VERSION new/parti-1.15/VERSION
--- old/parti-1.14/VERSION      2017-04-03 12:10:59.000000000 +0200
+++ new/parti-1.15/VERSION      2017-09-11 10:36:36.000000000 +0200
@@ -1 +1 @@
-1.14
+1.15
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/parti-1.14/changelog new/parti-1.15/changelog
--- old/parti-1.14/changelog    2017-04-03 12:10:59.000000000 +0200
+++ new/parti-1.15/changelog    2017-09-11 10:36:36.000000000 +0200
@@ -1,3 +1,7 @@
+2017-09-08:    1.15
+       - show more details about extended partition links
+       - verbose now also shows for every partition where it is referenced 
(that is
+
 2017-03-31:    1.14
        - update docs a bit
        - code de-duplication
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/parti-1.14/parti.c new/parti-1.15/parti.c
--- old/parti-1.14/parti.c      2017-04-03 12:10:59.000000000 +0200
+++ new/parti-1.15/parti.c      2017-09-11 10:36:36.000000000 +0200
@@ -43,7 +43,9 @@
   struct {
     unsigned c, h, s, lin;
   } end;
+  unsigned real_base;
   unsigned base;
+  unsigned idx;
 } ptable_t;
 
 typedef struct {
@@ -555,6 +557,7 @@
   memset(ptable, 0, entries * sizeof *ptable);
 
   for(; entries; entries--, addr += 0x10, ptable++) {
+    ptable->idx = 4 - entries + 1;
     u = read_byte(buf + addr);
     if(u & 0x7f) continue;
     ptable->boot = u >> 7;
@@ -570,6 +573,7 @@
     ptable->end.h = read_byte(buf + addr + 5);
     ptable->end.lin = ptable->start.lin + read_dword_le(buf + addr + 0xc);
 
+    ptable->real_base = base;
     ptable->base = is_ext_ptable(ptable) ? ext_base : base;
 
     if(ptable->end.lin != ptable->start.lin && ptable->start.s && 
ptable->end.s) {
@@ -661,6 +665,10 @@
       ptable->end.c, ptable->end.h, ptable->end.s
     );
 
+    if(opt.verbose) {
+      printf(", [ref %d.%d]", ptable->real_base, ptable->idx);
+    }
+
     if(opt.show.raw && ptable->base) printf(", ext base %+d", ptable->base);
     printf("\n");
 


Reply via email to