Commit Graph

1142 Commits

Author SHA1 Message Date
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
lukem 34fb5c1494 Fix race in parallel make when creating multiple targets in one operation. 2004-02-08 22:14:27 +00:00
jsm 4eccb08bd5 Separate primes manpage from that of factor. Correct DIAGNOSTICS
information.
2004-02-08 13:16:25 +00:00
jsm 4eec310a4f Check large factor for being prime before applying Pollard's
algorithm; fixes "factor 2147483647111311".  Correct comment;
algorithm is Pollard p-1, not Pollard rho.  Increase base if p-1
algorithm reaches 1; fixes "factor 99999999999991".  Testcases from
David A Bagley <bagleyd@tux.org>.
2004-02-08 11:47:36 +00:00
jsm 859993b44f Control -d by #ifdef DEBUG; adjust usage message accordingly. Bug
reported by Malcolm Parsons <malcolm@ivywell.screaming.net> in Debian
bug 84852.
2004-02-08 00:33:31 +00:00
jsm 5c6ba47786 Use standard C abs function rather than local macro. 2004-02-08 00:32:48 +00:00
jsm d035cfe33e Mark variables changed between setjmp and longjmp as volatile rather
than just taking their addresses.
2004-02-08 00:32:07 +00:00
jsm e7d3d51380 Fix grammar (bug reported by Thomas Bushnell BSG <tb@MIT.EDU> in
Debian bug 61846).
2004-02-08 00:31:16 +00:00
jsm cb5fd8342e Remove uses of __P. 2004-01-27 20:30:28 +00:00
jsm 716c7169f3 Include <sys/stat.h>. 2004-01-27 20:27:59 +00:00
jsm 8f5e2162b1 Include <sys/types.h>. 2004-01-27 20:27:29 +00:00
jsm d91509309a Include <sys/endian.h>. 2004-01-27 20:26:55 +00:00
jsm 0752e03df7 Include <limits.h> instead of <machine/limits.h>. 2004-01-27 20:26:20 +00:00
jsm 514bad17d7 Include <sys/endian.h>. 2004-01-27 20:25:48 +00:00
jsm b974cbaba0 Include <sys/endian.h> instead of <machine/endian.h>. Include
<stdlib.h>.
2004-01-27 20:25:07 +00:00
jsm a3b9fbcc3a Include <sys/endian.h>. 2004-01-27 20:24:32 +00:00
jsm a5f914a25a Use int for wait status. 2004-01-27 20:23:36 +00:00
jsm 1a8a5d7903 Rename yn to yncoms to avoid conflict with GCC 3.4 built-in XSI
function.
2004-01-26 09:59:36 +00:00
jsm d8c5384694 Rename rint to receive_intr to avoid conflict with GCC 3.4 built-in C99
function.
2004-01-26 09:58:35 +00:00
christos 852c1683c1 Use PROG_CXX so we don't need to include -lstdc++ explicitly. From Nick Hudson. 2004-01-05 15:35:59 +00:00
wiz 0e62b72ca3 Move AUTHORS section directly before BUGS section.
Suggested by jmc@openbsd.
2004-01-03 13:32:23 +00:00
mjl 70bd83f0c5 Typo fixes. 2004-01-01 20:00:38 +00:00
wiz c5920dd567 Bump date for previous. Remove superfluous .Pp. 2004-01-01 16:31:37 +00:00
jsm 39f0bfee73 Score is in upper right corner, not upper left corner. Patch from
Robert Hunter <roh@cryptocracy.hn.org> in Debian bug 209034.
2004-01-01 16:06:57 +00:00
jsm ddc1674612 Fix typo. Patch from Joey Hess <joeyh@debian.org>. 2004-01-01 16:06:21 +00:00
jsm 5a753461bf Don't use -fwritable-strings. Add one more const. 2004-01-01 16:05:12 +00:00
jsm 50134cf26f When cleaning up, only close files that have been opened successfully.
When reporting errors for failing to open files, give error text
rather than errno number.  Patch from Joey Hess <joey@kitenet.net> for
Debian bug 187251 from Mikael Hedin <micce@debian.org>.
2004-01-01 16:03:46 +00:00
jsm c35cdefd90 Refer to 'O' rather than 'o' as command to set options. Bug reported
by Christian Garbs <debian@cgarbs.de> in Debian bug 191452.
2004-01-01 16:02:51 +00:00
jsm 23e0e03d00 Return proper fortune length from fortlen for fortune files without
STR_RANDOM or STR_ORDERED rather than comparing it to SLEN.  Bug
reported by Simon Williams <simon@no-dns-yet.org.uk>.
2004-01-01 16:02:07 +00:00
jsm cdce4b2c55 Show residual probability rather than non-residual in "No place to put
residual probability" error message.  Distribute residual probability
correctly rather than all to one file.  Patch from Mike Castle
<dalgoda@ix.netcom.com>.
2004-01-01 16:01:25 +00:00
jsm 503605fee2 Make dot and winnerdot of type double. Patch from Jan Vornberger
<jan@uos.de> in Debian bug 197816.
2004-01-01 16:00:34 +00:00
jsm 540217796b Only score as a Gammon or a Backgammon if the opponent hasn't removed
any pieces, not if the opponent has removed pieces but has had a piece
knocked back to the bar afterwards.  Fixes Debian bug 185101 from
Konstantin Seiler <list@kseiler.de>.
2004-01-01 15:59:58 +00:00
jsm 0ea00847c5 Make tutorial text match actual moves. From FreeBSD via OpenBSD.
Fixes Debian bug 212478 from Jim W. Jaszewski <grok@sprint.ca>.
2004-01-01 15:59:09 +00:00
jsm e98705eff6 Fix capitalisation of compass directions. 2004-01-01 15:58:03 +00:00
jsm 618c8fad3d Document that pressing return allows you to "fast forward" the game
clock.  Patch from Peter Maydell <pmaydell@chiark.greenend.org.uk> in
Debian bug 216980.
2004-01-01 15:57:12 +00:00