Package: libdfp / 1.0.13-3

Metadata

Package Version Patches format
libdfp 1.0.13-3 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
08f4e408a8767378832a506457c836802669ab2c.patch | (download)

tests/test-amort.c | 11 10 + 1 - 0 !
1 file changed, 10 insertions(+), 1 deletion(-)

 [patch] fix -wunused-result warning message in test-amort.c
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit

MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit

MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit

This patch gets rid of the following message during "make check":

./tests/test-amort.c: In function ‘main’:
./tests/test-amort.c:327:9: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
   fread (inputs, sizeof (inputtype), numinputs, inputfile);
         ^

Fixes issue https://github.com/libdfp/libdfp/issues/42

Signed-off-by: Murilo Opsfelder Araujo <muriloo@linux.vnet.ibm.com>

0002 Adapt the code for glibc 2.28.patch | (download)

printf_dfp.c | 3 0 + 3 - 0 !
1 file changed, 3 deletions(-)

 adapt the code for glibc 2.28

Replace the following references:
 - _IO_size_t with size_t;
 - _IO_FILE with FILE.

Signed-off-by: Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>

0003 Return the number of chars output in printf.patch | (download)

printf_dfp.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 return the number of chars output in printf

According to ISO C11: printf(), fprintf(), sprintf(), snprintf() and
v*printf() return the number of character printed (excluding the null
byte) in case of success; or a negative value in case of error.

Signed-off-by: Chris Anderson <gchrisanderson@gmail.com>

0004 Use python3.patch | (download)

tests/gen-libdfp-tests.py | 2 1 + 1 - 0 !
tests/gen-libdfp-ulps.py | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 use python3