tron
bd52bf6180
Change marker from "pmppc" to "powerpc" because a NetBSD-macppc build
...
is also affected.
2005-06-09 12:20:12 +00:00
he
1ce7c753b3
Add an initialization to placate -Wuninitialized.
...
Marked with XXXGCC for pmppc (found while compiling for it).
2005-06-09 09:36:19 +00:00
rillig
5abe8eb023
Raised WARNS to 4.
2005-05-23 23:08:06 +00:00
rillig
8a7b93ff10
* fixed <ctype> bugs
...
* removed ASCII dependency
* added input data validation
* added bounds checking
* added error checking
* handle short reads (from pipes or sockets) correctly
when trying to decode an encoded stream
* added lint(1) directives
2005-05-23 23:02:30 +00:00
kleink
e039a7f675
Otto Von Bismarck -> Otto von Bismarck.
2005-05-10 18:41:53 +00:00
bad
b09ec2a25b
It is Bismarck not Bismark.
2005-05-10 17:47:33 +00:00
jwise
3b4f381581
Sort list, and add Nunavut, which has been a Canadian province since 1999.
2005-05-02 15:48:58 +00:00
jwise
245f508216
Cyprus is part of Europe, not Asia. Turkey is currently listed in both
...
Europe and Asia, I'm leaving it that way.
2005-05-02 15:39:27 +00:00
jwise
9ea9920e14
The current President of the United States is George Walker Bush, not George
...
Walker Bush, Jr. (his father was George Herbert Walker Bush).
2005-05-02 15:29:59 +00:00
rillig
4f6457e756
Fixed wrong use of the <ctype.h> functions by adding an explicit conversion
...
to unsigned char. Approved by christos.
2005-04-19 20:14:29 +00:00
rillig
117d073a60
Fixed wrong use of datatypes. In wait_for(), a char was used together
...
with getchar(), in readchar(), a char was used to read input, which in
getuchar() is used as an argument to islower() and toupper(). Also removed
a condition which terminated the process if the user typed in character
255. Approved by christos.
2005-04-19 20:12:07 +00:00
atatat
1d1f5d461b
Don't assume /usr/games; use the same path as what rot13 was found at
...
to run caesar.
2005-04-09 02:02:15 +00:00
atatat
460d82b8cc
A few minor spelling, grammar, and formatting fixes.
2005-04-09 02:00:27 +00:00
jwise
18de240b6b
Fix a long-standing bug in wump(6) whereby hitting ^d to exit would first
...
print ``Care to play another game? (y-n)'' (but then exit anyway without
waiting for an answer).
2005-03-21 18:45:18 +00:00
christos
ceb0805a9b
Add -lcrypt where -lcrypto is specified.
2005-03-09 03:11:21 +00:00
simonb
1d351ebc53
Remove a incorrect semicolon at the end of an if().
...
Magic levels now appear after extensive play testing!
2005-02-25 15:04:43 +00:00
jsm
58b3287ba1
Don't presume phantasia's internal bool (char) is the same as that in
...
curses.h: define phbool and use it where necessary to avoid declaring
functions with one bool and defining them with the other.
Reviewed by <hubertf>.
2005-02-15 12:58:21 +00:00
jsm
b91a81ab9f
Cast last argument of execl to (char *).
...
Reviewed by <hubertf>.
2005-02-15 12:56:20 +00:00
jsm
2773e864bb
Avoid arrays of incomplete types (required to build with GCC 4).
...
Reviewed by <hubertf>.
2005-02-15 12:54:50 +00:00
perry
1a3bb884dc
A preprocessor macro named "srand" was defined which seeded the random
...
number generator.
Unfortunately, it conflicted with a function of the same defined in
stdlib.h. This was masked by the __P hack, which is now being purged.
I've renamed "srand" to "seedrand" to eliminate the conflict.
2005-02-03 02:23:02 +00:00
jsm
a4dab13a3b
Correct typos in German fortune. Reported by Charles Senger, csenger at UCSD.
...
Reviewed by <hubertf>.
2005-01-30 13:49:28 +00:00
nathanw
df7bbbcb3c
Convert from libc/threadlib-style mutex protection to pthread style.
...
(XXX this game totally does not need a thread-safe malloc)
2004-12-14 00:21:01 +00:00
jmc
279847975e
Redo how void gets init'd.
...
setup now just creates an empty file. When main starts and loads it in,
it stats and if zero size init's a new location and saves it back out.
Now games.tgz can be shared among MACHINE_ARCH's
2004-12-09 05:15:59 +00:00
christos
42728e787e
Slimy worms are clean enough for level 3.
2004-11-13 10:22:13 +00:00
dsl
49f7d8a9b1
Add (unsigned char) cast to ctype functions
2004-11-05 21:30:31 +00:00
christos
82345479d5
Don't try to catch SIGSTOP...
2004-09-12 04:51:32 +00:00
wiz
f4d1c39625
Indent header description (from jmc@openbsd).
...
Sort sections and remove a trailing space.
2004-09-09 22:03:21 +00:00
wiz
8dab296315
Some improvements from jmc@openbsd:
...
sort option descriptions, add argument to -m, mention strfile
and add some xrefs.
2004-09-09 22:01:08 +00:00
jrf
190b2e4c51
Replaced strncpy with strlcpy. Thanks to Peter Postma who
...
pointed them our in PR #25762 . Approved by christos@NetBSD.org .
2004-09-07 13:20:39 +00:00
christos
111956c585
- sleep a little in autobot mode so that we can see what is happening.
...
- use refresh() instead of wrefresh()
2004-08-27 09:07:08 +00:00
christos
04c4e386f5
describe the algorithm better.
2004-08-27 09:06:25 +00:00
mjl
d2da97557b
Fix typo
2004-08-20 11:23:47 +00:00
wiz
2eabcd5e18
Grammar fix, from ray at raylai org via jmc@openbsd.
2004-06-01 10:10:06 +00:00
mjl
3cb55d86f4
Had fun with a spell checker.
...
Also, try to canonize attributions.
2004-05-22 14:33:50 +00:00
christos
fc21964e2e
- don't catch STOP, TSTP, QUIT; the first you cannot catch and the other two
...
you should not.
- don't accept delay == 1000, because it turns to 0 and fix the number parsing
- misc KNF cleanups.
2004-05-02 21:31:23 +00:00
simonb
9bc855a931
s/the the/the/ (only in sources that aren't regularly imported from
...
elsewhere).
2004-04-23 02:58:27 +00:00
he
9b1375ac78
Undef bool before including <curses.h>, since it tries to typedef
...
bool. Otherwise we get (at least on gcc 2.95.3) an empty declaration
warning from "typedef char char;" due to the #define of bool in
phantstruct.h.
2004-04-11 13:35:06 +00:00
ross
9209ce5ad8
Rework to use curses.h only on the target, not on the host.
2004-04-07 17:46:47 +00:00
jdc
f015cad4b7
If the current player has no cards, skip to the other player.
...
While we're here, make this compile with -DDEBUG.
Fixes PR bin/12530 from Thomas Klausner.
2004-04-06 19:15:07 +00:00
hubertf
6162c9b1a1
Properly handle -d 1000, OK'd by jsm
2004-03-29 20:30:03 +00:00
snj
e2462f3ddb
It's "its".
2004-03-29 07:59:39 +00:00
snj
a7b3f75db2
Spell "political" correctly and capitalize a last name.
2004-03-29 02:00:41 +00:00
snj
3eaff3a9c8
s/feal/feel/
2004-03-28 22:43:03 +00:00
snj
f1710feaa1
s/venomenous/venomous/
2004-03-28 22:42:39 +00:00
wiz
dc4cc98b15
becuase -> because. From Peter Postma.
2004-02-24 15:05:53 +00:00
jsm
1775f4fec6
Encode and decode more characters. Don't put commas after every
...
character. Don't encode whitespace as "...". Don't fail decoding
across a 1024-byte boundary. Mark end of message appropriately. From
OpenBSD but with punctuation taken from ITU-T Recommendation F.1
(03/98).
2004-02-13 23:16:11 +00:00
wiz
d20841bb64
Uppercase CPU, plural is CPUs.
2004-02-13 11:36:08 +00:00
wiz
83a837b7df
|fmt; add single quotes around a plus.
2004-02-09 23:25:47 +00:00
jsm
10b61a7cca
Mark unused parameters, nonreturning functions and format functions in
...
the few cases not already marked.
2004-02-08 22:23:50 +00:00
jsm
a12bf9a7e0
Hide the cursor if possible. From OpenBSD.
2004-02-08 22:21:57 +00:00