History log of /freebsd-10.1-release/games/primes/
Revision Date Author Comments
272461 03-Oct-2014 gjb

Copy stable/10@r272459 to releng/10.1 as part of
the 10.1-RELEASE process.

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


203932 15-Feb-2010 imp

Remove the third clause for the Berkeley parts of games, per the
letter in /COPYRIGHT.


139103 21-Dec-2004 ru

Start the dreaded NOFOO -> NO_FOO conversion.

OK'ed by: core


136910 24-Oct-2004 ru

For variables that are only checked with defined(), don't provide
any fake value.


108533 01-Jan-2003 schweikh

Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,
especially in troff files.


104728 09-Oct-2002 fanf

Last commit was slightly hasty: #include <string.h> is required on
-CURRENT to be WARNS-safe (but not -STABLE for some reason)


104725 09-Oct-2002 fanf

Kill obsolete #include <memory.h> which I didn't spot earlier because
it's still in the NetBSD version.


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


91027 21-Feb-2002 billf

staticize functions and variables
change function declarations to ANSI
change a variable that stores sizeof() values to size_t
use return to escape the end of main(), not exit(3)


91026 21-Feb-2002 billf

use the typedef 'ubig' to declare pr_limit, not what ubig is typedef'd
to be.

PR: misc/35181
Submitted by: Stefan Farfeleder <e0026813@stud3.tuwien.ac.at>
MFC after: 3 days


90828 18-Feb-2002 imp

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


88530 27-Dec-2001 roam

Fix a typo. While 'iff' might make sense in a mathematics-related text,
'if and only iff' does not.

PR: 33242
Submitted by: Eric Yu <ericyu@mail2000.com.tw>


53920 30-Nov-1999 billf

copyright/sccsid/rcsid cleanup.


53210 16-Nov-1999 billf

Sync our register usage with NetBSD's (non-)usage.


53209 16-Nov-1999 billf

Add $FreeBSD$


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


38199 09-Aug-1998 phk

Revert the last commit, it made the Bruce filter flip:

PR7402 was even less suitable for committing almost verbatim than at
first appearance. Rev.1.9 of primes.c has at least the following defects.

- no update for man page.
- no update for usage string.
- blowing away of a previous commit to change EOF to -1 in getopt() test.
- blowing away of a previous commit to fix printf format errors.
- new printf format errors.
- one gratuitous ANSIism.
- two style bugs.
- ... and a partition in a pear tree.

PR: 7402


38153 07-Aug-1998 phk

Games primes and factor don't understand hexadecimals.
This would make these `games' somewhat useful tools.

PR: 7402
Reviewed by: phk
Submitted by: Timo J. Rinne <tri@iki.fi>


37309 30-Jun-1998 bde

Fixed printf format errors.


35892 09-May-1998 jb

Cast pointers to longs, not ints.

Hopefully that's the last of the 64-bit cleaning of src/games. That is,
without adding -Wall to the compiler flags. That's not a pretty sight.


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).


29016 01-Sep-1997 ache

Remove so-called revoke, this game never 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)


23726 11-Mar-1997 peter

Merge from Lite2 (oops, nearly forgot these ones)


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.