Hello community,

here is the log from the commit of package hwinfo for openSUSE:Factory checked 
in at 2015-07-14 17:20:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/hwinfo (Old)
 and      /work/SRC/openSUSE:Factory/.hwinfo.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "hwinfo"

Changes:
--------
--- /work/SRC/openSUSE:Factory/hwinfo/hwinfo.changes    2015-06-16 
14:05:03.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.hwinfo.new/hwinfo.changes       2015-07-14 
17:20:06.000000000 +0200
@@ -1,0 +2,9 @@
+Thu Jun 25 15:26:04 CEST 2015 - snw...@suse.com
+
+- hd: Use <linux/pci.h> instead of <sys/pci.h>
+- hd/hd.c: canonicalize_file_name(s) is equivalent to the more portable 
realpath(s,NULL)
+- isdn/cdn: don't use stdin as lvalue with freopen()
+- hd/manual.c: Include <limits.h> for PATH_MAX
+- 21.17
+
+-------------------------------------------------------------------

Old:
----
  hwinfo-21.16.tar.xz

New:
----
  hwinfo-21.17.tar.xz

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

Other differences:
------------------
++++++ hwinfo.spec ++++++
--- /var/tmp/diff_new_pack.nbUBiw/_old  2015-07-14 17:20:07.000000000 +0200
+++ /var/tmp/diff_new_pack.nbUBiw/_new  2015-07-14 17:20:07.000000000 +0200
@@ -36,7 +36,7 @@
 Group:          Hardware/Other
 # Until migration to github this should be correct url
 Url:            http://gitorious.org/opensuse/hwinfo
-Version:        21.16
+Version:        21.17
 Release:        0
 Source:         %{name}-%{version}.tar.xz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build

++++++ hwinfo-21.16.tar.xz -> hwinfo-21.17.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hwinfo-21.16/VERSION new/hwinfo-21.17/VERSION
--- old/hwinfo-21.16/VERSION    2015-06-15 13:44:34.000000000 +0200
+++ new/hwinfo-21.17/VERSION    2015-06-25 15:23:11.000000000 +0200
@@ -1 +1 @@
-21.16
+21.17
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hwinfo-21.16/changelog new/hwinfo-21.17/changelog
--- old/hwinfo-21.16/changelog  2015-06-15 13:44:34.000000000 +0200
+++ new/hwinfo-21.17/changelog  2015-06-25 15:23:11.000000000 +0200
@@ -1,3 +1,9 @@
+2015-06-23:    21.17
+       - hd: Use <linux/pci.h> instead of <sys/pci.h>
+       - hd/hd.c: canonicalize_file_name(s) is equivalent to the more portable 
realpath(s,NULL)
+       - isdn/cdn: don't use stdin as lvalue with freopen()
+       - hd/manual.c: Include <limits.h> for PATH_MAX
+
 2015-06-15:    21.16
        - another Makefile fix
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hwinfo-21.16/src/hd/bios.c 
new/hwinfo-21.17/src/hd/bios.c
--- old/hwinfo-21.16/src/hd/bios.c      2015-06-15 13:44:34.000000000 +0200
+++ new/hwinfo-21.17/src/hd/bios.c      2015-06-25 15:23:11.000000000 +0200
@@ -9,7 +9,7 @@
 #if defined(__i386__) || defined (__x86_64__) || defined(__ia64__)
 #include <sys/io.h>
 #endif
-#include <sys/pci.h>
+#include <linux/pci.h>
 
 #include "hd.h"
 #include "hd_int.h"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hwinfo-21.16/src/hd/hd.c new/hwinfo-21.17/src/hd/hd.c
--- old/hwinfo-21.16/src/hd/hd.c        2015-06-15 13:44:34.000000000 +0200
+++ new/hwinfo-21.17/src/hd/hd.c        2015-06-25 15:23:11.000000000 +0200
@@ -1,4 +1,4 @@
-#define _GNU_SOURCE            /* canonicalize_file_name(), strcasestr() */
+#define _GNU_SOURCE            /* strcasestr() */
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
@@ -2638,7 +2638,7 @@
   str_printf(&s, 0, "%s/%s", base_dir, link_name);
 
   free_mem(buf);
-  buf = canonicalize_file_name(s);
+  buf = realpath(s, NULL);
 
   free_mem(s);
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hwinfo-21.16/src/hd/int.c 
new/hwinfo-21.17/src/hd/int.c
--- old/hwinfo-21.16/src/hd/int.c       2015-06-15 13:44:34.000000000 +0200
+++ new/hwinfo-21.17/src/hd/int.c       2015-06-25 15:23:11.000000000 +0200
@@ -2,7 +2,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
-#include <sys/pci.h>
+#include <linux/pci.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hwinfo-21.16/src/hd/manual.c 
new/hwinfo-21.17/src/hd/manual.c
--- old/hwinfo-21.16/src/hd/manual.c    2015-06-15 13:44:34.000000000 +0200
+++ new/hwinfo-21.17/src/hd/manual.c    2015-06-25 15:23:11.000000000 +0200
@@ -4,6 +4,7 @@
 #include <unistd.h>
 #include <dirent.h>
 #include <ctype.h>
+#include <limits.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hwinfo-21.16/src/hd/pci.c 
new/hwinfo-21.17/src/hd/pci.c
--- old/hwinfo-21.16/src/hd/pci.c       2015-06-15 13:44:34.000000000 +0200
+++ new/hwinfo-21.17/src/hd/pci.c       2015-06-25 15:23:11.000000000 +0200
@@ -7,7 +7,7 @@
 #include <ctype.h>
 #include <sys/stat.h>
 #include <sys/types.h>
-#include <sys/pci.h>
+#include <linux/pci.h>
 
 #include "hd.h"
 #include "hd_int.h"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hwinfo-21.16/src/isdn/cdb/isdn_cdb.c 
new/hwinfo-21.17/src/isdn/cdb/isdn_cdb.c
--- old/hwinfo-21.16/src/isdn/cdb/isdn_cdb.c    2015-06-15 13:44:34.000000000 
+0200
+++ new/hwinfo-21.17/src/isdn/cdb/isdn_cdb.c    2015-06-25 15:23:11.000000000 
+0200
@@ -172,12 +172,12 @@
                fprintf(stderr, "Error no filename\n");
                exit(1);
        }
-       if (!(stdin=freopen(argv[1],"rb", stdin))) {
+       if (!freopen(argv[1],"rb", stdin)) {
                fprintf(stderr, "Cannot open %s as stdin\n", argv[1]);
                exit(2);
        }
        if (argc >2) {
-               if (!(stdout=freopen(argv[2],"w", stdout))) {
+               if (!freopen(argv[2],"w", stdout)) {
                        fprintf(stderr, "Cannot open %s as stdout\n", argv[2]);
                        exit(3);
                }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hwinfo-21.16/src/isdn/cdb/mk_isdnhwdb.c 
new/hwinfo-21.17/src/isdn/cdb/mk_isdnhwdb.c
--- old/hwinfo-21.16/src/isdn/cdb/mk_isdnhwdb.c 2015-06-15 13:44:34.000000000 
+0200
+++ new/hwinfo-21.17/src/isdn/cdb/mk_isdnhwdb.c 2015-06-25 15:23:11.000000000 
+0200
@@ -205,25 +205,25 @@
        int     l;
        time_t  tim;
        if (argc<2) {
-               if (!(stdin=freopen(CDBISDN_CDB_FILE,"rb", stdin))) {
+               if (!freopen(CDBISDN_CDB_FILE,"rb", stdin)) {
                        fprintf(stderr, "Cannot open %s as stdin\n", 
CDBISDN_CDB_FILE);
                        exit(2);
                }
        } else {
-               if (!(stdin=freopen(argv[1],"rb", stdin))) {
+               if (!freopen(argv[1],"rb", stdin)) {
                        fprintf(stderr, "Cannot open %s as stdin\n", argv[1]);
                        exit(2);
                }
        }
        if (argc >2) {
                if (strcmp(argv[2], "-")) { /* - := stdout */
-                       if (!(stdout=freopen(argv[2],"w", stdout))) {
+                       if (!freopen(argv[2],"w", stdout)) {
                                fprintf(stderr, "Cannot open %s as stdout\n", 
argv[2]);
                                exit(3);
                        }
                }
        } else { /* default: CDBISDN_HWDB_FILE */
-               if (!(stdout=freopen(CDBISDN_HWDB_FILE,"w", stdout))) {
+               if (!freopen(CDBISDN_HWDB_FILE,"w", stdout)) {
                        fprintf(stderr, "Cannot open %s as stdout\n", 
CDBISDN_HWDB_FILE);
                        exit(3);
                }


Reply via email to