Hello community,

here is the log from the commit of package parti for openSUSE:Factory checked 
in at 2019-07-26 12:40:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/parti (Old)
 and      /work/SRC/openSUSE:Factory/.parti.new.4126 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "parti"

Fri Jul 26 12:40:57 2019 rev:8 rq:718470 version:1.19

Changes:
--------
--- /work/SRC/openSUSE:Factory/parti/parti.changes      2018-04-27 
16:09:12.238551218 +0200
+++ /work/SRC/openSUSE:Factory/.parti.new.4126/parti.changes    2019-07-26 
12:40:58.649891162 +0200
@@ -1,0 +2,7 @@
+Thu Jul 25 08:25:16 UTC 2019 - [email protected]
+
+- merge gh#wfeldt/parti#10
+- adjust to isoinfo changes (bsc#1097814)
+- 1.19
+
+--------------------------------------------------------------------

Old:
----
  parti-1.18.tar.xz

New:
----
  parti-1.19.tar.xz

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

Other differences:
------------------
++++++ parti.spec ++++++
--- /var/tmp/diff_new_pack.g6Cxel/_old  2019-07-26 12:40:59.541890774 +0200
+++ /var/tmp/diff_new_pack.g6Cxel/_new  2019-07-26 12:40:59.541890774 +0200
@@ -18,7 +18,7 @@
 
 
 Name:           parti
-Version:        1.18
+Version:        1.19
 Release:        0
 Summary:        Show partition table information
 License:        GPL-3.0

++++++ parti-1.18.tar.xz -> parti-1.19.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/parti-1.18/VERSION new/parti-1.19/VERSION
--- old/parti-1.18/VERSION      2018-04-26 16:05:19.000000000 +0200
+++ new/parti-1.19/VERSION      2019-07-25 10:25:16.000000000 +0200
@@ -1 +1 @@
-1.18
+1.19
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/parti-1.18/changelog new/parti-1.19/changelog
--- old/parti-1.18/changelog    2018-04-26 16:05:19.000000000 +0200
+++ new/parti-1.19/changelog    2019-07-25 10:25:16.000000000 +0200
@@ -1,3 +1,7 @@
+2019-07-25:    1.19
+       - merge gh#wfeldt/parti#10
+       - adjust to isoinfo changes (bsc#1097814)
+
 2018-04-26:    1.18
        - merge gh#wfeldt/parti#9
        - improve doc a bit
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/parti-1.18/parti.c new/parti-1.19/parti.c
--- old/parti-1.18/parti.c      2018-04-26 16:05:19.000000000 +0200
+++ new/parti-1.19/parti.c      2019-07-25 10:25:16.000000000 +0200
@@ -1201,11 +1201,17 @@
 
   if((p = popen(cmd, "r"))) {
     while(getline(&line, &line_len, p) != -1) {
-      if(sscanf(line, "Directory listing of %m[^\n]", &s) == 1) {
+      char *line_start = line;
+
+      // isoinfo from mkisofs produces different output than the one from 
genisoimage
+      // remove the optional 1st column (bsc#1097814)
+      while(isspace(*line_start) || isdigit(*line_start)) line_start++;
+
+      if(sscanf(line_start, "Directory listing of %m[^\n]", &s) == 1) {
         free(dir);
         dir = s;
       }
-      else if(sscanf(line, "%*s %*s %*s %*s %u %*[^[][ %u %*u ] %m[^\n]", &u2, 
&u1, &s) == 3) {
+      else if(sscanf(line_start, "%*s %*s %*s %*s %u %*[^[][ %u %*u ] 
%m[^\n]", &u2, &u1, &s) == 3) {
         if(*s) {
           t = s + strlen(s) - 1;
           while(t >= s && isspace(*t)) *t-- = 0;


Reply via email to