Commit 7da6f394 authored by Peter Pentchev's avatar Peter Pentchev

Update the Debian packaging for libdebug-0.5.3.

parent a98d9668
libdebug (0.5.2-4) UNRELEASED; urgency=medium
libdebug (0.5.3-1) UNRELEASED; urgency=medium
* Declare compliance with Debian Policy 4.1.5 with no changes.
* Add a temporary patch to silence a GCC warning.
* New upstream release, update the upstream copyright years.
-- Peter Pentchev <roam@debian.org> Fri, 13 Jul 2018 12:57:07 +0300
......
......@@ -6,7 +6,7 @@ License: BSD-3-clause
Files: *
Copyright: Copyright (c) 2002-2004 Abraham vd Merwe <abz@blio.com>
Copyright (c) 2009-2017 Peter Pentchev <roam@ringlet.net>
Copyright (c) 2009-2018 Peter Pentchev <roam@ringlet.net>
License: BSD-3-clause
Files: debian/*
......
libdebug0: shlib-calls-exit usr/lib/*/libdebug.so.0.5.2
libdebug0: shlib-calls-exit usr/lib/*/libdebug.so.0.5.3
Description: Make an internal counter unsigned.
Forwarded: yes
Author: Peter Pentchev <roam@ringlet.net>
Last-Update: 2018-08-01
--- a/src/log.c
+++ b/src/log.c
@@ -80,7 +80,7 @@
{
int fd; /* file descriptor associated with cached line */
char *cache; /* previous line */
- int hits; /* number of consecutive identical lines */
+ unsigned hits; /* number of consecutive identical lines */
char buf[256]; /* buffer used for saving "Message repeated..." messages */
};
@@ -367,7 +367,7 @@
mem_free (buf);
char b[35];
- snprintf (b, sizeof(b), "Message repeated %d times\n", priv->cache.hits + 1);
+ snprintf (b, sizeof(b), "Message repeated %u times\n", priv->cache.hits + 1);
if (savetodisk (priv->cache.fd, b) < 0)
goto error;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment