Package: hexcurse / 1.58-1.1

Metadata

Package Version Patches format
hexcurse 1.58-1.1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 Dont ignore singals.patch | (download)

src/screen.c | 3 0 + 3 - 0 !
1 file changed, 3 deletions(-)

 dont ignore singals


0002 Manpage fix.patch | (download)

man/hexcurse.1 | 3 0 + 3 - 0 !
1 file changed, 3 deletions(-)

 manpage fix


0001 explicitly mark fallthrough case.patch | (download)

src/acceptch.c | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 explicitly mark fallthrough case

This prevents another error that got introduced with the more thorough
diagnostics in GCC-7.

0001 fix format truncation error with GCC 7.patch | (download)

src/hexcurse.c | 3 1 + 2 - 0 !
1 file changed, 1 insertion(+), 2 deletions(-)

 fix format truncation error with gcc-7

GCC-7 introduced new warnings and errors. Among them is a new warning
for possible truncations in the output of snprintf. Since we are only
interested in the return value of snprintf and do not use the string
written by it we can also replace the buffer with a NULL pointer.
This makes it explicit that we do not want to write a string and
silences the GCC-7 error.

See also the examples in
http://en.cppreference.com/w/c/io/fprintf