Bug#764904: apophenia: FTBFS - test suite times out or has unexpected failures

Jerome BENOIT calculus at rezozer.net
Tue Nov 11 19:53:50 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

On 11/11/14 18:40, Edmund Grimley Evans wrote:
> Some good news: the code doesn't seem to need a lot of changes to make
> it work on arm64. I did this:
> 
> * Changed the type of the local variables to which the value returned
>   from fgetc, getopt or get_next is assigned from char to int.
> 
> * Made get_next return int instead of char, and, to make it return EOF
>   when it should, set buffer[len] to (char)-1 when len < bs and
>   instead of returning buffer[(*ptr)++] assign that to a new local
>   variable r and return (r == (char)-1 ? EOF : r). (In a
>   ISO-8859-1-encoded file 'ÿ' will be interpreted as EOF, but that was
>   presumably already the case. If you really want all characters to be
>   correctly distinguished then you will have to add an out-of-band way
>   of denoting EOF.)
> 
> With those changes, apophenia passed its tests on arm64.

Perfect. Can you send a patch or the modified source in such a way I can submit it to the upstream maintainer.
Of course, you can do it yourself directly.

Thanks for your contribution,
Jerome

> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQEcBAEBAgAGBQJUYmk/AAoJEIC/w4IMSybj4pEH/igjKKYVmlp6O4c5MrjoEWbI
ZsHTjZ0J4/dJJheW2Ev7IXgS8VNz5E3i8UYlOJf7Eo5tTyrefzsOOIUzjRn1enSw
x5NxHE6VtR/MKi1DU4pa4XGEH2MFjNSXZnw1Ql5DkGkp5vU8sc4VzMhqxouogUcs
x6H8ONADAPXoEVmBX5N2pCHepi8MEDKz75syO/WjIiuoFb/1847mPo78qNCKyY3O
rbPHkOH65iz8NM7hyhxwNmhe2d5Hl8AATuGIFlT+sLAtnf2lUDSVD6krtSotaaae
216AdUbwnJjf1ILTHDaOIuee+cAj7sB/DuByB6wGOioOlzPukwwztGrxQ/pdneQ=
=VT9o
-----END PGP SIGNATURE-----



More information about the debian-science-maintainers mailing list