Bump to 0.9.1
authorJonathan Dieter <jdieter@gmail.com>
Wed, 25 Jul 2018 16:09:19 +0000 (17:09 +0100)
committerJonathan Dieter <jdieter@gmail.com>
Wed, 25 Jul 2018 16:18:17 +0000 (17:18 +0100)
Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
meson.build
test/abi/stable/libzck.so.0.9.0 [deleted file]
test/abi/stable/libzck.so.0.9.1 [new file with mode: 0755]
test/abi/stable/zck.h
test/compat_reports/zchunk/0.7.6_to_0.9.0/compat_report.html [deleted file]
test/compat_reports/zchunk/0.9.0_to_0.9.1/compat_report.html [new file with mode: 0644]
test/empty.c

index d4f41d315d74bbeefbf2754d39d538c606977bea..1f786f8596dc689fa7123a0d7ace791c67172dd8 100644 (file)
@@ -1,4 +1,4 @@
-project('zck', 'c', version: '0.9.0')
+project('zck', 'c', version: '0.9.1')
 
 so_version = '1'
 
diff --git a/test/abi/stable/libzck.so.0.9.0 b/test/abi/stable/libzck.so.0.9.0
deleted file mode 100755 (executable)
index 29cff33..0000000
Binary files a/test/abi/stable/libzck.so.0.9.0 and /dev/null differ
diff --git a/test/abi/stable/libzck.so.0.9.1 b/test/abi/stable/libzck.so.0.9.1
new file mode 100755 (executable)
index 0000000..3de868f
Binary files /dev/null and b/test/abi/stable/libzck.so.0.9.1 differ
index 41fe2d8632f73a3134466afa6634671f6577867d..9384f7a2cd8f57ec108fe7847db2694abbb0762e 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef ZCK_H
 #define ZCK_H
 
-#define ZCK_VERSION "0.9.0"
+#define ZCK_VERSION "0.9.1"
 
 #define True 1
 #define False 0
@@ -120,7 +120,7 @@ int zck_is_error(zckCtx *zck)
     __attribute__ ((warn_unused_result));
 /* Get error message
  * Returns char* containing error message, or NULL if there isn't one */
-char *zck_get_error(zckCtx *zck);
+const char *zck_get_error(zckCtx *zck);
 /* Clear error message
  * Returns 1 if message was cleared, 0 if error is fatal and can't be cleared */
 int zck_clear_error(zckCtx *zck);
diff --git a/test/compat_reports/zchunk/0.7.6_to_0.9.0/compat_report.html b/test/compat_reports/zchunk/0.7.6_to_0.9.0/compat_report.html
deleted file mode 100644 (file)
index 1358e7b..0000000
+++ /dev/null
@@ -1,1010 +0,0 @@
-<!-- kind:binary;verdict:incompatible;affected:3.7;added:4;removed:0;type_problems_high:0;type_problems_medium:0;type_problems_low:0;interface_problems_high:4;interface_problems_medium:6;interface_problems_low:3;changed_constants:0;tool_version:2.3 -->
-<!-- kind:source;verdict:incompatible;affected:3.7;added:4;removed:0;type_problems_high:0;type_problems_medium:0;type_problems_low:0;interface_problems_high:4;interface_problems_medium:3;interface_problems_low:5;changed_constants:0;interface_changes_other:1;tool_version:2.3 -->
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-<meta name="viewport" content="width=device-width,initial-scale=1" />
-<meta name="keywords" content="zchunk, compatibility, API, ABI, report" />
-<meta name="description" content="API/ABI compatibility report for the zchunk object between 0.7.6 and 0.9.0 versions" />
-<title>zchunk: 0.7.6 to 0.9.0 compatibility report</title>
-<style type="text/css">
-body {
-    font-family:Arial, sans-serif;
-    background-color:White;
-    color:Black;
-}
-hr {
-    color:Black;
-    background-color:Black;
-    height:1px;
-    border:0;
-}
-h1 {
-    margin-bottom:0px;
-    padding-bottom:0px;
-    font-size:1.625em;
-}
-h2 {
-    margin-bottom:0px;
-    padding-bottom:0px;
-    font-size:1.25em;
-    white-space:nowrap;
-}
-span.section {
-    font-weight:bold;
-    cursor:pointer;
-    color:#003E69;
-    white-space:nowrap;
-    margin-left:0.3125em;
-}
-span.new_sign {
-    font-weight:bold;
-    margin-left:1.65em;
-    color:#003E69;
-}
-span.new_sign_lbl {
-    margin-left:3em;
-    font-size:1em;
-    color:Black;
-}
-span:hover.section {
-    color:#336699;
-}
-span.sect_aff {
-    cursor:pointer;
-    padding-left:1.55em;
-    font-size:0.875em;
-    color:#cc3300;
-}
-span.sect_info {
-    cursor:pointer;
-    padding-left:1.55em;
-    font-size:0.875em;
-    color:Black;
-}
-span.ext {
-    font-weight:normal;
-}
-span.h_name {
-    color:#cc3300;
-    font-size:0.875em;
-    font-weight:bold;
-}
-div.h_list, div.lib_list {
-    font-size:0.94em;
-    padding-left:0.4em;
-}
-span.ns {
-    color:#408080;
-    font-size:0.94em;
-}
-span.lib_name {
-    color:Green;
-    font-size:0.875em;
-    font-weight:bold;
-}
-span.iname {
-    font-weight:bold;
-    color:#003E69;
-    margin-left:0.3125em;
-}
-span.iname_b {
-    font-weight:bold;
-}
-span.iname_a {
-    color:#333333;
-    font-weight:bold;
-    font-size:0.94em;
-}
-span.sym_p {
-    font-weight:normal;
-    white-space:normal;
-}
-span.sym_pd {
-    white-space:normal;
-}
-span.sym_p span, span.sym_pd span {
-    white-space:nowrap;
-}
-div.affect {
-    padding-left:1em;
-    padding-bottom:10px;
-    font-size:0.87em;
-    font-style:italic;
-    line-height:0.9em;
-}
-div.affected {
-    padding-left:1.9em;
-    padding-top:10px;
-}
-table.ptable {
-    border-collapse:collapse;
-    border:1px outset black;
-    margin-left:0.95em;
-    margin-top:3px;
-    margin-bottom:3px;
-    width:56.25em;
-}
-table.ptable td {
-    border:1px solid gray;
-    padding:3px;
-    font-size:0.875em;
-    text-align:left;
-    vertical-align:top;
-    max-width:28em;
-    word-wrap:break-word;
-}
-table.ptable th.pn {
-    width:2%;
-}
-table.ptable th.chg {
-    width:47%;
-}
-table.vtable {
-    border-collapse:collapse;
-    border:1px outset black;
-    margin-left:1.9em;
-    margin-top:0.7em;
-}
-table.vtable td {
-    border:1px solid gray;
-    padding:3px;
-    font-size:0.875em;
-    vertical-align:top;
-    max-width:450px;
-    word-wrap:break-word;
-}
-table.ptable th, table.vtable th {
-    background-color:#eeeeee;
-    font-weight:bold;
-    color:#333333;
-    font-family:Verdana, Arial;
-    font-size:0.875em;
-    border:1px solid gray;
-    text-align:center;
-    vertical-align:top;
-    white-space:nowrap;
-    padding:3px;
-}
-table.summary {
-    border-collapse:collapse;
-    border:1px outset black;
-}
-table.summary th {
-    background-color:#eeeeee;
-    font-weight:normal;
-    text-align:left;
-    font-size:0.94em;
-    white-space:nowrap;
-    border:1px inset gray;
-    padding:3px;
-}
-table.summary td {
-    text-align:right;
-    white-space:nowrap;
-    border:1px inset gray;
-    padding:3px 5px 3px 10px;
-}
-span.mngl {
-    padding-left:1em;
-    font-size:0.875em;
-    cursor:text;
-    color:#444444;
-    font-weight:bold;
-}
-span.pleft {
-    padding-left:2.5em;
-}
-span.sym_ver {
-    color:#333333;
-    white-space:nowrap;
-    font-family:"DejaVu Sans Mono", Monospace;
-}
-span.attr {
-    color:#333333;
-    font-weight:normal;
-}
-span.color_p {
-    font-style:italic;
-    color:Brown;
-}
-span.p {
-    font-style:italic;
-}
-span.fp {
-    font-style:italic;
-    background-color:#DCDCDC;
-}
-span.ttype {
-    font-weight:normal;
-}
-span.nowrap {
-    white-space:nowrap;
-}
-span.value {
-    font-weight:bold;
-}
-.passed {
-    background-color:#CCFFCC;
-    font-weight:normal;
-}
-.warning {
-    background-color:#F4F4AF;
-    font-weight:normal;
-}
-.failed {
-    background-color:#FFCCCC;
-    font-weight:normal;
-}
-.new {
-    background-color:#C6DEFF;
-    font-weight:normal;
-}
-.compatible {
-    background-color:#CCFFCC;
-    font-weight:normal;
-}
-.almost_compatible {
-    background-color:#FFDAA3;
-    font-weight:normal;
-}
-.incompatible {
-    background-color:#FFCCCC;
-    font-weight:normal;
-}
-.gray {
-    background-color:#DCDCDC;
-    font-weight:normal;
-}
-.top_ref {
-    font-size:0.69em;
-}
-.footer {
-    font-size:0.75em;
-}
-
-.tabset {
-    float:left;
-}
-a.tab {
-    border:1px solid Black;
-    float:left;
-    margin:0px 5px -1px 0px;
-    padding:3px 5px 3px 5px;
-    position:relative;
-    font-size:0.875em;
-    background-color:#DDD;
-    text-decoration:none;
-    color:Black;
-}
-a.disabled:hover
-{
-    color:Black;
-    background:#EEE;
-}
-a.active:hover
-{
-    color:Black;
-    background:White;
-}
-a.active {
-    border-bottom-color:White;
-    background-color:White;
-}
-div.tab {
-    border-top:1px solid Black;
-    padding:0px;
-    width:100%;
-    clear:both;
-}
-</style>
-<script type="text/javascript" language="JavaScript">
-<!--
-function showContent(header, id)
-{
-    e = document.getElementById(id);
-    if(e.style.display == 'none')
-    {
-        e.style.display = 'block';
-        e.style.visibility = 'visible';
-        header.innerHTML = header.innerHTML.replace(/\[[^0-9 ]\]/gi,"[&minus;]");
-    }
-    else
-    {
-        e.style.display = 'none';
-        e.style.visibility = 'hidden';
-        header.innerHTML = header.innerHTML.replace(/\[[^0-9 ]\]/gi,"[+]");
-    }
-}
-function initTabs()
-{
-    var url = window.location.href;
-    if(url.indexOf('_Source_')!=-1 || url.indexOf('#Source')!=-1)
-    {
-        var tab1 = document.getElementById('BinaryID');
-        var tab2 = document.getElementById('SourceID');
-        tab1.className='tab disabled';
-        tab2.className='tab active';
-    }
-    var sets = document.getElementsByTagName('div');
-    for (var i = 0; i < sets.length; i++)
-    {
-        if (sets[i].className.indexOf('tabset') != -1)
-        {
-            var tabs = [];
-            var links = sets[i].getElementsByTagName('a');
-            for (var j = 0; j < links.length; j++)
-            {
-                if (links[j].className.indexOf('tab') != -1)
-                {
-                    tabs.push(links[j]);
-                    links[j].tabs = tabs;
-                    var tab = document.getElementById(links[j].href.substr(links[j].href.indexOf('#') + 1));
-                    //reset all tabs on start
-                    if (tab)
-                    {
-                        if (links[j].className.indexOf('active')!=-1) {
-                            tab.style.display = 'block';
-                        }
-                        else {
-                            tab.style.display = 'none';
-                        }
-                    }
-                    links[j].onclick = function()
-                    {
-                        var tab = document.getElementById(this.href.substr(this.href.indexOf('#') + 1));
-                        if (tab)
-                        {
-                            //reset all tabs before change
-                            for (var k = 0; k < this.tabs.length; k++)
-                            {
-                                document.getElementById(this.tabs[k].href.substr(this.tabs[k].href.indexOf('#') + 1)).style.display = 'none';
-                                this.tabs[k].className = this.tabs[k].className.replace('active', 'disabled');
-                            }
-                            this.className = 'tab active';
-                            tab.style.display = 'block';
-                            // window.location.hash = this.id.replace('ID', '');
-                            return false;
-                        }
-                    }
-                }
-            }
-        }
-    }
-    if(url.indexOf('#')!=-1) {
-        location.href=location.href;
-    }
-}
-if (window.addEventListener) window.addEventListener('load', initTabs, false);
-else if (window.attachEvent) window.attachEvent('onload', initTabs);
--->
-</script>
-</head>
-<body><a name='Source'></a><a name='Binary'></a><a name='Top'></a><h1>API compatibility report for the <span style='color:Blue;'>libzck.so</span> object between <span style='color:Red;'>0.7.6</span> and <span style='color:Red;'>0.9.0</span> versions on <span style='color:Blue;'>x86_64</span></h1>
-
-            <br/>
-            <div class='tabset'>
-            <a id='BinaryID' href='#BinaryTab' class='tab active'>Binary<br/>Compatibility</a>
-            <a id='SourceID' href='#SourceTab' style='margin-left:3px' class='tab disabled'>Source<br/>Compatibility</a>
-            </div><div id='BinaryTab' class='tab'>
-<h2>Test Info</h2><hr/>
-<table class='summary'>
-<tr><th>Module Name</th><td>zchunk</td></tr>
-<tr><th>Version #1</th><td>0.7.6</td></tr>
-<tr><th>Version #2</th><td>0.9.0</td></tr>
-<tr><th>Arch</th><td>x86_64</td></tr>
-<tr><th>GCC Version</th><td>8.1.1</td></tr>
-<tr><th>Subject</th><td width='150px'>Binary Compatibility</td></tr>
-</table>
-<h2>Test Results</h2><hr/>
-<table class='summary'><tr><th>Total Header Files</th><td><a href='#Headers' style='color:Blue;'>1</a></td></tr>
-<tr><th>Total Objects</th><td><a href='#Libs' style='color:Blue;'>1</a></td></tr>
-<tr><th>Total Symbols / Types</th><td>67 / 12</td></tr>
-<tr><th>Compatibility</th>
-<td class='warning'>96.3%</td>
-</tr>
-</table>
-<h2>Problem Summary</h2><hr/>
-<table class='summary'><tr><th></th><th style='text-align:center;'>Severity</th><th style='text-align:center;'>Count</th></tr><tr><th>Added Symbols</th><td>-</td><td class='new'><a href='#Binary_Added' style='color:Blue;'>4</a></td></tr>
-<tr><th>Removed Symbols</th><td>High</td><td>0</td></tr>
-<tr><th rowspan='3'>Problems with<br/>Data Types</th><td>High</td><td>0</td></tr>
-<tr><td>Medium</td><td>0</td></tr>
-<tr><td>Low</td><td>0</td></tr>
-<tr><th rowspan='3'>Problems with<br/>Symbols</th><td>High</td><td class='failed'><a href='#Symbol_Binary_Problems_High' style='color:Blue;'>4</a></td></tr>
-<tr><td>Medium</td><td class='failed'><a href='#Symbol_Binary_Problems_Medium' style='color:Blue;'>6</a></td></tr>
-<tr><td>Low</td><td class='warning'><a href='#Symbol_Binary_Problems_Low' style='color:Blue;'>3</a></td></tr>
-<tr><th>Problems with<br/>Constants</th><td>Low</td><td>0</td></tr>
-</table>
-
-<a name='Binary_Added'></a><h2>Added Symbols <span class='new'>&nbsp;4&nbsp;</span></h2><hr/>
-<span class='h_name'>zck.h</span>, <span class='lib_name'>libzck.so.0.9.0</span><br/>
-<span class="iname">zck_clear_error&#160;<span class='sym_p'><span>(&#160;zckCtx* <span class='color_p'>zck</span></span>&#160;)</span></span><br/>
-<span class="iname">zck_get_error&#160;<span class='sym_p'><span>(&#160;zckCtx* <span class='color_p'>zck</span></span>&#160;)</span></span><br/>
-<span class="iname">zck_is_error&#160;<span class='sym_p'><span>(&#160;zckCtx* <span class='color_p'>zck</span></span>&#160;)</span></span><br/>
-<span class="iname">zck_set_log_fd&#160;<span class='sym_p'><span>(&#160;int <span class='color_p'>fd</span></span>&#160;)</span></span><br/>
-<br/>
-<a class='top_ref' href='#Top'>to the top</a><br/>
-<a name='High_Risk_Binary_Problems'></a><a name='Symbol_Binary_Problems_High'></a><a name='Interface_Binary_Problems_High'></a>
-<h2>Problems with Symbols, High Severity <span class='failed'>&nbsp;4&nbsp;</span></h2><hr/>
-<span class='h_name'>zck.h</span>, <span class='lib_name'>libzck.so.0.7.6</span><br/>
-<span class="section" onclick="javascript:showContent(this, 'c_1')">
-<span class='ext'>[+]</span> zck_get_range_char&#160;<span class='sym_p'><span>(&#160;zckRange* <span class='color_p'>range</span></span>&#160;)</span> <span class='failed'>&nbsp;1&nbsp;</span></span>
-<br/>
-<div id="c_1" style="display:none;">
-
-
-<span class='new_sign_lbl'>&#8675;</span>
-<br/>
-<span class='new_sign'>zck_get_range_char&#160;<span class='sym_p'><span>(&#160;zckCtx* <span class='color_p'>zck</span></span>, <span>zckRange* <span class='color_p'>range</span></span>&#160;)</span></span><br/>
-<table class='ptable'>
-<tr>
-<th class='pn'></th>
-<th class='chg'>Change</th>
-<th>Effect</th>
-</tr>
-<tr>
-<th>1</th>
-<td>Parameter <b>zck</b> of type <b>zckCtx*</b> has been added to the calling stack at the middle position.</td>
-<td>Layout of parameter's stack has been changed and therefore parameters at higher positions in the stack may be incorrectly initialized by applications.</td>
-</tr>
-</table>
-<br/>
-</div>
-<span class="section" onclick="javascript:showContent(this, 'c_2')">
-<span class='ext'>[+]</span> zck_init_adv_read&#160;<span class='sym_p'><span>(&#160;int <span class='color_p'>src_fd</span></span>&#160;)</span> <span class='failed'>&nbsp;1&nbsp;</span></span>
-<br/>
-<div id="c_2" style="display:none;">
-
-
-<span class='new_sign_lbl'>&#8675;</span>
-<br/>
-<span class='new_sign'>zck_init_adv_read&#160;<span class='sym_p'><span>(&#160;zckCtx* <span class='color_p'>zck</span></span>, <span>int <span class='color_p'>src_fd</span></span>&#160;)</span></span><br/>
-<table class='ptable'>
-<tr>
-<th class='pn'></th>
-<th class='chg'>Change</th>
-<th>Effect</th>
-</tr>
-<tr>
-<th>1</th>
-<td>Parameter <b>zck</b> of type <b>zckCtx*</b> has been added to the calling stack at the middle position.</td>
-<td>Layout of parameter's stack has been changed and therefore parameters at higher positions in the stack may be incorrectly initialized by applications.</td>
-</tr>
-</table>
-<br/>
-</div>
-<span class="section" onclick="javascript:showContent(this, 'c_3')">
-<span class='ext'>[+]</span> zck_init_read&#160;<span class='sym_p'><span>(&#160;int <span class='color_p'>src_fd</span></span>&#160;)</span> <span class='failed'>&nbsp;1&nbsp;</span></span>
-<br/>
-<div id="c_3" style="display:none;">
-
-
-<span class='new_sign_lbl'>&#8675;</span>
-<br/>
-<span class='new_sign'>zck_init_read&#160;<span class='sym_p'><span>(&#160;zckCtx* <span class='color_p'>zck</span></span>, <span>int <span class='color_p'>src_fd</span></span>&#160;)</span></span><br/>
-<table class='ptable'>
-<tr>
-<th class='pn'></th>
-<th class='chg'>Change</th>
-<th>Effect</th>
-</tr>
-<tr>
-<th>1</th>
-<td>Parameter <b>zck</b> of type <b>zckCtx*</b> has been added to the calling stack at the middle position.</td>
-<td>Layout of parameter's stack has been changed and therefore parameters at higher positions in the stack may be incorrectly initialized by applications.</td>
-</tr>
-</table>
-<br/>
-</div>
-<span class="section" onclick="javascript:showContent(this, 'c_4')">
-<span class='ext'>[+]</span> zck_init_write&#160;<span class='sym_p'><span>(&#160;int <span class='color_p'>dst_fd</span></span>&#160;)</span> <span class='failed'>&nbsp;1&nbsp;</span></span>
-<br/>
-<div id="c_4" style="display:none;">
-
-
-<span class='new_sign_lbl'>&#8675;</span>
-<br/>
-<span class='new_sign'>zck_init_write&#160;<span class='sym_p'><span>(&#160;zckCtx* <span class='color_p'>zck</span></span>, <span>int <span class='color_p'>dst_fd</span></span>&#160;)</span></span><br/>
-<table class='ptable'>
-<tr>
-<th class='pn'></th>
-<th class='chg'>Change</th>
-<th>Effect</th>
-</tr>
-<tr>
-<th>1</th>
-<td>Parameter <b>zck</b> of type <b>zckCtx*</b> has been added to the calling stack at the middle position.</td>
-<td>Layout of parameter's stack has been changed and therefore parameters at higher positions in the stack may be incorrectly initialized by applications.</td>
-</tr>
-</table>
-<br/>
-</div>
-<br/>
-<a class='top_ref' href='#Top'>to the top</a><br/>
-<a name='Medium_Risk_Binary_Problems'></a><a name='Symbol_Binary_Problems_Medium'></a><a name='Interface_Binary_Problems_Medium'></a>
-<h2>Problems with Symbols, Medium Severity <span class='failed'>&nbsp;6&nbsp;</span></h2><hr/>
-<span class='h_name'>zck.h</span>, <span class='lib_name'>libzck.so.0.7.6</span><br/>
-<span class="section" onclick="javascript:showContent(this, 'c_5')">
-<span class='ext'>[+]</span> zck_init_adv_read&#160;<span class='sym_p'><span>(&#160;int <span class='color_p'>src_fd</span></span>&#160;)</span> <span class='failed'>&nbsp;2&nbsp;</span></span>
-<br/>
-<div id="c_5" style="display:none;">
-
-<table class='ptable'>
-<tr>
-<th class='pn'></th>
-<th class='chg'>Change</th>
-<th>Effect</th>
-</tr>
-<tr>
-<th>1</th>
-<td>The pointer level of return value has been decreased from <b>1</b> to <b>0</b>.</td>
-<td>Applications may try to access unallocated memory by the dereferencing of new return value and therefore cause a crash.</td>
-</tr>
-<tr>
-<th>2</th>
-<td>Type of return value has been changed from <span class='nowrap'><b>zckCtx*</b> (<b>8</b> bytes)</span> to <span class='nowrap'><b>int</b> (<b>4</b> bytes)</span>.</td>
-<td>Applications will obtain a different return value and execution may change.</td>
-</tr>
-</table>
-<br/>
-</div>
-<span class="section" onclick="javascript:showContent(this, 'c_6')">
-<span class='ext'>[+]</span> zck_init_read&#160;<span class='sym_p'><span>(&#160;int <span class='color_p'>src_fd</span></span>&#160;)</span> <span class='failed'>&nbsp;2&nbsp;</span></span>
-<br/>
-<div id="c_6" style="display:none;">
-
-<table class='ptable'>
-<tr>
-<th class='pn'></th>
-<th class='chg'>Change</th>
-<th>Effect</th>
-</tr>
-<tr>
-<th>1</th>
-<td>The pointer level of return value has been decreased from <b>1</b> to <b>0</b>.</td>
-<td>Applications may try to access unallocated memory by the dereferencing of new return value and therefore cause a crash.</td>
-</tr>
-<tr>
-<th>2</th>
-<td>Type of return value has been changed from <span class='nowrap'><b>zckCtx*</b> (<b>8</b> bytes)</span> to <span class='nowrap'><b>int</b> (<b>4</b> bytes)</span>.</td>
-<td>Applications will obtain a different return value and execution may change.</td>
-</tr>
-</table>
-<br/>
-</div>
-<span class="section" onclick="javascript:showContent(this, 'c_7')">
-<span class='ext'>[+]</span> zck_init_write&#160;<span class='sym_p'><span>(&#160;int <span class='color_p'>dst_fd</span></span>&#160;)</span> <span class='failed'>&nbsp;2&nbsp;</span></span>
-<br/>
-<div id="c_7" style="display:none;">
-
-<table class='ptable'>
-<tr>
-<th class='pn'></th>
-<th class='chg'>Change</th>
-<th>Effect</th>
-</tr>
-<tr>
-<th>1</th>
-<td>The pointer level of return value has been decreased from <b>1</b> to <b>0</b>.</td>
-<td>Applications may try to access unallocated memory by the dereferencing of new return value and therefore cause a crash.</td>
-</tr>
-<tr>
-<th>2</th>
-<td>Type of return value has been changed from <span class='nowrap'><b>zckCtx*</b> (<b>8</b> bytes)</span> to <span class='nowrap'><b>int</b> (<b>4</b> bytes)</span>.</td>
-<td>Applications will obtain a different return value and execution may change.</td>
-</tr>
-</table>
-<br/>
-</div>
-<br/>
-<a class='top_ref' href='#Top'>to the top</a><br/>
-<a name='Low_Risk_Binary_Problems'></a><a name='Symbol_Binary_Problems_Low'></a><a name='Interface_Binary_Problems_Low'></a>
-<h2>Problems with Symbols, Low Severity <span class='warning'>&nbsp;3&nbsp;</span></h2><hr/>
-<span class='h_name'>zck.h</span>, <span class='lib_name'>libzck.so.0.7.6</span><br/>
-<span class="section" onclick="javascript:showContent(this, 'c_8')">
-<span class='ext'>[+]</span> zck_dl_get_bytes_downloaded&#160;<span class='sym_p'><span>(&#160;zckDL* <span class='color_p'>dl</span></span>&#160;)</span> <span class='warning'>&nbsp;1&nbsp;</span></span>
-<br/>
-<div id="c_8" style="display:none;">
-
-<table class='ptable'>
-<tr>
-<th class='pn'></th>
-<th class='chg'>Change</th>
-<th>Effect</th>
-</tr>
-<tr>
-<th>1</th>
-<td>Type of return value has been changed from <b>size_t</b> to <b>ssize_t</b>.</td>
-<td>Replacement of return type may indicate a change in its semantic meaning.</td>
-</tr>
-</table>
-<br/>
-</div>
-<span class="section" onclick="javascript:showContent(this, 'c_9')">
-<span class='ext'>[+]</span> zck_dl_get_bytes_uploaded&#160;<span class='sym_p'><span>(&#160;zckDL* <span class='color_p'>dl</span></span>&#160;)</span> <span class='warning'>&nbsp;1&nbsp;</span></span>
-<br/>
-<div id="c_9" style="display:none;">
-
-<table class='ptable'>
-<tr>
-<th class='pn'></th>
-<th class='chg'>Change</th>
-<th>Effect</th>
-</tr>
-<tr>
-<th>1</th>
-<td>Type of return value has been changed from <b>size_t</b> to <b>ssize_t</b>.</td>
-<td>Replacement of return type may indicate a change in its semantic meaning.</td>
-</tr>
-</table>
-<br/>
-</div>
-<span class="section" onclick="javascript:showContent(this, 'c_10')">
-<span class='ext'>[+]</span> zck_set_fd&#160;<span class='sym_p'><span>(&#160;zckCtx* <span class='color_p'>zck</span></span>, <span>int <span class='color_p'>fd</span></span>&#160;)</span> <span class='warning'>&nbsp;1&nbsp;</span></span>
-<br/>
-<div id="c_10" style="display:none;">
-
-<table class='ptable'>
-<tr>
-<th class='pn'></th>
-<th class='chg'>Change</th>
-<th>Effect</th>
-</tr>
-<tr>
-<th>1</th>
-<td>Type of return value has been changed from <b>void</b> to <span class='nowrap'><b>int</b> (<b>4</b> bytes)</span>.</td>
-<td>Replacement of return type may indicate a change in its semantic meaning.</td>
-</tr>
-</table>
-<br/>
-</div>
-<br/>
-<a class='top_ref' href='#Top'>to the top</a><br/>
-<a name='Headers'></a><h2>Header Files <span class='gray'>&nbsp;1&nbsp;</span></h2><hr/>
-<div class='h_list'>
-zck.h<br/>
-</div>
-<br/><a class='top_ref' href='#Top'>to the top</a><br/>
-<a name='Libs'></a><h2>Objects <span class='gray'>&nbsp;1&nbsp;</span></h2><hr/>
-<div class='lib_list'>
-libzck.so.0.7.6<br/>
-</div>
-<br/><a class='top_ref' href='#Top'>to the top</a><br/>
-<br/><br/><br/></div><div id='SourceTab' class='tab'>
-<h2>Test Info</h2><hr/>
-<table class='summary'>
-<tr><th>Module Name</th><td>zchunk</td></tr>
-<tr><th>Version #1</th><td>0.7.6</td></tr>
-<tr><th>Version #2</th><td>0.9.0</td></tr>
-<tr><th>Arch</th><td>x86_64</td></tr>
-<tr><th>Subject</th><td width='150px'>Source Compatibility</td></tr>
-</table>
-<h2>Test Results</h2><hr/>
-<table class='summary'><tr><th>Total Header Files</th><td><a href='#Headers' style='color:Blue;'>1</a></td></tr>
-<tr><th>Total Objects</th><td><a href='#Libs' style='color:Blue;'>1</a></td></tr>
-<tr><th>Total Symbols / Types</th><td>67 / 12</td></tr>
-<tr><th>Compatibility</th>
-<td class='warning'>96.3%</td>
-</tr>
-</table>
-<h2>Problem Summary</h2><hr/>
-<table class='summary'><tr><th></th><th style='text-align:center;'>Severity</th><th style='text-align:center;'>Count</th></tr><tr><th>Added Symbols</th><td>-</td><td class='new'><a href='#Source_Added' style='color:Blue;'>4</a></td></tr>
-<tr><th>Removed Symbols</th><td>High</td><td>0</td></tr>
-<tr><th rowspan='3'>Problems with<br/>Data Types</th><td>High</td><td>0</td></tr>
-<tr><td>Medium</td><td>0</td></tr>
-<tr><td>Low</td><td>0</td></tr>
-<tr><th rowspan='3'>Problems with<br/>Symbols</th><td>High</td><td class='failed'><a href='#Symbol_Source_Problems_High' style='color:Blue;'>4</a></td></tr>
-<tr><td>Medium</td><td class='failed'><a href='#Symbol_Source_Problems_Medium' style='color:Blue;'>3</a></td></tr>
-<tr><td>Low</td><td class='warning'><a href='#Symbol_Source_Problems_Low' style='color:Blue;'>5</a></td></tr>
-<tr><th>Problems with<br/>Constants</th><td>Low</td><td>0</td></tr>
-<tr><th>Other Changes<br/>in Symbols</th><td>-</td><td class='passed'><a href='#Other_Source_Changes_In_Symbols' style='color:Blue;'>1</a></td></tr>
-</table>
-
-<a name='Source_Added'></a><h2>Added Symbols <span class='new'>&nbsp;4&nbsp;</span></h2><hr/>
-<span class='h_name'>zck.h</span><br/>
-<span class="iname">zck_clear_error&#160;<span class='sym_p'><span>(&#160;zckCtx* <span class='color_p'>zck</span></span>&#160;)</span></span><br/>
-<span class="iname">zck_get_error&#160;<span class='sym_p'><span>(&#160;zckCtx* <span class='color_p'>zck</span></span>&#160;)</span></span><br/>
-<span class="iname">zck_is_error&#160;<span class='sym_p'><span>(&#160;zckCtx* <span class='color_p'>zck</span></span>&#160;)</span></span><br/>
-<span class="iname">zck_set_log_fd&#160;<span class='sym_p'><span>(&#160;int <span class='color_p'>fd</span></span>&#160;)</span></span><br/>
-<br/>
-<a class='top_ref' href='#Top'>to the top</a><br/>
-<a name='High_Risk_Source_Problems'></a><a name='Symbol_Source_Problems_High'></a><a name='Interface_Source_Problems_High'></a>
-<h2>Problems with Symbols, High Severity <span class='failed'>&nbsp;4&nbsp;</span></h2><hr/>
-<span class='h_name'>zck.h</span><br/>
-<span class="section" onclick="javascript:showContent(this, 'c_11')">
-<span class='ext'>[+]</span> zck_get_range_char&#160;<span class='sym_p'><span>(&#160;zckRange* <span class='color_p'>range</span></span>&#160;)</span> <span class='failed'>&nbsp;1&nbsp;</span></span>
-<br/>
-<div id="c_11" style="display:none;">
-
-
-<span class='new_sign_lbl'>&#8675;</span>
-<br/>
-<span class='new_sign'>zck_get_range_char&#160;<span class='sym_p'><span>(&#160;zckCtx* <span class='color_p'>zck</span></span>, <span>zckRange* <span class='color_p'>range</span></span>&#160;)</span></span><br/>
-<table class='ptable'>
-<tr>
-<th class='pn'></th>
-<th class='chg'>Change</th>
-<th>Effect</th>
-</tr>
-<tr>
-<th>1</th>
-<td>Parameter <b>zck</b> of type <b>zckCtx*</b> has been added to the calling stack at the middle position.</td>
-<td>Recompilation of a client program may be broken.</td>
-</tr>
-</table>
-<br/>
-</div>
-<span class="section" onclick="javascript:showContent(this, 'c_12')">
-<span class='ext'>[+]</span> zck_init_adv_read&#160;<span class='sym_p'><span>(&#160;int <span class='color_p'>src_fd</span></span>&#160;)</span> <span class='failed'>&nbsp;1&nbsp;</span></span>
-<br/>
-<div id="c_12" style="display:none;">
-
-
-<span class='new_sign_lbl'>&#8675;</span>
-<br/>
-<span class='new_sign'>zck_init_adv_read&#160;<span class='sym_p'><span>(&#160;zckCtx* <span class='color_p'>zck</span></span>, <span>int <span class='color_p'>src_fd</span></span>&#160;)</span></span><br/>
-<table class='ptable'>
-<tr>
-<th class='pn'></th>
-<th class='chg'>Change</th>
-<th>Effect</th>
-</tr>
-<tr>
-<th>1</th>
-<td>Parameter <b>zck</b> of type <b>zckCtx*</b> has been added to the calling stack at the middle position.</td>
-<td>Recompilation of a client program may be broken.</td>
-</tr>
-</table>
-<br/>
-</div>
-<span class="section" onclick="javascript:showContent(this, 'c_13')">
-<span class='ext'>[+]</span> zck_init_read&#160;<span class='sym_p'><span>(&#160;int <span class='color_p'>src_fd</span></span>&#160;)</span> <span class='failed'>&nbsp;1&nbsp;</span></span>
-<br/>
-<div id="c_13" style="display:none;">
-
-
-<span class='new_sign_lbl'>&#8675;</span>
-<br/>
-<span class='new_sign'>zck_init_read&#160;<span class='sym_p'><span>(&#160;zckCtx* <span class='color_p'>zck</span></span>, <span>int <span class='color_p'>src_fd</span></span>&#160;)</span></span><br/>
-<table class='ptable'>
-<tr>
-<th class='pn'></th>
-<th class='chg'>Change</th>
-<th>Effect</th>
-</tr>
-<tr>
-<th>1</th>
-<td>Parameter <b>zck</b> of type <b>zckCtx*</b> has been added to the calling stack at the middle position.</td>
-<td>Recompilation of a client program may be broken.</td>
-</tr>
-</table>
-<br/>
-</div>
-<span class="section" onclick="javascript:showContent(this, 'c_14')">
-<span class='ext'>[+]</span> zck_init_write&#160;<span class='sym_p'><span>(&#160;int <span class='color_p'>dst_fd</span></span>&#160;)</span> <span class='failed'>&nbsp;1&nbsp;</span></span>
-<br/>
-<div id="c_14" style="display:none;">
-
-
-<span class='new_sign_lbl'>&#8675;</span>
-<br/>
-<span class='new_sign'>zck_init_write&#160;<span class='sym_p'><span>(&#160;zckCtx* <span class='color_p'>zck</span></span>, <span>int <span class='color_p'>dst_fd</span></span>&#160;)</span></span><br/>
-<table class='ptable'>
-<tr>
-<th class='pn'></th>
-<th class='chg'>Change</th>
-<th>Effect</th>
-</tr>
-<tr>
-<th>1</th>
-<td>Parameter <b>zck</b> of type <b>zckCtx*</b> has been added to the calling stack at the middle position.</td>
-<td>Recompilation of a client program may be broken.</td>
-</tr>
-</table>
-<br/>
-</div>
-<br/>
-<a class='top_ref' href='#Top'>to the top</a><br/>
-<a name='Medium_Risk_Source_Problems'></a><a name='Symbol_Source_Problems_Medium'></a><a name='Interface_Source_Problems_Medium'></a>
-<h2>Problems with Symbols, Medium Severity <span class='failed'>&nbsp;3&nbsp;</span></h2><hr/>
-<span class='h_name'>zck.h</span><br/>
-<span class="section" onclick="javascript:showContent(this, 'c_15')">
-<span class='ext'>[+]</span> zck_init_adv_read&#160;<span class='sym_p'><span>(&#160;int <span class='color_p'>src_fd</span></span>&#160;)</span> <span class='failed'>&nbsp;1&nbsp;</span></span>
-<br/>
-<div id="c_15" style="display:none;">
-
-<table class='ptable'>
-<tr>
-<th class='pn'></th>
-<th class='chg'>Change</th>
-<th>Effect</th>
-</tr>
-<tr>
-<th>1</th>
-<td>The pointer level of return value has been increased from <b>1</b> to <b>0</b>.</td>
-<td>Recompilation of a client program may be broken.</td>
-</tr>
-</table>
-<br/>
-</div>
-<span class="section" onclick="javascript:showContent(this, 'c_16')">
-<span class='ext'>[+]</span> zck_init_read&#160;<span class='sym_p'><span>(&#160;int <span class='color_p'>src_fd</span></span>&#160;)</span> <span class='failed'>&nbsp;1&nbsp;</span></span>
-<br/>
-<div id="c_16" style="display:none;">
-
-<table class='ptable'>
-<tr>
-<th class='pn'></th>
-<th class='chg'>Change</th>
-<th>Effect</th>
-</tr>
-<tr>
-<th>1</th>
-<td>The pointer level of return value has been increased from <b>1</b> to <b>0</b>.</td>
-<td>Recompilation of a client program may be broken.</td>
-</tr>
-</table>
-<br/>
-</div>
-<span class="section" onclick="javascript:showContent(this, 'c_17')">
-<span class='ext'>[+]</span> zck_init_write&#160;<span class='sym_p'><span>(&#160;int <span class='color_p'>dst_fd</span></span>&#160;)</span> <span class='failed'>&nbsp;1&nbsp;</span></span>
-<br/>
-<div id="c_17" style="display:none;">
-
-<table class='ptable'>
-<tr>
-<th class='pn'></th>
-<th class='chg'>Change</th>
-<th>Effect</th>
-</tr>
-<tr>
-<th>1</th>
-<td>The pointer level of return value has been increased from <b>1</b> to <b>0</b>.</td>
-<td>Recompilation of a client program may be broken.</td>
-</tr>
-</table>
-<br/>
-</div>
-<br/>
-<a class='top_ref' href='#Top'>to the top</a><br/>
-<a name='Low_Risk_Source_Problems'></a><a name='Symbol_Source_Problems_Low'></a><a name='Interface_Source_Problems_Low'></a>
-<h2>Problems with Symbols, Low Severity <span class='warning'>&nbsp;5&nbsp;</span></h2><hr/>
-<span class='h_name'>zck.h</span><br/>
-<span class="section" onclick="javascript:showContent(this, 'c_18')">
-<span class='ext'>[+]</span> zck_dl_get_bytes_downloaded&#160;<span class='sym_p'><span>(&#160;zckDL* <span class='color_p'>dl</span></span>&#160;)</span> <span class='warning'>&nbsp;1&nbsp;</span></span>
-<br/>
-<div id="c_18" style="display:none;">
-
-<table class='ptable'>
-<tr>
-<th class='pn'></th>
-<th class='chg'>Change</th>
-<th>Effect</th>
-</tr>
-<tr>
-<th>1</th>
-<td>Type of return value has been changed from <b>size_t</b> to <b>ssize_t</b>.</td>
-<td>Recompilation of a client program may be broken.</td>
-</tr>
-</table>
-<br/>
-</div>
-<span class="section" onclick="javascript:showContent(this, 'c_19')">
-<span class='ext'>[+]</span> zck_dl_get_bytes_uploaded&#160;<span class='sym_p'><span>(&#160;zckDL* <span class='color_p'>dl</span></span>&#160;)</span> <span class='warning'>&nbsp;1&nbsp;</span></span>
-<br/>
-<div id="c_19" style="display:none;">
-
-<table class='ptable'>
-<tr>
-<th class='pn'></th>
-<th class='chg'>Change</th>
-<th>Effect</th>
-</tr>
-<tr>
-<th>1</th>
-<td>Type of return value has been changed from <b>size_t</b> to <b>ssize_t</b>.</td>
-<td>Recompilation of a client program may be broken.</td>
-</tr>
-</table>
-<br/>
-</div>
-<span class="section" onclick="javascript:showContent(this, 'c_20')">
-<span class='ext'>[+]</span> zck_init_adv_read&#160;<span class='sym_p'><span>(&#160;int <span class='color_p'>src_fd</span></span>&#160;)</span> <span class='warning'>&nbsp;1&nbsp;</span></span>
-<br/>
-<div id="c_20" style="display:none;">
-
-<table class='ptable'>
-<tr>
-<th class='pn'></th>
-<th class='chg'>Change</th>
-<th>Effect</th>
-</tr>
-<tr>
-<th>1</th>
-<td>Type of return value has been changed from <b>zckCtx*</b> to <b>int</b>.</td>
-<td>Recompilation of a client program may be broken.</td>
-</tr>
-</table>
-<br/>
-</div>
-<span class="section" onclick="javascript:showContent(this, 'c_21')">
-<span class='ext'>[+]</span> zck_init_read&#160;<span class='sym_p'><span>(&#160;int <span class='color_p'>src_fd</span></span>&#160;)</span> <span class='warning'>&nbsp;1&nbsp;</span></span>
-<br/>
-<div id="c_21" style="display:none;">
-
-<table class='ptable'>
-<tr>
-<th class='pn'></th>
-<th class='chg'>Change</th>
-<th>Effect</th>
-</tr>
-<tr>
-<th>1</th>
-<td>Type of return value has been changed from <b>zckCtx*</b> to <b>int</b>.</td>
-<td>Recompilation of a client program may be broken.</td>
-</tr>
-</table>
-<br/>
-</div>
-<span class="section" onclick="javascript:showContent(this, 'c_22')">
-<span class='ext'>[+]</span> zck_init_write&#160;<span class='sym_p'><span>(&#160;int <span class='color_p'>dst_fd</span></span>&#160;)</span> <span class='warning'>&nbsp;1&nbsp;</span></span>
-<br/>
-<div id="c_22" style="display:none;">
-
-<table class='ptable'>
-<tr>
-<th class='pn'></th>
-<th class='chg'>Change</th>
-<th>Effect</th>
-</tr>
-<tr>
-<th>1</th>
-<td>Type of return value has been changed from <b>zckCtx*</b> to <b>int</b>.</td>
-<td>Recompilation of a client program may be broken.</td>
-</tr>
-</table>
-<br/>
-</div>
-<br/>
-<a class='top_ref' href='#Top'>to the top</a><br/>
-<a name='Other_Source_Changes'></a><a name='Other_Source_Changes_In_Symbols'></a><a name='Other_Source_Changes_In_Interfaces'></a>
-<h2>Other Changes in Symbols <span class='passed'>&nbsp;1&nbsp;</span></h2><hr/>
-<span class='h_name'>zck.h</span><br/>
-<span class="section" onclick="javascript:showContent(this, 'c_23')">
-<span class='ext'>[+]</span> zck_set_fd&#160;<span class='sym_p'><span>(&#160;zckCtx* <span class='color_p'>zck</span></span>, <span>int <span class='color_p'>fd</span></span>&#160;)</span> <span class='passed'>&nbsp;1&nbsp;</span></span>
-<br/>
-<div id="c_23" style="display:none;">
-
-<table class='ptable'>
-<tr>
-<th class='pn'></th>
-<th class='chg'>Change</th>
-<th>Effect</th>
-</tr>
-<tr>
-<th>1</th>
-<td>Type of return value has been changed from <b>void</b> to <b>int</b>.</td>
-<td>No effect.</td>
-</tr>
-</table>
-<br/>
-</div>
-<br/>
-<a class='top_ref' href='#Top'>to the top</a><br/>
-<a name='Headers'></a><h2>Header Files <span class='gray'>&nbsp;1&nbsp;</span></h2><hr/>
-<div class='h_list'>
-zck.h<br/>
-</div>
-<br/><a class='top_ref' href='#Top'>to the top</a><br/>
-<a name='Libs'></a><h2>Objects <span class='gray'>&nbsp;1&nbsp;</span></h2><hr/>
-<div class='lib_list'>
-libzck.so.0.7.6<br/>
-</div>
-<br/><a class='top_ref' href='#Top'>to the top</a><br/>
-<br/><br/><br/></div><hr/>
-<div class='footer' align='right'><i>Generated by <a href='https://github.com/lvc/abi-compliance-checker'>ABI Compliance Checker</a> 2.3 &#160;</i>
-</div>
-<br/>
-
-</body></html>
diff --git a/test/compat_reports/zchunk/0.9.0_to_0.9.1/compat_report.html b/test/compat_reports/zchunk/0.9.0_to_0.9.1/compat_report.html
new file mode 100644 (file)
index 0000000..9fe2866
--- /dev/null
@@ -0,0 +1,546 @@
+<!-- kind:binary;verdict:incompatible;affected:0.7;added:0;removed:0;type_problems_high:0;type_problems_medium:0;type_problems_low:0;interface_problems_high:0;interface_problems_medium:1;interface_problems_low:1;changed_constants:0;tool_version:2.3 -->
+<!-- kind:source;verdict:incompatible;affected:0.7;added:0;removed:0;type_problems_high:0;type_problems_medium:0;type_problems_low:0;interface_problems_high:0;interface_problems_medium:1;interface_problems_low:0;changed_constants:0;tool_version:2.3 -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<meta name="viewport" content="width=device-width,initial-scale=1" />
+<meta name="keywords" content="zchunk, compatibility, API, ABI, report" />
+<meta name="description" content="API/ABI compatibility report for the zchunk object between 0.9.0 and 0.9.1 versions" />
+<title>zchunk: 0.9.0 to 0.9.1 compatibility report</title>
+<style type="text/css">
+body {
+    font-family:Arial, sans-serif;
+    background-color:White;
+    color:Black;
+}
+hr {
+    color:Black;
+    background-color:Black;
+    height:1px;
+    border:0;
+}
+h1 {
+    margin-bottom:0px;
+    padding-bottom:0px;
+    font-size:1.625em;
+}
+h2 {
+    margin-bottom:0px;
+    padding-bottom:0px;
+    font-size:1.25em;
+    white-space:nowrap;
+}
+span.section {
+    font-weight:bold;
+    cursor:pointer;
+    color:#003E69;
+    white-space:nowrap;
+    margin-left:0.3125em;
+}
+span.new_sign {
+    font-weight:bold;
+    margin-left:1.65em;
+    color:#003E69;
+}
+span.new_sign_lbl {
+    margin-left:3em;
+    font-size:1em;
+    color:Black;
+}
+span:hover.section {
+    color:#336699;
+}
+span.sect_aff {
+    cursor:pointer;
+    padding-left:1.55em;
+    font-size:0.875em;
+    color:#cc3300;
+}
+span.sect_info {
+    cursor:pointer;
+    padding-left:1.55em;
+    font-size:0.875em;
+    color:Black;
+}
+span.ext {
+    font-weight:normal;
+}
+span.h_name {
+    color:#cc3300;
+    font-size:0.875em;
+    font-weight:bold;
+}
+div.h_list, div.lib_list {
+    font-size:0.94em;
+    padding-left:0.4em;
+}
+span.ns {
+    color:#408080;
+    font-size:0.94em;
+}
+span.lib_name {
+    color:Green;
+    font-size:0.875em;
+    font-weight:bold;
+}
+span.iname {
+    font-weight:bold;
+    color:#003E69;
+    margin-left:0.3125em;
+}
+span.iname_b {
+    font-weight:bold;
+}
+span.iname_a {
+    color:#333333;
+    font-weight:bold;
+    font-size:0.94em;
+}
+span.sym_p {
+    font-weight:normal;
+    white-space:normal;
+}
+span.sym_pd {
+    white-space:normal;
+}
+span.sym_p span, span.sym_pd span {
+    white-space:nowrap;
+}
+div.affect {
+    padding-left:1em;
+    padding-bottom:10px;
+    font-size:0.87em;
+    font-style:italic;
+    line-height:0.9em;
+}
+div.affected {
+    padding-left:1.9em;
+    padding-top:10px;
+}
+table.ptable {
+    border-collapse:collapse;
+    border:1px outset black;
+    margin-left:0.95em;
+    margin-top:3px;
+    margin-bottom:3px;
+    width:56.25em;
+}
+table.ptable td {
+    border:1px solid gray;
+    padding:3px;
+    font-size:0.875em;
+    text-align:left;
+    vertical-align:top;
+    max-width:28em;
+    word-wrap:break-word;
+}
+table.ptable th.pn {
+    width:2%;
+}
+table.ptable th.chg {
+    width:47%;
+}
+table.vtable {
+    border-collapse:collapse;
+    border:1px outset black;
+    margin-left:1.9em;
+    margin-top:0.7em;
+}
+table.vtable td {
+    border:1px solid gray;
+    padding:3px;
+    font-size:0.875em;
+    vertical-align:top;
+    max-width:450px;
+    word-wrap:break-word;
+}
+table.ptable th, table.vtable th {
+    background-color:#eeeeee;
+    font-weight:bold;
+    color:#333333;
+    font-family:Verdana, Arial;
+    font-size:0.875em;
+    border:1px solid gray;
+    text-align:center;
+    vertical-align:top;
+    white-space:nowrap;
+    padding:3px;
+}
+table.summary {
+    border-collapse:collapse;
+    border:1px outset black;
+}
+table.summary th {
+    background-color:#eeeeee;
+    font-weight:normal;
+    text-align:left;
+    font-size:0.94em;
+    white-space:nowrap;
+    border:1px inset gray;
+    padding:3px;
+}
+table.summary td {
+    text-align:right;
+    white-space:nowrap;
+    border:1px inset gray;
+    padding:3px 5px 3px 10px;
+}
+span.mngl {
+    padding-left:1em;
+    font-size:0.875em;
+    cursor:text;
+    color:#444444;
+    font-weight:bold;
+}
+span.pleft {
+    padding-left:2.5em;
+}
+span.sym_ver {
+    color:#333333;
+    white-space:nowrap;
+    font-family:"DejaVu Sans Mono", Monospace;
+}
+span.attr {
+    color:#333333;
+    font-weight:normal;
+}
+span.color_p {
+    font-style:italic;
+    color:Brown;
+}
+span.p {
+    font-style:italic;
+}
+span.fp {
+    font-style:italic;
+    background-color:#DCDCDC;
+}
+span.ttype {
+    font-weight:normal;
+}
+span.nowrap {
+    white-space:nowrap;
+}
+span.value {
+    font-weight:bold;
+}
+.passed {
+    background-color:#CCFFCC;
+    font-weight:normal;
+}
+.warning {
+    background-color:#F4F4AF;
+    font-weight:normal;
+}
+.failed {
+    background-color:#FFCCCC;
+    font-weight:normal;
+}
+.new {
+    background-color:#C6DEFF;
+    font-weight:normal;
+}
+.compatible {
+    background-color:#CCFFCC;
+    font-weight:normal;
+}
+.almost_compatible {
+    background-color:#FFDAA3;
+    font-weight:normal;
+}
+.incompatible {
+    background-color:#FFCCCC;
+    font-weight:normal;
+}
+.gray {
+    background-color:#DCDCDC;
+    font-weight:normal;
+}
+.top_ref {
+    font-size:0.69em;
+}
+.footer {
+    font-size:0.75em;
+}
+
+.tabset {
+    float:left;
+}
+a.tab {
+    border:1px solid Black;
+    float:left;
+    margin:0px 5px -1px 0px;
+    padding:3px 5px 3px 5px;
+    position:relative;
+    font-size:0.875em;
+    background-color:#DDD;
+    text-decoration:none;
+    color:Black;
+}
+a.disabled:hover
+{
+    color:Black;
+    background:#EEE;
+}
+a.active:hover
+{
+    color:Black;
+    background:White;
+}
+a.active {
+    border-bottom-color:White;
+    background-color:White;
+}
+div.tab {
+    border-top:1px solid Black;
+    padding:0px;
+    width:100%;
+    clear:both;
+}
+</style>
+<script type="text/javascript" language="JavaScript">
+<!--
+function showContent(header, id)
+{
+    e = document.getElementById(id);
+    if(e.style.display == 'none')
+    {
+        e.style.display = 'block';
+        e.style.visibility = 'visible';
+        header.innerHTML = header.innerHTML.replace(/\[[^0-9 ]\]/gi,"[&minus;]");
+    }
+    else
+    {
+        e.style.display = 'none';
+        e.style.visibility = 'hidden';
+        header.innerHTML = header.innerHTML.replace(/\[[^0-9 ]\]/gi,"[+]");
+    }
+}
+function initTabs()
+{
+    var url = window.location.href;
+    if(url.indexOf('_Source_')!=-1 || url.indexOf('#Source')!=-1)
+    {
+        var tab1 = document.getElementById('BinaryID');
+        var tab2 = document.getElementById('SourceID');
+        tab1.className='tab disabled';
+        tab2.className='tab active';
+    }
+    var sets = document.getElementsByTagName('div');
+    for (var i = 0; i < sets.length; i++)
+    {
+        if (sets[i].className.indexOf('tabset') != -1)
+        {
+            var tabs = [];
+            var links = sets[i].getElementsByTagName('a');
+            for (var j = 0; j < links.length; j++)
+            {
+                if (links[j].className.indexOf('tab') != -1)
+                {
+                    tabs.push(links[j]);
+                    links[j].tabs = tabs;
+                    var tab = document.getElementById(links[j].href.substr(links[j].href.indexOf('#') + 1));
+                    //reset all tabs on start
+                    if (tab)
+                    {
+                        if (links[j].className.indexOf('active')!=-1) {
+                            tab.style.display = 'block';
+                        }
+                        else {
+                            tab.style.display = 'none';
+                        }
+                    }
+                    links[j].onclick = function()
+                    {
+                        var tab = document.getElementById(this.href.substr(this.href.indexOf('#') + 1));
+                        if (tab)
+                        {
+                            //reset all tabs before change
+                            for (var k = 0; k < this.tabs.length; k++)
+                            {
+                                document.getElementById(this.tabs[k].href.substr(this.tabs[k].href.indexOf('#') + 1)).style.display = 'none';
+                                this.tabs[k].className = this.tabs[k].className.replace('active', 'disabled');
+                            }
+                            this.className = 'tab active';
+                            tab.style.display = 'block';
+                            // window.location.hash = this.id.replace('ID', '');
+                            return false;
+                        }
+                    }
+                }
+            }
+        }
+    }
+    if(url.indexOf('#')!=-1) {
+        location.href=location.href;
+    }
+}
+if (window.addEventListener) window.addEventListener('load', initTabs, false);
+else if (window.attachEvent) window.attachEvent('onload', initTabs);
+-->
+</script>
+</head>
+<body><a name='Source'></a><a name='Binary'></a><a name='Top'></a><h1>API compatibility report for the <span style='color:Blue;'>libzck.so</span> object between <span style='color:Red;'>0.9.0</span> and <span style='color:Red;'>0.9.1</span> versions on <span style='color:Blue;'>x86_64</span></h1>
+
+            <br/>
+            <div class='tabset'>
+            <a id='BinaryID' href='#BinaryTab' class='tab active'>Binary<br/>Compatibility</a>
+            <a id='SourceID' href='#SourceTab' style='margin-left:3px' class='tab disabled'>Source<br/>Compatibility</a>
+            </div><div id='BinaryTab' class='tab'>
+<h2>Test Info</h2><hr/>
+<table class='summary'>
+<tr><th>Module Name</th><td>zchunk</td></tr>
+<tr><th>Version #1</th><td>0.9.0</td></tr>
+<tr><th>Version #2</th><td>0.9.1</td></tr>
+<tr><th>Arch</th><td>x86_64</td></tr>
+<tr><th>GCC Version</th><td>8.1.1</td></tr>
+<tr><th>Subject</th><td width='150px'>Binary Compatibility</td></tr>
+</table>
+<h2>Test Results</h2><hr/>
+<table class='summary'><tr><th>Total Header Files</th><td><a href='#Headers' style='color:Blue;'>1</a></td></tr>
+<tr><th>Total Objects</th><td><a href='#Libs' style='color:Blue;'>1</a></td></tr>
+<tr><th>Total Symbols / Types</th><td>71 / 12</td></tr>
+<tr><th>Compatibility</th>
+<td class='warning'>99.3%</td>
+</tr>
+</table>
+<h2>Problem Summary</h2><hr/>
+<table class='summary'><tr><th></th><th style='text-align:center;'>Severity</th><th style='text-align:center;'>Count</th></tr><tr><th>Added Symbols</th><td>-</td><td>0</td></tr>
+<tr><th>Removed Symbols</th><td>High</td><td>0</td></tr>
+<tr><th rowspan='3'>Problems with<br/>Data Types</th><td>High</td><td>0</td></tr>
+<tr><td>Medium</td><td>0</td></tr>
+<tr><td>Low</td><td>0</td></tr>
+<tr><th rowspan='3'>Problems with<br/>Symbols</th><td>High</td><td>0</td></tr>
+<tr><td>Medium</td><td class='failed'><a href='#Symbol_Binary_Problems_Medium' style='color:Blue;'>1</a></td></tr>
+<tr><td>Low</td><td class='warning'><a href='#Symbol_Binary_Problems_Low' style='color:Blue;'>1</a></td></tr>
+<tr><th>Problems with<br/>Constants</th><td>Low</td><td>0</td></tr>
+</table>
+
+<a name='Medium_Risk_Binary_Problems'></a><a name='Symbol_Binary_Problems_Medium'></a><a name='Interface_Binary_Problems_Medium'></a>
+<h2>Problems with Symbols, Medium Severity <span class='failed'>&nbsp;1&nbsp;</span></h2><hr/>
+<span class='h_name'>zck.h</span>, <span class='lib_name'>libzck.so.0.9.0</span><br/>
+<span class="section" onclick="javascript:showContent(this, 'c_1')">
+<span class='ext'>[+]</span> zck_get_error&#160;<span class='sym_p'><span>(&#160;zckCtx* <span class='color_p'>zck</span></span>&#160;)</span> <span class='failed'>&nbsp;1&nbsp;</span></span>
+<br/>
+<div id="c_1" style="display:none;">
+
+<table class='ptable'>
+<tr>
+<th class='pn'></th>
+<th class='chg'>Change</th>
+<th>Effect</th>
+</tr>
+<tr>
+<th>1</th>
+<td>Type of return value became <b>const</b> (has been changed from <b>char*</b> to <span class='value'>char const*</span>).</td>
+<td>The return value will be treated as non-const by old client applications. This may result in crash or incorrect behavior of applications.</td>
+</tr>
+</table>
+<br/>
+</div>
+<br/>
+<a class='top_ref' href='#Top'>to the top</a><br/>
+<a name='Low_Risk_Binary_Problems'></a><a name='Symbol_Binary_Problems_Low'></a><a name='Interface_Binary_Problems_Low'></a>
+<h2>Problems with Symbols, Low Severity <span class='warning'>&nbsp;1&nbsp;</span></h2><hr/>
+<span class='h_name'>zck.h</span>, <span class='lib_name'>libzck.so.0.9.0</span><br/>
+<span class="section" onclick="javascript:showContent(this, 'c_2')">
+<span class='ext'>[+]</span> zck_get_error&#160;<span class='sym_p'><span>(&#160;zckCtx* <span class='color_p'>zck</span></span>&#160;)</span> <span class='warning'>&nbsp;1&nbsp;</span></span>
+<br/>
+<div id="c_2" style="display:none;">
+
+<table class='ptable'>
+<tr>
+<th class='pn'></th>
+<th class='chg'>Change</th>
+<th>Effect</th>
+</tr>
+<tr>
+<th>1</th>
+<td>Type of return value has been changed from <b>char*</b> to <span class='value'>char const*</span>.</td>
+<td>Replacement of return type may indicate a change in its semantic meaning.</td>
+</tr>
+</table>
+<br/>
+</div>
+<br/>
+<a class='top_ref' href='#Top'>to the top</a><br/>
+<a name='Headers'></a><h2>Header Files <span class='gray'>&nbsp;1&nbsp;</span></h2><hr/>
+<div class='h_list'>
+zck.h<br/>
+</div>
+<br/><a class='top_ref' href='#Top'>to the top</a><br/>
+<a name='Libs'></a><h2>Objects <span class='gray'>&nbsp;1&nbsp;</span></h2><hr/>
+<div class='lib_list'>
+libzck.so.0.9.0<br/>
+</div>
+<br/><a class='top_ref' href='#Top'>to the top</a><br/>
+<br/><br/><br/></div><div id='SourceTab' class='tab'>
+<h2>Test Info</h2><hr/>
+<table class='summary'>
+<tr><th>Module Name</th><td>zchunk</td></tr>
+<tr><th>Version #1</th><td>0.9.0</td></tr>
+<tr><th>Version #2</th><td>0.9.1</td></tr>
+<tr><th>Arch</th><td>x86_64</td></tr>
+<tr><th>Subject</th><td width='150px'>Source Compatibility</td></tr>
+</table>
+<h2>Test Results</h2><hr/>
+<table class='summary'><tr><th>Total Header Files</th><td><a href='#Headers' style='color:Blue;'>1</a></td></tr>
+<tr><th>Total Objects</th><td><a href='#Libs' style='color:Blue;'>1</a></td></tr>
+<tr><th>Total Symbols / Types</th><td>71 / 12</td></tr>
+<tr><th>Compatibility</th>
+<td class='warning'>99.3%</td>
+</tr>
+</table>
+<h2>Problem Summary</h2><hr/>
+<table class='summary'><tr><th></th><th style='text-align:center;'>Severity</th><th style='text-align:center;'>Count</th></tr><tr><th>Added Symbols</th><td>-</td><td>0</td></tr>
+<tr><th>Removed Symbols</th><td>High</td><td>0</td></tr>
+<tr><th rowspan='3'>Problems with<br/>Data Types</th><td>High</td><td>0</td></tr>
+<tr><td>Medium</td><td>0</td></tr>
+<tr><td>Low</td><td>0</td></tr>
+<tr><th rowspan='3'>Problems with<br/>Symbols</th><td>High</td><td>0</td></tr>
+<tr><td>Medium</td><td class='failed'><a href='#Symbol_Source_Problems_Medium' style='color:Blue;'>1</a></td></tr>
+<tr><td>Low</td><td>0</td></tr>
+<tr><th>Problems with<br/>Constants</th><td>Low</td><td>0</td></tr>
+</table>
+
+<a name='Medium_Risk_Source_Problems'></a><a name='Symbol_Source_Problems_Medium'></a><a name='Interface_Source_Problems_Medium'></a>
+<h2>Problems with Symbols, Medium Severity <span class='failed'>&nbsp;1&nbsp;</span></h2><hr/>
+<span class='h_name'>zck.h</span><br/>
+<span class="section" onclick="javascript:showContent(this, 'c_3')">
+<span class='ext'>[+]</span> zck_get_error&#160;<span class='sym_p'><span>(&#160;zckCtx* <span class='color_p'>zck</span></span>&#160;)</span> <span class='failed'>&nbsp;1&nbsp;</span></span>
+<br/>
+<div id="c_3" style="display:none;">
+
+<table class='ptable'>
+<tr>
+<th class='pn'></th>
+<th class='chg'>Change</th>
+<th>Effect</th>
+</tr>
+<tr>
+<th>1</th>
+<td>Type of return value became <b>const</b> (has been changed from <b>char*</b> to <span class='value'>char const*</span>).</td>
+<td>Recompilation of a client program may be broken.</td>
+</tr>
+</table>
+<br/>
+</div>
+<br/>
+<a class='top_ref' href='#Top'>to the top</a><br/>
+<a name='Headers'></a><h2>Header Files <span class='gray'>&nbsp;1&nbsp;</span></h2><hr/>
+<div class='h_list'>
+zck.h<br/>
+</div>
+<br/><a class='top_ref' href='#Top'>to the top</a><br/>
+<a name='Libs'></a><h2>Objects <span class='gray'>&nbsp;1&nbsp;</span></h2><hr/>
+<div class='lib_list'>
+libzck.so.0.9.0<br/>
+</div>
+<br/><a class='top_ref' href='#Top'>to the top</a><br/>
+<br/><br/><br/></div><hr/>
+<div class='footer' align='right'><i>Generated by <a href='https://github.com/lvc/abi-compliance-checker'>ABI Compliance Checker</a> 2.3 &#160;</i>
+</div>
+<br/>
+
+</body></html>
index 6d03247b9912d850317165341fe4ca01849169e0..4413633c3e04ebbed00f6ce6e9770e54198cfe96 100644 (file)
@@ -49,7 +49,7 @@ int main (int argc, char *argv[]) {
     if(zck == NULL)
         exit(1);
     if(!zck_init_write(zck, out)) {
-        printf(zck_get_error(zck));
+        printf("%s", zck_get_error(zck));
         exit(1);
     }
 
@@ -91,7 +91,7 @@ int main (int argc, char *argv[]) {
     if(zck == NULL)
         exit(1);
     if(!zck_init_read(zck, in)) {
-        printf(zck_get_error(zck));
+        printf("%s", zck_get_error(zck));
         exit(1);
     }
     memset(data, 0, 1000);