| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
numbers. If /dev/urandom is unavailable, it will fall back to
using the random() function.
I did this because I'm sick of seeing the same handful of fortunes
over and over, and I've seen the exact same fortune one too many times
when starting up two login shells at the same time.
2.2 safe.
|
|
|
|
| |
scanf spotted by: Aarn Bornstein <aaronb@j51.com>
|
|
|
|
| |
Submitted by: Mark Huizer <xaa@stack.nl>
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
need for it), change definition of setbit() macro and friends to be
compatible with <sys/param.h>.
The bugs were discovered and fixed as a result of the FreeBSD code audit.
Submitted by: Aaron Bornstein <aaronb@j51.com>, Mark Huizer <xaa@stack.nl>
|
| |
|
|
|
|
|
| |
(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.)
|
|
|
|
|
|
|
|
| |
1.3 deraadt:
buf oflow, felix@mamba.pond.sub.org
Obtained from: OpenBSD
Not sure how to exploit this, but may be a backmerge candidate.
|
|
|
|
|
| |
/usr/share -> ${SHAREDIR}
/usr/games -> ${BINDIR}
|
|
|
|
| |
use exec for last command in shell script
|
|
|
|
|
|
|
| |
most famous insult to humanity can be forgiven, afterall, it
almost underlines the quote with irony, if one knows the context.
But to misspell the name of Alfred E. Neuman ...
|
|
|
|
|
| |
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.
|
|
|
|
| |
Submitted by: John-Mark Gurney <gurney_j@efn.org>
|
| |
|
|
|
|
|
|
|
|
|
| |
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?
|
|
|
|
|
|
|
|
| |
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
|
|
|
|
|
|
| |
fortunes. Closes PR#s 2358 and 2402.
Submitted by: John-Mark Gurney <gurney_j@efn.org>
|
| |
|
|
|
|
| |
Sponsored by: Vin de Pays de l'Aude
|
|
|
|
| |
SEE ALSO section of the man page. Closes PR# 2009.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
way. Defining KERNEL before including <sys/time.h> broke when "opt_cpu.h"
was included in a deeply nested header, except in -current where the
problem is masked by a namespace pollution bug in <stdio.h>.
|
| |
|
|
|
|
| |
Submitted by: John-Mark Gurney <jmg@nike.efn.org> in PR 2085
|
|
|
|
| |
rogomatic to work with this version. :)
|
| |
|
| |
|
|
|
|
|
| |
Submitted-By: koshy@india.hp.com
Closes-PR#: 1883
|
|
|
|
| |
saving/restoring a game (necessary when adventure is invoked via dm).
|
| |
|
|
|
|
|
|
| |
<sys/dir.h> in applications. Maintained existing (inadequate) ifdefs
for dir.h vs dirent.h in libdialog, amd and rarpd, but didn't add any
new ones.
|
|
|
|
|
|
|
|
| |
be used for C, C++ and assembler sources if <bsd.prog.mk> is
included. It was used for general files. This caused the __depend_*
lists in <bsd.dep.mk> to be empty, so mkdep was never run, so
.depend never existed, so it was always out of date, so `rm -f
.depend' was always executed to update it.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Closes PR # bin/1385: /usr/games/pom, invalid de...
Submitted by: zach@freebsd.gaffaneys.com (Zach Heilig)
|
|
|
|
|
| |
really want them) from /usr/src. This is the final version of the
patches, incorporating the feedback I've received from -current.
|
| |
|
| |
|
| |
|
| |
|