stardot / MatrixBrandy

Matrix Brandy BASIC VI for Linux, Windows, MacOSX
http://brandy.matrixnetwork.co.uk/
44 stars 8 forks source link

rpmlint complaints #2

Closed lgbaldoni closed 6 years ago

lgbaldoni commented 6 years ago

While packaging MatrixBrandy 1.21.7 for openSUSE linux, I see this in the log:

I: A function overflows or underflows an array access. This could be a real error,
   but occasionaly this condition is also misdetected due to loop unrolling or strange pointer
   handling. So this is warning only, please review.
W: brandy arraysubscript src/tokens.c:2206, 2214

and

brandy.x86_64: I: binary-or-shlib-calls-gethostbyname /usr/bin/brandy
The binary calls gethostbyname(). Please port the code to use getaddrinfo().

Here's why about the latter.

soruk42 commented 6 years ago

Array subscript for these lines in tokens.c checked, committed to github.

soruk42 commented 6 years ago

getaddrinfo now in use, gethostbyname removed - and IPv6 now working.