From: Jonathan Dieter Date: Wed, 25 Jul 2018 16:09:19 +0000 (+0100) Subject: Bump to 0.9.1 X-Git-Tag: archive/raspbian/1.1.9+ds1-1+rpi1~1^2~169 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=8cc55ee681dd77d5086d44544975e2a7f9055d43;p=zchunk.git Bump to 0.9.1 Signed-off-by: Jonathan Dieter --- diff --git a/meson.build b/meson.build index d4f41d3..1f786f8 100644 --- a/meson.build +++ b/meson.build @@ -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 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 index 0000000..3de868f Binary files /dev/null and b/test/abi/stable/libzck.so.0.9.1 differ diff --git a/test/abi/stable/zck.h b/test/abi/stable/zck.h index 41fe2d8..9384f7a 100644 --- a/test/abi/stable/zck.h +++ b/test/abi/stable/zck.h @@ -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 index 1358e7b..0000000 --- a/test/compat_reports/zchunk/0.7.6_to_0.9.0/compat_report.html +++ /dev/null @@ -1,1010 +0,0 @@ - - - - - - - - - -zchunk: 0.7.6 to 0.9.0 compatibility report - - - -

API compatibility report for the libzck.so object between 0.7.6 and 0.9.0 versions on x86_64

- -
-
-

Test Info


- - - - - - - -
Module Namezchunk
Version #10.7.6
Version #20.9.0
Archx86_64
GCC Version8.1.1
SubjectBinary Compatibility
-

Test Results


- - - - - - -
Total Header Files1
Total Objects1
Total Symbols / Types67 / 12
Compatibility96.3%
-

Problem Summary


- - - - - - - - - -
SeverityCount
Added Symbols-4
Removed SymbolsHigh0
Problems with
Data Types
High0
Medium0
Low0
Problems with
Symbols
High4
Medium6
Low3
Problems with
Constants
Low0
- -

Added Symbols  4 


-zck.h, libzck.so.0.9.0
-zck_clear_error ( zckCtx* zck )
-zck_get_error ( zckCtx* zck )
-zck_is_error ( zckCtx* zck )
-zck_set_log_fd ( int fd )
-
-to the top
- -

Problems with Symbols, High Severity  4 


-zck.h, libzck.so.0.7.6
- -[+] zck_get_range_char ( zckRange* range )  1  -
- - -[+] zck_init_adv_read ( int src_fd )  1  -
- - -[+] zck_init_read ( int src_fd )  1  -
- - -[+] zck_init_write ( int dst_fd )  1  -
- -
-to the top
- -

Problems with Symbols, Medium Severity  6 


-zck.h, libzck.so.0.7.6
- -[+] zck_init_adv_read ( int src_fd )  2  -
- - -[+] zck_init_read ( int src_fd )  2  -
- - -[+] zck_init_write ( int dst_fd )  2  -
- -
-to the top
- -

Problems with Symbols, Low Severity  3 


-zck.h, libzck.so.0.7.6
- -[+] zck_dl_get_bytes_downloaded ( zckDL* dl )  1  -
- - -[+] zck_dl_get_bytes_uploaded ( zckDL* dl )  1  -
- - -[+] zck_set_fd ( zckCtx* zck, int fd )  1  -
- -
-to the top
-

Header Files  1 


-
-zck.h
-
-
to the top
-

Objects  1 


-
-libzck.so.0.7.6
-
-
to the top
-


-

Test Info


- - - - - - -
Module Namezchunk
Version #10.7.6
Version #20.9.0
Archx86_64
SubjectSource Compatibility
-

Test Results


- - - - - - -
Total Header Files1
Total Objects1
Total Symbols / Types67 / 12
Compatibility96.3%
-

Problem Summary


- - - - - - - - - - -
SeverityCount
Added Symbols-4
Removed SymbolsHigh0
Problems with
Data Types
High0
Medium0
Low0
Problems with
Symbols
High4
Medium3
Low5
Problems with
Constants
Low0
Other Changes
in Symbols
-1
- -

Added Symbols  4 


-zck.h
-zck_clear_error ( zckCtx* zck )
-zck_get_error ( zckCtx* zck )
-zck_is_error ( zckCtx* zck )
-zck_set_log_fd ( int fd )
-
-to the top
- -

Problems with Symbols, High Severity  4 


-zck.h
- -[+] zck_get_range_char ( zckRange* range )  1  -
- - -[+] zck_init_adv_read ( int src_fd )  1  -
- - -[+] zck_init_read ( int src_fd )  1  -
- - -[+] zck_init_write ( int dst_fd )  1  -
- -
-to the top
- -

Problems with Symbols, Medium Severity  3 


-zck.h
- -[+] zck_init_adv_read ( int src_fd )  1  -
- - -[+] zck_init_read ( int src_fd )  1  -
- - -[+] zck_init_write ( int dst_fd )  1  -
- -
-to the top
- -

Problems with Symbols, Low Severity  5 


-zck.h
- -[+] zck_dl_get_bytes_downloaded ( zckDL* dl )  1  -
- - -[+] zck_dl_get_bytes_uploaded ( zckDL* dl )  1  -
- - -[+] zck_init_adv_read ( int src_fd )  1  -
- - -[+] zck_init_read ( int src_fd )  1  -
- - -[+] zck_init_write ( int dst_fd )  1  -
- -
-to the top
- -

Other Changes in Symbols  1 


-zck.h
- -[+] zck_set_fd ( zckCtx* zck, int fd )  1  -
- -
-to the top
-

Header Files  1 


-
-zck.h
-
-
to the top
-

Objects  1 


-
-libzck.so.0.7.6
-
-
to the top
-



- -
- - 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 index 0000000..9fe2866 --- /dev/null +++ b/test/compat_reports/zchunk/0.9.0_to_0.9.1/compat_report.html @@ -0,0 +1,546 @@ + + + + + + + + + +zchunk: 0.9.0 to 0.9.1 compatibility report + + + +

API compatibility report for the libzck.so object between 0.9.0 and 0.9.1 versions on x86_64

+ +
+
+

Test Info


+ + + + + + + +
Module Namezchunk
Version #10.9.0
Version #20.9.1
Archx86_64
GCC Version8.1.1
SubjectBinary Compatibility
+

Test Results


+ + + + + + +
Total Header Files1
Total Objects1
Total Symbols / Types71 / 12
Compatibility99.3%
+

Problem Summary


+ + + + + + + + + +
SeverityCount
Added Symbols-0
Removed SymbolsHigh0
Problems with
Data Types
High0
Medium0
Low0
Problems with
Symbols
High0
Medium1
Low1
Problems with
Constants
Low0
+ + +

Problems with Symbols, Medium Severity  1 


+zck.h, libzck.so.0.9.0
+ +[+] zck_get_error ( zckCtx* zck )  1  +
+ +
+to the top
+ +

Problems with Symbols, Low Severity  1 


+zck.h, libzck.so.0.9.0
+ +[+] zck_get_error ( zckCtx* zck )  1  +
+ +
+to the top
+

Header Files  1 


+
+zck.h
+
+
to the top
+

Objects  1 


+
+libzck.so.0.9.0
+
+
to the top
+


+

Test Info


+ + + + + + +
Module Namezchunk
Version #10.9.0
Version #20.9.1
Archx86_64
SubjectSource Compatibility
+

Test Results


+ + + + + + +
Total Header Files1
Total Objects1
Total Symbols / Types71 / 12
Compatibility99.3%
+

Problem Summary


+ + + + + + + + + +
SeverityCount
Added Symbols-0
Removed SymbolsHigh0
Problems with
Data Types
High0
Medium0
Low0
Problems with
Symbols
High0
Medium1
Low0
Problems with
Constants
Low0
+ + +

Problems with Symbols, Medium Severity  1 


+zck.h
+ +[+] zck_get_error ( zckCtx* zck )  1  +
+ +
+to the top
+

Header Files  1 


+
+zck.h
+
+
to the top
+

Objects  1 


+
+libzck.so.0.9.0
+
+
to the top
+



+ +
+ + diff --git a/test/empty.c b/test/empty.c index 6d03247..4413633 100644 --- a/test/empty.c +++ b/test/empty.c @@ -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);