Commit Graph

16 Commits

Author SHA1 Message Date
roam
9db7a8fbc3 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>
2001-12-27 13:33:10 +00:00
billf
5bc8e1aca4 copyright/sccsid/rcsid cleanup. 1999-11-30 03:50:02 +00:00
billf
ea8c74d56f Sync our register usage with NetBSD's (non-)usage. 1999-11-16 02:58:06 +00:00
billf
dcbabdc774 Add $FreeBSD$ 1999-11-16 02:45:03 +00:00
imp
8a37fd8e59 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
1999-01-06 19:46:56 +00:00
imp
2ac9564641 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
1999-01-06 08:14:26 +00:00
phk
1ffe0dc79e 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
1998-08-09 10:36:25 +00:00
phk
1d18d33425 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>
1998-08-07 06:32:45 +00:00
bde
1ff4ae4b2a Fixed printf format errors. 1998-06-30 19:10:49 +00:00
jb
3c9ba7012d 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.
1998-05-09 11:33:22 +00:00
jkh
409011930c 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).
1998-03-01 05:10:28 +00:00
ache
2e2dff3f8b Remove so-called revoke, this game never installed sguid 1997-09-01 11:40:18 +00:00
eivind
3df09cad8b Change games from setuid games to setgid games.
Reviewed by:	maybe@yes.no
Obtained from:	OpenBSD (mostly deraadt@openbsd.org)
1997-09-01 00:34:51 +00:00
peter
4b86241dee Merge from Lite2 (oops, nearly forgot these ones) 1997-03-11 17:25:32 +00:00
rgrimes
21c42b2996 Remove trailing whitespace. 1995-05-30 03:37:36 +00:00
jkh
d8a265c292 Bring in the 4.4 Lite games directory, modulo man page changes and segregation
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
1994-09-04 04:03:31 +00:00