History log of /freebsd-10.0-release/games/factor/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
259065 07-Dec-2013 gjb

- Copy stable/10 (r259064) to releng/10.0 as part of the
10.0-RELEASE cycle.
- Update __FreeBSD_version [1]
- Set branch name to -RC1

[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so
start releng/10.0 at '100' so the branch is started with
a value ending in zero.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


228596 16-Dec-2011 dim

In games/factor/factor.c, fix a warning about a format string not being
a literal.

MFC after: 1 week


216598 20-Dec-2010 uqs

factor(6): Check return values of BN_* functions.

Coverity Prevent: CID 4862, 8771, 8772, 8773


216239 06-Dec-2010 uqs

Drop advertising clause in manpages. It was done a long time ago
for the source code.

Discussed with: core


199815 26-Nov-2009 fanf

Fix a performance bug in factor(6).

Check if large factor is prime before applying Pollard's algorithm;
fixes "factor 2147483647111311". Increase base if p-1 algorithm
reaches 1; fixes "factor 99999999999991".

Testcases from David A Bagley <bagleyd@tux.org>.
Fixes from Joseph Myers <jsm@NetBSD.org>.
Problem rediscovered by an attempt to factor my phone number.

A few other incidental fixes: correct a couple of factually incorrect
comments; use ident string macros; move from 4-clause to 3-clause
BSD licence (University of California copyright).

Obtained from: NetBSD


156813 17-Mar-2006 ru

Reimplementation of world/kernel build options. For details, see:

http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html

The src.conf(5) manpage is to follow in a few days.

Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine)


145413 22-Apr-2005 trhodes

Enforce style.Makefile(5).

Glanced at by: ru (some time ago).


139113 21-Dec-2004 ru

NOCRYPT -> NO_CRYPT


125503 05-Feb-2004 ru

Fixed style of DPADD and LDADD assignments as per style.Makefile(5).


117978 24-Jul-2003 markm

Don't check for the existance of src/crypto/ for building items that
may contain crypto. The days of ITAR paranoia are over, and the simple
macro tests that remain are sufficient.


115158 19-May-2003 des

add a NOCRYPT check alongside the NO_OPENSSL check.

Approved by: re (scottl)


107389 29-Nov-2002 ru

mdoc(7) police: sweep.


104723 09-Oct-2002 fanf

Mdocify and fix a load of errors dating back to the dawn of time.
Don't mention hard limits for factor(6) since it now has bignum support.

Obtained from: NetBSD (mdoc only -- their man page is still mostly wrong)


104722 09-Oct-2002 fanf

Factorize bignums using the Pollard Rho algorithm. The code comes
from NetBSD, altered to retain the FreeBSD -h feature and various
stylistic improvements and avoid regressions. In the absence of
OpenSSL (and therefore bignums) the old code is used.

PR: 43831
Reviewed by: kris, markm, obrien
Obtained from: NetBSD
MFC after: 2 weeks


104720 09-Oct-2002 fanf

Style fixes to: #include ordering; use const and static; ANSI functions;
various usage synopses; bogus and/or unnecessary casting; exit values;
use LINE_MAX instead of magic numbers; declare extern variables in a
header; add $FreeBSD$ where missing.

Reviewed by: markm, obrien
Obtained from: NetBSD | fanf


90828 18-Feb-2002 imp

Remove __P
Remove __STDC__ (which means we now use stdarg rather than vararg)
Remove register
Remove main prototype


85408 24-Oct-2001 roam

Correct a typo: numtiple -> multiple.

PR: 31474
Submitted by: Eric Yu <ericyu@mail2000.com.tw>
MFC after: 1 week


79754 15-Jul-2001 dd

Remove whitespace at EOL.


74814 26-Mar-2001 ru

- Backout botched attempt to intoduce MANSECT feature.
- MAN[1-9] -> MAN.


74528 20-Mar-2001 ru

Set the default manual section for games/ to 6.


53920 30-Nov-1999 billf

copyright/sccsid/rcsid cleanup.


50472 27-Aug-1999 peter

$Id$ -> $FreeBSD$


42380 07-Jan-1999 imp

Minor adjustments to prior commits:
o break at end of sentences
o add $id$
o change date

Noticed by: the ever watchful bde


42357 06-Jan-1999 imp

Fix printf errors in the hflag case.
Fix old bug with bogus casing to (long).
Document the true limits of factor on 64-bit architectures.

Submitted by: bde


42338 06-Jan-1999 imp

added -h flag to allow for hexidecimal output.
Use '0' for base rather than 10 to allow for more flexible input bases.

Inspired by changes in PR 7402, but mostly redone by me to get past
bde filter.

Submitted by: Timo J. Rinne
PR: 7402


33937 01-Mar-1998 jkh

Wargh! Who went and changed all the getopt() comparisons from -1 to
EOF? The getopt(3) manpage clearly states that the return value is *-1*,
not EOF! Besides, getopt(3) isn't reading from a file. :)

Noticed-while: merging to 2.2 (where this is correct).


29015 01-Sep-1997 ache

Remove so-called revoke, this game not installed sguid


28979 01-Sep-1997 eivind

Change games from setuid games to setgid games.

Reviewed by: maybe@yes.no
Obtained from: OpenBSD (mostly deraadt@openbsd.org)


23757 12-Mar-1997 peter

factor.6, not factor.0 (crept in from 4.4Lite2)


23726 11-Mar-1997 peter

Merge from Lite2 (oops, nearly forgot these ones)


23705 11-Mar-1997 peter

This commit was generated by cvs2svn to compensate for changes in r23704,
which included commits to RCS files with non-trunk default branches.


8856 30-May-1995 rgrimes

Remove trailing whitespace.


2491 04-Sep-1994 jkh

This commit was generated by cvs2svn to compensate for changes in r2490,
which included commits to RCS files with non-trunk default branches.