| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Also change one case of blatant __progname abuse (several more remain)
This commit does not touch anything in src/{contrib,crypto,gnu}/.
|
| |
|
|
|
|
|
|
|
|
| |
type correct. Include <termcap.h> to get its declaration. Our
initialization of it is still dubious, but it agrees with ncurses'
documentation of it (none) and with ncurses' recently fixed internals
for it (old speeds from <sys/ttydev.h>) and with the 4.4Lite
documentation for it.
|
|
|
|
|
|
|
|
| |
without even getting its type correct. Include <termcap.h> to get its
declaration. Our initialization of it is still dubious, but it agrees
with ncurses' documentation of it (none) and with ncurses' recently
fixed internals for it (old speeds from <sys/ttydev.h>) and with the
4.4Lite documentation for it.
|
|
|
|
|
|
|
|
|
| |
never set. Ideally, we'd get the extern from tutor.h, but that
defines a number of other variables that conflict with ours.
This fixes a segmentation fault when trying to return to the main menu.
PR: 30172
|
| |
|
| |
|
|
|
|
| |
- MAN[1-9] -> MAN.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
track.
The $Id$ line is normally at the bottom of the main comment block in the
man page, separated from the rest of the manpage by an empty comment,
like so;
.\" $Id$
.\"
If the immediately preceding comment is a @(#) format ID marker than the
the $Id$ will line up underneath it with no intervening blank lines.
Otherwise, an additional blank line is inserted.
Approved by: bde
|
|
|
|
|
|
| |
PR: 8083
Submitted by: Stephen J. Roznowski <sjr@home.net>
Obtained from: a whole slew of NetBSD PRs
|
| |
|
|
|
|
| |
Who writes code like this?!
|
| |
|
|
|
|
| |
there is a prototype to check it against.
|
|
|
|
|
| |
Change prototype for addbuf to make it compatible with tputs now that
there is a prototype to check it against.
|
| |
|
|
|
|
| |
in other files.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Simplify revoke: only sgid needed to be revoked
Use srandomdev
|
|
|
|
|
| |
Reviewed by: maybe@yes.no
Obtained from: OpenBSD (mostly deraadt@openbsd.org)
|
| |
|
|
|
|
|
| |
(According to the original man page, giving `-' by itself as the argument
is supposed to do this, but it seems that it never worked that way.)
|
|
|
|
|
|
| |
- Options must be preceeded by a `-'.
- Backgammon doesn't give, and hasn't given you any usage info.
(Maybe this should be fixed in the program.)
|
|
|
|
|
| |
simply drop the privilege right after the program is started.
Thanks to bde for giving me good suggestion about this problem.
|
| |
|
|
|
|
|
|
|
|
|
| |
- Indentation corrections
- Spaces -> tabs.
- func() -> func () (To be consistent with the original code.)
- Check if getopt() returns -1, not EOF.
Suggested by: bde
|
|
|
|
|
|
|
|
|
| |
1. Pass argc and argv to getarg and process them with getopt().
2. Instead of using an array to save arg characters, use array of
pointers and call backgammon/teachgammon with execv, instead of execl.
This should fix problems with calling teachgammon.
2.2 candidate.
|
|
|
|
|
| |
in recover().
2.2 candidate.
|
|
|
|
|
|
| |
after closing it.
This fixes bug that user couldn't save the game in progress.
2.2 candidate.
|
| |
|
|
|
|
|
|
|
|
|
| |
character of the argument being processed isn't '\0'.
This fixes problem with backgammon exiting abnormally when you answer 'y' to
the question it asks if you need instruction for the game.
2.2 cnadidate, maybe?
|
| |
|
| |
|
| |
|
|
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
|