Hello community,

here is the log from the commit of package xditview for openSUSE:Factory 
checked in at 2019-03-05 12:21:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xditview (Old)
 and      /work/SRC/openSUSE:Factory/.xditview.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xditview"

Tue Mar  5 12:21:43 2019 rev:8 rq:681283 version:1.0.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/xditview/xditview.changes        2015-04-25 
11:26:17.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.xditview.new.28833/xditview.changes     
2019-03-05 12:22:07.984899779 +0100
@@ -1,0 +2,11 @@
+Mon Mar  4 10:41:49 UTC 2019 - Stefan Dirsch <[email protected]>
+
+- Update to version 1.0.5:
+  * Update README for gitlab migration
+  * Update configure.ac bug URL for gitlab migration
+  * autogen.sh: use quoted string variables
+  * autogen: add default patch prefix
+  * make sure filename is a regular file.
+  * autogen.sh: use exec instead of waiting for configure to finish
+
+-------------------------------------------------------------------

Old:
----
  xditview-1.0.4.tar.bz2

New:
----
  xditview-1.0.5.tar.bz2

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

Other differences:
------------------
++++++ xditview.spec ++++++
--- /var/tmp/diff_new_pack.ihFlDC/_old  2019-03-05 12:22:09.548899302 +0100
+++ /var/tmp/diff_new_pack.ihFlDC/_new  2019-03-05 12:22:09.556899300 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package xditview
 #
-# Copyright (c) 2015 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
@@ -17,7 +17,7 @@
 
 
 Name:           xditview
-Version:        1.0.4
+Version:        1.0.5
 Release:        0
 Summary:        Utility to display ditroff output
 License:        MIT
@@ -49,7 +49,7 @@
 
 %files
 %defattr(-,root,root)
-%doc ChangeLog COPYING README
+%doc ChangeLog COPYING README.md
 %{_bindir}/xditview
 %dir %{_includedir}/X11/bitmaps
 %{_includedir}/X11/bitmaps/ldblarrow

++++++ xditview-1.0.4.tar.bz2 -> xditview-1.0.5.tar.bz2 ++++++
++++ 5571 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/xditview-1.0.4/ChangeLog new/xditview-1.0.5/ChangeLog
--- old/xditview-1.0.4/ChangeLog        2015-04-17 08:08:21.000000000 +0200
+++ new/xditview-1.0.5/ChangeLog        2019-03-03 20:13:49.000000000 +0100
@@ -1,3 +1,76 @@
+commit 9b5e869ac505bf14b0051dbaabe0de38133f5fd5
+Author: Alan Coopersmith <[email protected]>
+Date:   Sun Mar 3 11:12:25 2019 -0800
+
+    xditview 1.0.5
+    
+    Signed-off-by: Alan Coopersmith <[email protected]>
+
+commit 8ec60659b075307e38fab4bcb8fe949830decdee
+Author: Alan Coopersmith <[email protected]>
+Date:   Wed Nov 21 17:01:01 2018 -0800
+
+    Update configure.ac bug URL for gitlab migration
+    
+    Signed-off-by: Alan Coopersmith <[email protected]>
+
+commit 36242c559543ffa21570ca961ba950ee0d73c9dd
+Author: Alan Coopersmith <[email protected]>
+Date:   Fri Nov 16 21:23:12 2018 -0800
+
+    Update README for gitlab migration
+    
+    Signed-off-by: Alan Coopersmith <[email protected]>
+
+commit 3cd0b7e72ed741bdc26ea7ffd5ea2f4ec3af4f96
+Author: Pat Kane <[email protected]>
+Date:   Tue Dec 7 22:32:24 2010 -0600
+
+    make sure filename is a regular file.
+    
+    This is the second version of patch.
+    
+    It now uses fstat instead of stat as recommended in
+    review comments from:
+        Philipp Hagemeister <[email protected]>.
+    Bug was reported by:
+        Krzysztof Żelechowski <[email protected]>
+    
+    Signed-off-by: Pat Kane <[email protected]>
+    Signed-off-by: Alan Coopersmith <[email protected]>
+
+commit 5383f408b1138913fd6d7d94da70f63bed711857
+Author: Mihail Konev <[email protected]>
+Date:   Thu Jan 26 14:00:21 2017 +1000
+
+    autogen: add default patch prefix
+    
+    Signed-off-by: Mihail Konev <[email protected]>
+
+commit 27eb7660e2b186c7a4c84ccab14631f5a8d5b571
+Author: Emil Velikov <[email protected]>
+Date:   Mon Mar 9 12:00:52 2015 +0000
+
+    autogen.sh: use quoted string variables
+    
+    Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent
+    fall-outs, when they contain space.
+    
+    Signed-off-by: Emil Velikov <[email protected]>
+    Reviewed-by: Peter Hutterer <[email protected]>
+    Signed-off-by: Peter Hutterer <[email protected]>
+
+commit bcf883b274d0d68c56047a9720bb24e9a34d62de
+Author: Peter Hutterer <[email protected]>
+Date:   Tue Jan 24 10:32:07 2017 +1000
+
+    autogen.sh: use exec instead of waiting for configure to finish
+    
+    Syncs the invocation of configure with the one from the server.
+    
+    Signed-off-by: Peter Hutterer <[email protected]>
+    Reviewed-by: Emil Velikov <[email protected]>
+
 commit d8b43b22c6432e7c927236b6e729a53f737cedfb
 Author: Alan Coopersmith <[email protected]>
 Date:   Thu Apr 16 23:07:15 2015 -0700
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/xditview-1.0.4/Makefile.am new/xditview-1.0.5/Makefile.am
--- old/xditview-1.0.4/Makefile.am      2015-04-17 08:07:29.000000000 +0200
+++ new/xditview-1.0.5/Makefile.am      2019-03-03 20:13:36.000000000 +0100
@@ -55,7 +55,7 @@
 bitmapdir = $(includedir)/X11/bitmaps
 dist_bitmap_DATA = ldblarrow rdblarrow
 
-EXTRA_DIST = xdit.bm xdit_mask.bm
+EXTRA_DIST = xdit.bm xdit_mask.bm README.md
 
 MAINTAINERCLEANFILES = ChangeLog INSTALL
 
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/xditview-1.0.4/README new/xditview-1.0.5/README
--- old/xditview-1.0.4/README   2015-04-17 08:07:29.000000000 +0200
+++ new/xditview-1.0.5/README   1970-01-01 01:00:00.000000000 +0100
@@ -1,25 +0,0 @@
-xditview displays ditroff output on an X display.
-
-All questions regarding this software should be directed at the
-Xorg mailing list:
-
-        http://lists.freedesktop.org/mailman/listinfo/xorg
-
-Please submit bug reports to the Xorg bugzilla:
-
-        https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
-
-The master development code repository can be found at:
-
-        git://anongit.freedesktop.org/git/xorg/app/xditview
-
-        http://cgit.freedesktop.org/xorg/app/xditview
-
-For patch submission instructions, see:
-
-       http://www.x.org/wiki/Development/Documentation/SubmittingPatches
-
-For more information on the git code manager, see:
-
-        http://wiki.x.org/wiki/GitPage
-
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/xditview-1.0.4/README.md new/xditview-1.0.5/README.md
--- old/xditview-1.0.4/README.md        1970-01-01 01:00:00.000000000 +0100
+++ new/xditview-1.0.5/README.md        2019-03-03 20:13:36.000000000 +0100
@@ -0,0 +1,17 @@
+xditview displays ditroff output on an X display.
+
+All questions regarding this software should be directed at the
+Xorg mailing list:
+
+  https://lists.x.org/mailman/listinfo/xorg
+
+The master development code repository can be found at:
+
+  https://gitlab.freedesktop.org/xorg/app/xditview
+
+Please submit bug reports and requests to merge patches there.
+
+For patch submission instructions, see:
+
+  https://www.x.org/wiki/Development/Documentation/SubmittingPatches
+
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/xditview-1.0.4/configure.ac new/xditview-1.0.5/configure.ac
--- old/xditview-1.0.4/configure.ac     2015-04-17 08:07:29.000000000 +0200
+++ new/xditview-1.0.5/configure.ac     2019-03-03 20:13:36.000000000 +0100
@@ -24,8 +24,8 @@
 # Initialize Autoconf
 AC_PREREQ([2.60])
 AC_INIT([xditview],
-       [1.0.4],
-       [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],
+       [1.0.5],
+       [https://gitlab.freedesktop.org/xorg/app/xditview/issues],
        [xditview])
 AC_CONFIG_SRCDIR([Makefile.am])
 AC_CONFIG_HEADERS([config.h])
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/xditview-1.0.4/xditview.c new/xditview-1.0.5/xditview.c
--- old/xditview-1.0.4/xditview.c       2015-04-17 08:07:29.000000000 +0200
+++ new/xditview-1.0.5/xditview.c       2019-03-03 20:13:36.000000000 +0100
@@ -57,6 +57,7 @@
 #include "xdit_mask.bm"
 #include <stdio.h>
 #include <stdlib.h>
+#include <sys/stat.h>
 
 /* Command line options table.  Only resources are entered here...there is a
    pass over the remaining options after XtParseCommand is let loose. */
@@ -324,7 +325,24 @@
     else if (name[0] == '|')
        new_file = popen (name+1, "r");
     else {
+        struct stat stbuf;
+
        new_file = fopen (name, "r");
+
+        if (!new_file) {
+            perror(name);
+            return;
+        }
+        /* Make sure it is a regular file */
+        if (fstat(fileno(new_file), &stbuf) != 0) {
+            perror(name);
+            return;
+        }
+        if (! S_ISREG(stbuf.st_mode)){
+            fprintf(stderr, "%s is not a regular file.\n", name);
+            return;
+        }
+
        seek = 1;
     }
     if (!new_file) {


Reply via email to