Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package zvbi for openSUSE:Factory checked in 
at 2023-09-06 18:55:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/zvbi (Old)
 and      /work/SRC/openSUSE:Factory/.zvbi.new.1766 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "zvbi"

Wed Sep  6 18:55:53 2023 rev:32 rq:1108913 version:0.2.42

Changes:
--------
--- /work/SRC/openSUSE:Factory/zvbi/zvbi.changes        2023-04-11 
13:50:59.411301917 +0200
+++ /work/SRC/openSUSE:Factory/.zvbi.new.1766/zvbi.changes      2023-09-06 
18:56:44.532455043 +0200
@@ -1,0 +2,7 @@
+Mon Sep  4 13:28:24 UTC 2023 - [email protected]
+
+- version update to 0.2.42
+* Fix several compiler warnings.
+* Apply patch to consider ERASE_PAGE flag with single page transmissions.
+
+-------------------------------------------------------------------

Old:
----
  v0.2.41.tar.gz

New:
----
  v0.2.42.tar.gz

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

Other differences:
------------------
++++++ zvbi.spec ++++++
--- /var/tmp/diff_new_pack.6t7tax/_old  2023-09-06 18:56:45.808500531 +0200
+++ /var/tmp/diff_new_pack.6t7tax/_new  2023-09-06 18:56:45.812500674 +0200
@@ -20,7 +20,7 @@
 %define         libname lib%{name}%{sover}
 %define         libchains lib%{name}-chains%{sover}
 Name:           zvbi
-Version:        0.2.41
+Version:        0.2.42
 Release:        0
 Summary:        Linux "VBI proxy"
 License:        GPL-2.0-or-later AND LGPL-2.1-or-later

++++++ v0.2.41.tar.gz -> v0.2.42.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zvbi-0.2.41/ChangeLog new/zvbi-0.2.42/ChangeLog
--- old/zvbi-0.2.41/ChangeLog   2023-02-13 14:23:51.000000000 +0100
+++ new/zvbi-0.2.42/ChangeLog   2023-08-25 17:50:40.000000000 +0200
@@ -1,3 +1,21 @@
+2023-08-25 Ileana Dumitrescu  <[email protected]>
+
+       * Release 0.2.42
+       
+       * configure.ac: Release 0.2.42.
+       * NEWS: Add 0.2.42 release info.
+       * po/*.po: Update Project-Id-Version.
+       * po/Makefile.in: Release 0.2.42.
+       * src/libzvbi.h: Update version number macros.
+       * src/version.h: New version number.
+       * src/io-v4l.c: Fix truncated string compiler warning.
+       * daemon/proxyd.c: Remove warning 'warn_unused_result' for dup().
+       * src/proxy-msg.c: Remove warning 'warn_unused_result' for write().
+       * examples/wss.c: Remove warning 'warn_unused_result' for write().
+       * contrib/ntsc-cc.c: Remove warning 'warn_unused_result' for fread().
+       * src/packet.c: Apply patch to consider ERASE_PAGE flag with single 
page transmissions.
+       * src/export.c: Fix build warning for multiple param documentation 
sections.
+
 2023-02-13 Ileana Dumitrescu  <[email protected]>
 
        * Release 0.2.41
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zvbi-0.2.41/NEWS new/zvbi-0.2.42/NEWS
--- old/zvbi-0.2.41/NEWS        2023-02-13 14:23:51.000000000 +0100
+++ new/zvbi-0.2.42/NEWS        2023-08-25 17:50:40.000000000 +0200
@@ -1,3 +1,9 @@
+libzvbi 0.2.42, 2023-08-25
+--------------------------
+Fix several compiler warnings.
+
+Apply patch to consider ERASE_PAGE flag with single page transmissions.
+
 libzvbi 0.2.41, 2023-02-13
 --------------------------
 In libzvbi.h, remove include version.h to fix include issue.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zvbi-0.2.41/configure.ac new/zvbi-0.2.42/configure.ac
--- old/zvbi-0.2.41/configure.ac        2023-02-13 14:23:51.000000000 +0100
+++ new/zvbi-0.2.42/configure.ac        2023-08-25 17:50:40.000000000 +0200
@@ -2,7 +2,7 @@
 
 dnl Autoconf initialization
 AC_PREREQ([2.71])
-AC_INIT([zvbi],[0.2.41])
+AC_INIT([zvbi],[0.2.42])
 
 AC_CONFIG_SRCDIR(src/vbi.c)
 AC_CONFIG_HEADERS([config.h])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zvbi-0.2.41/contrib/ntsc-cc.c 
new/zvbi-0.2.42/contrib/ntsc-cc.c
--- old/zvbi-0.2.41/contrib/ntsc-cc.c   2023-02-13 14:23:51.000000000 +0100
+++ new/zvbi-0.2.42/contrib/ntsc-cc.c   2023-08-25 17:50:40.000000000 +0200
@@ -1051,6 +1051,17 @@
 
 #endif /* !ENABLE_V4L2 */
 
+static void
+check_fread                    (unsigned int           n_expected_items,
+                               unsigned int            n_actual_items)
+{
+       if (n_expected_items != n_actual_items) {
+               if (ferror (stdin))
+                       fprintf (stderr, "Error reading stream\n");
+                       exit (EXIT_FAILURE);
+       }
+}
+
 static ssize_t
 read_test_stream               (vbi_sliced *           sliced,
                                 int *                  n_lines,
@@ -1075,6 +1086,7 @@
 
        while (n_items-- > 0) {
                int index;
+               unsigned int n_actual_items;
 
                index = fgetc (stdin);
                if (255 == index) {
@@ -1086,7 +1098,8 @@
 
                        /* Skip raw data. */
                        memset (buffer, 0, sizeof (buffer));
-                       fread (buffer, 1, 22, stdin);
+                       n_actual_items = fread (buffer, 1, 22, stdin);
+                       check_fread (22, n_actual_items);
                        bytes_per_line = buffer[8] | (buffer[9] << 8);
                        count[0] = buffer[18] | (buffer[19] << 8);
                        count[1] = buffer[20] | (buffer[21] << 8);
@@ -1095,7 +1108,8 @@
                        p = malloc (bytes_per_frame);
                        assert (NULL != p);
                        /* fseek() works w/pipe? */
-                       fread (p, 1, bytes_per_frame, stdin);
+                       n_actual_items = fread (p, 1, bytes_per_frame, stdin);
+                       check_fread (bytes_per_frame, n_actual_items);
                        free (p);
                        continue;
                }
@@ -1111,27 +1125,33 @@
                switch (index) {
                case 0:
                        s->id = VBI_SLICED_TELETEXT_B;
-                       fread (s->data, 1, 42, stdin);
+                       n_actual_items = fread (s->data, 1, 42, stdin);
+                       check_fread (42, n_actual_items);
                        break;
                case 1:
                        s->id = VBI_SLICED_CAPTION_625; 
-                       fread (s->data, 1, 2, stdin);
+                       n_actual_items = fread (s->data, 1, 2, stdin);
+                       check_fread (2, n_actual_items);
                        break; 
                case 2:
                        s->id = VBI_SLICED_VPS;
-                       fread (s->data, 1, 13, stdin);
+                       n_actual_items = fread (s->data, 1, 13, stdin);
+                       check_fread (13, n_actual_items);
                        break;
                case 3:
                        s->id = VBI_SLICED_WSS_625; 
-                       fread (s->data, 1, 2, stdin);
+                       n_actual_items = fread (s->data, 1, 2, stdin);
+                       check_fread (2, n_actual_items);
                        break;
                case 4:
                        s->id = VBI_SLICED_WSS_CPR1204; 
-                       fread (s->data, 1, 3, stdin);
+                       n_actual_items = fread (s->data, 1, 3, stdin);
+                       check_fread (3, n_actual_items);
                        break;
                case 7:
                        s->id = VBI_SLICED_CAPTION_525; 
-                       fread(s->data, 1, 2, stdin);
+                       n_actual_items = fread (s->data, 1, 2, stdin);
+                       check_fread (2, n_actual_items);
                        break;
                default:
                        fprintf (stderr,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zvbi-0.2.41/daemon/proxyd.c 
new/zvbi-0.2.42/daemon/proxyd.c
--- old/zvbi-0.2.41/daemon/proxyd.c     2023-02-13 14:23:51.000000000 +0100
+++ new/zvbi-0.2.42/daemon/proxyd.c     2023-08-25 17:50:40.000000000 +0200
@@ -2705,7 +2705,8 @@
          close(1);
          open("/dev/null", O_WRONLY, 0);
          close(2);
-         dup(1);
+         if (dup(1) == -1)
+             exit(1);
 
          setsid();
       }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zvbi-0.2.41/examples/wss.c 
new/zvbi-0.2.42/examples/wss.c
--- old/zvbi-0.2.41/examples/wss.c      2023-02-13 14:23:51.000000000 +0100
+++ new/zvbi-0.2.42/examples/wss.c      2023-08-25 17:50:40.000000000 +0200
@@ -160,7 +160,8 @@
        n_lines = vbi_raw_decode (&rd, (uint8_t *) p, sliced);
        if (0 /* test */) {
                /* Error ignored. */
-               write (STDOUT_FILENO, p, rd.bytes_per_line);
+               if (write (STDOUT_FILENO, p, rd.bytes_per_line) == -1)
+                       fprintf(stderr, "Failed to write to file\n");
        } else if (n_lines > 0) {
                assert (VBI_SLICED_WSS_625 == sliced[0].id);
                assert (1 == n_lines);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zvbi-0.2.41/po/Makefile.in 
new/zvbi-0.2.42/po/Makefile.in
--- old/zvbi-0.2.41/po/Makefile.in      2023-02-13 14:23:51.000000000 +0100
+++ new/zvbi-0.2.42/po/Makefile.in      2023-08-25 17:50:40.000000000 +0200
@@ -11,7 +11,7 @@
 GETTEXT_MACRO_VERSION = 0.20
 
 PACKAGE = zvbi
-VERSION = 0.2.41
+VERSION = 0.2.42
 PACKAGE_BUGREPORT = 
 
 SED = /usr/bin/sed
@@ -209,7 +209,7 @@
              --files-from=$(srcdir)/POTFILES.in \
              --copyright-holder='$(COPYRIGHT_HOLDER)' \
              --package-name="$${package_prefix}zvbi" \
-             --package-version='0.2.37' \
+             --package-version='0.2.42' \
              --msgid-bugs-address="$$msgid_bugs_address" \
              $(XGETTEXT_OPTIONS)  \
            ;; \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zvbi-0.2.41/po/de.po new/zvbi-0.2.42/po/de.po
--- old/zvbi-0.2.41/po/de.po    2023-02-13 14:23:51.000000000 +0100
+++ new/zvbi-0.2.42/po/de.po    2023-08-25 17:50:40.000000000 +0200
@@ -3,7 +3,7 @@
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: zvbi 0.2.41\n"
+"Project-Id-Version: zvbi 0.2.42\n"
 "Report-Msgid-Bugs-To: [email protected]\n"
 "POT-Creation-Date: 2022-10-05 16:09+0300\n"
 "PO-Revision-Date: 2007-11-27 18:33+0100\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zvbi-0.2.41/po/[email protected] 
new/zvbi-0.2.42/po/[email protected]
--- old/zvbi-0.2.41/po/[email protected] 2023-02-13 14:23:51.000000000 +0100
+++ new/zvbi-0.2.42/po/[email protected] 2023-08-25 17:50:40.000000000 +0200
@@ -30,7 +30,7 @@
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: zvbi 0.2.41\n"
+"Project-Id-Version: zvbi 0.2.42\n"
 "Report-Msgid-Bugs-To: [email protected]\n"
 "POT-Creation-Date: 2022-10-05 16:09+0300\n"
 "PO-Revision-Date: 2013-08-28 16:25+0200\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zvbi-0.2.41/po/[email protected] 
new/zvbi-0.2.42/po/[email protected]
--- old/zvbi-0.2.41/po/[email protected]     2023-02-13 14:23:51.000000000 +0100
+++ new/zvbi-0.2.42/po/[email protected]     2023-08-25 17:50:40.000000000 +0200
@@ -27,7 +27,7 @@
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: zvbi 0.2.41\n"
+"Project-Id-Version: zvbi 0.2.42\n"
 "Report-Msgid-Bugs-To: [email protected]\n"
 "POT-Creation-Date: 2022-10-05 16:09+0300\n"
 "PO-Revision-Date: 2013-08-28 16:25+0200\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zvbi-0.2.41/po/es.po new/zvbi-0.2.42/po/es.po
--- old/zvbi-0.2.41/po/es.po    2023-02-13 14:23:51.000000000 +0100
+++ new/zvbi-0.2.42/po/es.po    2023-08-25 17:50:40.000000000 +0200
@@ -4,7 +4,7 @@
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: zvbi 0.2.41\n"
+"Project-Id-Version: zvbi 0.2.42\n"
 "Report-Msgid-Bugs-To: [email protected]\n"
 "POT-Creation-Date: 2022-10-05 16:09+0300\n"
 "PO-Revision-Date: 2007-11-27 18:34+0100\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zvbi-0.2.41/po/fr.po new/zvbi-0.2.42/po/fr.po
--- old/zvbi-0.2.41/po/fr.po    2023-02-13 14:23:51.000000000 +0100
+++ new/zvbi-0.2.42/po/fr.po    2023-08-25 17:50:40.000000000 +0200
@@ -3,7 +3,7 @@
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: zvbi 0.2.41\n"
+"Project-Id-Version: zvbi 0.2.42\n"
 "Report-Msgid-Bugs-To: [email protected]\n"
 "POT-Creation-Date: 2022-10-05 16:09+0300\n"
 "PO-Revision-Date: 2007-11-27 18:35+0100\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zvbi-0.2.41/po/it.po new/zvbi-0.2.42/po/it.po
--- old/zvbi-0.2.41/po/it.po    2023-02-13 14:23:51.000000000 +0100
+++ new/zvbi-0.2.42/po/it.po    2023-08-25 17:50:40.000000000 +0200
@@ -4,7 +4,7 @@
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: zvbi 0.2.41\n"
+"Project-Id-Version: zvbi 0.2.42\n"
 "Report-Msgid-Bugs-To: [email protected]\n"
 "POT-Creation-Date: 2022-10-05 16:09+0300\n"
 "PO-Revision-Date: 2007-11-27 18:37+0100\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zvbi-0.2.41/po/ka.po new/zvbi-0.2.42/po/ka.po
--- old/zvbi-0.2.41/po/ka.po    2023-02-13 14:23:51.000000000 +0100
+++ new/zvbi-0.2.42/po/ka.po    2023-08-25 17:50:40.000000000 +0200
@@ -5,7 +5,7 @@
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: zvbi 0.2.41\n"
+"Project-Id-Version: zvbi 0.2.42\n"
 "Report-Msgid-Bugs-To: [email protected]\n"
 "POT-Creation-Date: 2022-12-13 21:07+0100\n"
 "PO-Revision-Date: 2022-12-13 22:02+0100\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zvbi-0.2.41/po/nl.po new/zvbi-0.2.42/po/nl.po
--- old/zvbi-0.2.41/po/nl.po    2023-02-13 14:23:51.000000000 +0100
+++ new/zvbi-0.2.42/po/nl.po    2023-08-25 17:50:40.000000000 +0200
@@ -5,7 +5,7 @@
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: zvbi 0.2.41\n"
+"Project-Id-Version: zvbi 0.2.42\n"
 "Report-Msgid-Bugs-To: [email protected]\n"
 "POT-Creation-Date: 2022-10-05 16:09+0300\n"
 "PO-Revision-Date: 2007-11-27 18:38+0100\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zvbi-0.2.41/po/pl.po new/zvbi-0.2.42/po/pl.po
--- old/zvbi-0.2.41/po/pl.po    2023-02-13 14:23:51.000000000 +0100
+++ new/zvbi-0.2.42/po/pl.po    2023-08-25 17:50:40.000000000 +0200
@@ -3,7 +3,7 @@
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: zvbi 0.2.41\n"
+"Project-Id-Version: zvbi 0.2.42\n"
 "Report-Msgid-Bugs-To: [email protected]\n"
 "POT-Creation-Date: 2022-10-05 16:09+0300\n"
 "PO-Revision-Date: 2004-10-25 12:24+0200\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zvbi-0.2.41/po/sv.po new/zvbi-0.2.42/po/sv.po
--- old/zvbi-0.2.41/po/sv.po    2023-02-13 14:23:51.000000000 +0100
+++ new/zvbi-0.2.42/po/sv.po    2023-08-25 17:50:40.000000000 +0200
@@ -3,7 +3,7 @@
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: zvbi 0.2.41\n"
+"Project-Id-Version: zvbi 0.2.42\n"
 "Report-Msgid-Bugs-To: [email protected]\n"
 "POT-Creation-Date: 2003-10-16 16:13+0200\n"
 "PO-Revision-Date: 2003-10-16 16:19+0200\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zvbi-0.2.41/src/export.c new/zvbi-0.2.42/src/export.c
--- old/zvbi-0.2.41/src/export.c        2023-02-13 14:23:51.000000000 +0100
+++ new/zvbi-0.2.42/src/export.c        2023-08-25 17:50:40.000000000 +0200
@@ -520,7 +520,7 @@
  * 
  * Creates a new export module instance to export a vbi_page in
  * the respective module format. As a special service you can
- * initialize options by appending to the @param keyword like this:
+ * initialize options by appending to the \@param keyword like this:
  * 
  * @code
  * vbi_export_new ("keyword; quality=75.5, comment=\"example text\"");
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zvbi-0.2.41/src/io-v4l.c new/zvbi-0.2.42/src/io-v4l.c
--- old/zvbi-0.2.41/src/io-v4l.c        2023-02-13 14:23:51.000000000 +0100
+++ new/zvbi-0.2.42/src/io-v4l.c        2023-08-25 17:50:40.000000000 +0200
@@ -569,7 +569,7 @@
                }
 
                while (dirent == readdir (dir)) {
-                       char name[256];
+                       char name[sizeof(dirent->d_name)+sizeof("/dev/")-1];
 
                        snprintf (name, sizeof(name),
                                  "/dev/%s", dirent->d_name);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zvbi-0.2.41/src/libzvbi.h 
new/zvbi-0.2.42/src/libzvbi.h
--- old/zvbi-0.2.41/src/libzvbi.h       2023-02-13 14:23:51.000000000 +0100
+++ new/zvbi-0.2.42/src/libzvbi.h       2023-08-25 17:50:40.000000000 +0200
@@ -27,7 +27,7 @@
 
 #define VBI_VERSION_MAJOR 0
 #define VBI_VERSION_MINOR 2
-#define VBI_VERSION_MICRO 41
+#define VBI_VERSION_MICRO 42
 
 #ifdef __cplusplus
 extern "C" {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zvbi-0.2.41/src/packet.c new/zvbi-0.2.42/src/packet.c
--- old/zvbi-0.2.41/src/packet.c        2023-02-13 14:23:51.000000000 +0100
+++ new/zvbi-0.2.42/src/packet.c        2023-08-25 17:50:40.000000000 +0200
@@ -2245,14 +2245,14 @@
                while ((curr = vbi->vt.current)) {
                        vtp = curr->page;
 
-                       if (vtp->flags & C11_MAGAZINE_SERIAL) {
+                       if (vtp->flags & C11_MAGAZINE_SERIAL && !(vtp->flags & 
C4_ERASE_PAGE)) {
                                if (vtp->pgno == pgno)
                                        break;
                        } else {
                                curr = rvtp;
                                vtp = curr->page;
 
-                               if ((vtp->pgno & 0xFF) == page)
+                               if ((vtp->pgno & 0xFF) == page && !(vtp->flags 
& C4_ERASE_PAGE))
                                        break;
                        }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zvbi-0.2.41/src/proxy-msg.c 
new/zvbi-0.2.42/src/proxy-msg.c
--- old/zvbi-0.2.41/src/proxy-msg.c     2023-02-13 14:23:51.000000000 +0100
+++ new/zvbi-0.2.42/src/proxy-msg.c     2023-08-25 17:50:40.000000000 +0200
@@ -201,7 +201,8 @@
          if (fd >= 0)
          {  /* each line in the file starts with a timestamp */
             strftime(timestamp, sizeof(timestamp) - 1, "[%d/%b/%Y:%H:%M:%S 
+0000] ", gmtime(&now));
-            write(fd, timestamp, strlen(timestamp));
+            if (write(fd, timestamp, strlen(timestamp)) == -1)
+               fprintf(stderr, "Failed to write timestamp to file\n");
          }
       }
       else
@@ -242,7 +243,8 @@
       for (idx=0; idx < argc; idx++)
       {
          if (fd >= 0)
-            write(fd, argv[idx], strlen(argv[idx]));
+            if (write(fd, argv[idx], strlen(argv[idx])) == -1)
+               fprintf(stderr, "Failed to write %s to file\n", argv[idx]);
          if (proxy_msg_logcf.do_logtty && (level <= LOG_WARNING))
             fprintf(stderr, "%s", argv[idx]);
       }
@@ -250,7 +252,8 @@
       /* terminate the line with a newline character and close the file */
       if (fd >= 0)
       {
-         write(fd, "\n", 1);
+         if (write(fd, "\n", 1) == -1)
+            fprintf(stderr, "Failed to write '\\n' to file\n");
          close(fd);
       }
       if (proxy_msg_logcf.do_logtty && (level <= LOG_WARNING))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zvbi-0.2.41/src/version.h 
new/zvbi-0.2.42/src/version.h
--- old/zvbi-0.2.41/src/version.h       2023-02-13 14:23:51.000000000 +0100
+++ new/zvbi-0.2.42/src/version.h       2023-08-25 17:50:40.000000000 +0200
@@ -1,4 +1,4 @@
 /* TODO: Generate these based on configure.ac*/
 #define VBI_VERSION_MAJOR 0
 #define VBI_VERSION_MINOR 2
-#define VBI_VERSION_MICRO 41
+#define VBI_VERSION_MICRO 42

Reply via email to