| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
and finish the job. ncurses is now the only Makefile in the tree that
uses it since it wasn't a simple mechanical change, and will be
addressed in a future commit.
|
|
|
|
| |
letter in /COPYRIGHT.
|
|
|
|
| |
OK'ed by: core
|
|
|
|
| |
any fake value.
|
|
|
|
| |
especially in troff files.
|
|
|
|
| |
-CURRENT to be WARNS-safe (but not -STABLE for some reason)
|
|
|
|
| |
it's still in the NetBSD version.
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
| |
to be.
PR: misc/35181
Submitted by: Stefan Farfeleder <e0026813@stud3.tuwien.ac.at>
MFC after: 3 days
|
|
|
|
|
|
| |
Remove __STDC__ (which means we now use stdarg rather than vararg)
Remove register
Remove main prototype
|
|
|
|
|
|
|
| |
'if and only iff' does not.
PR: 33242
Submitted by: Eric Yu <ericyu@mail2000.com.tw>
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
This would make these `games' somewhat useful tools.
PR: 7402
Reviewed by: phk
Submitted by: Timo J. Rinne <tri@iki.fi>
|
| |
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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)
|
| |
|
| |
|
|
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
|