| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
a literal.
MFC after: 1 week
|
|
|
|
| |
Coverity Prevent: CID 4862, 8771, 8772, 8773
|
|
|
|
|
|
| |
for the source code.
Discussed with: core
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
| |
Glanced at by: ru (some time ago).
|
| |
|
| |
|
|
|
|
|
| |
may contain crypto. The days of ITAR paranoia are over, and the simple
macro tests that remain are sufficient.
|
|
|
|
| |
Approved by: re (scottl)
|
| |
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Remove __STDC__ (which means we now use stdarg rather than vararg)
Remove register
Remove main prototype
|
|
|
|
|
|
| |
PR: 31474
Submitted by: Eric Yu <ericyu@mail2000.com.tw>
MFC after: 1 week
|
| |
|
|
|
|
| |
- MAN[1-9] -> MAN.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
o break at end of sentences
o add $id$
o change date
Noticed by: the ever watchful bde
|
|
|
|
|
|
|
| |
Fix old bug with bogus casing to (long).
Document the true limits of factor on 64-bit architectures.
Submitted by: bde
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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).
|
| |
|
|
|
|
|
| |
Reviewed by: maybe@yes.no
Obtained from: OpenBSD (mostly deraadt@openbsd.org)
|
| |
|
| |
|
|\
| |
| |
| | |
which included commits to RCS files with non-trunk default branches.
|
| | |
|
|/ |
|
|
of the x11 based games. I'm not going to tag the originals with bsd_44_lite
and do this in two stages since it's just not worth it for this collection,
and I've got directory renames to deal with that way. Bleah.
Submitted by: jkh
|