Bug#762653: bsdgames: primes prints some composites

2015-03-23 Thread Riley Baird
Package: bsdgames
Version: 2.17-22
Followup-For: Bug #762653

A fix for this is in FreeBSD:

https://svnweb.freebsd.org/base?view=revisionrevision=272166



-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 3.16.0-4-686-pae (SMP w/4 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages bsdgames depends on:
ii  libc6 2.19-17
ii  libgcc1   1:4.9.2-10
ii  libncurses5   5.9+20140913-1+b1
ii  libstdc++64.9.2-10
ii  libtinfo5 5.9+20140913-1+b1
ii  wamerican [wordlist]  7.1-1

bsdgames recommends no packages.

bsdgames suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#762653: bsdgames: primes prints some composites

2014-09-24 Thread Andy Isaacson
Package: bsdgames
Version: 2.17-22
Severity: important

Dear Maintainer,

the /usr/games/primes program prints composite numbers when asked for large
values.

% primes $((0xff)) | head | while read p; do factor $p; done
1099511627791: 1099511627791
1099511627803: 1099511627803
1099511627807: 68729 15997783
1099511627813: 1007173 1091681
1099511627831: 1099511627831
1099511627839: 549733 283
1099511627873: 1099511627873
1099511627891: 1099511627891
1099511627917: 1099511627917
1099511627923: 284527 3864349

primes should only print primes, as it is documented to do.


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.1 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages bsdgames depends on:
ii  libc6 2.19-10
ii  libgcc1   1:4.9.1-12
ii  libncurses5   5.9+20140712-2
ii  libstdc++64.9.1-12
ii  libtinfo5 5.9+20140712-2
ii  wamerican [wordlist]  7.1-1

bsdgames recommends no packages.

bsdgames suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org