Commit Graph

515 Commits

Author SHA1 Message Date
frueauf
ad506eb7a0 Fix args processing of backgammon and teachgammon, closes pr 5345 by
David Brownlee.
1998-09-15 13:43:34 +00:00
hubertf
bd946d241e constify (PR#6151, once more by Joseph Myers <jsm28@cam.ac.uk>) 1998-09-14 09:30:57 +00:00
hubertf
006cc8ac96 return error on errors (PR#6147 by Joseph Myers <jsm28@cam.ac.uk>) 1998-09-14 09:29:08 +00:00
hubertf
4e4187282a constify, as per PR#6136 by Joseph Myers <jsm28@cam.ac.uk> 1998-09-14 09:13:46 +00:00
hubertf
6f55e2e275 remove x bit from save files (PR#6077) 1998-09-13 15:41:34 +00:00
hubertf
b0178f6b01 Remove unused function and mark non-returning ones(PR#6076, #6144 by Joseph Myers <jsm28@cam.ac.uk>) 1998-09-13 15:31:07 +00:00
hubertf
1c9494f62b mark non-returning functions (PR#6144 by Joseph Myers <jsm28@cam.ac.uk>) 1998-09-13 15:27:25 +00:00
hubertf
3aca90fd78 fix bug w/ negative numbers, mark non-returning functions (PR#6142+6144 by Joseph Myers <jsm28@cam.ac.uk>) 1998-09-13 15:24:57 +00:00
hubertf
ade2d3629c add sanity checks when saving/restoring games (PR#6138 by Joseph Myers <jsm28@cam.ac.uk>) 1998-09-13 15:24:41 +00:00
hubertf
878ef9cb13 check for malloc failures (PR#6136 by Joseph Myers <jsm28@cam.ac.uk>) 1998-09-13 15:24:09 +00:00
hubertf
9e7f2724b9 some cleanups as per PR#6082 by Joseph Myers <jsm28@cam.ac.uk> 1998-09-13 15:23:40 +00:00
hubertf
f92ae4adb5 remove unused files (PR#6083 by Joseph Myers <jsm28@cam.ac.uk>) 1998-09-13 15:22:57 +00:00
hubertf
dd397c841b remove unused function return values (PR#6079 by Joseph Myers <jsm28@cam.ac.uk>) 1998-09-13 15:21:36 +00:00
hubertf
3f1f74edef Saved games can NOT be restored by executing the save file (PR#6077) 1998-09-13 15:21:05 +00:00
hubertf
0056c879de Replace special handling of \r by using ICRNL (PR#6078 by Joseph Myers <jsm28@cam.ac.uk>) 1998-09-13 15:20:31 +00:00
hubertf
9713f31f7c Remove unused function (PR#6076 by Joseph Myers <jsm28@cam.ac.uk>) 1998-09-13 15:19:35 +00:00
hubertf
5795fc4c70 Make dm ignore TZ; PR#6073 by Joseph Myers <jsm28@cam.ac.uk> 1998-09-13 12:34:43 +00:00
hubertf
4e1357c739 constify, per PR 6041 by Joseph Myers <jsm28@cam.ac.uk> 1998-09-13 00:07:24 +00:00
frueauf
6d6da27a53 Correct attribution as pointed out in pr 6114 by Jim Wise. 1998-09-12 22:49:12 +00:00
wrstuden
aaae79a78d Make the helper programs compile right in a cross-compiling environment. 1998-09-12 19:05:48 +00:00
hubertf
4d8c1c95f9 add main() prototype 1998-09-11 14:51:18 +00:00
hubertf
441ff4f749 fix prototype, PR#5867 1998-09-11 14:28:28 +00:00
hubertf
923fd93941 use symbolic constant for open(), PR#5867 1998-09-11 14:26:19 +00:00
hubertf
9a9bb90e33 fix main() prototype, per PR#5867 1998-09-11 14:25:22 +00:00
hubertf
eb2507ecb2 fix prototype, per PR#5867 1998-09-11 14:11:57 +00:00
hubertf
3fd99e1631 fix prototypes, per PR#5867 1998-09-11 14:09:27 +00:00
hubertf
0ef663b102 fix prototype of mon_sees(), per PR#5867 1998-09-11 14:07:51 +00:00
hubertf
d4741e5a86 be more precise for PI, as per PR5867 1998-09-11 14:07:04 +00:00
hubertf
e1627357ea use symbolic constants for signals & open(2), as per PR#5867 1998-09-11 13:54:08 +00:00
hubertf
c31c912667 remove unneeded typedef for TTYB, as per PR#5867 1998-09-11 13:46:30 +00:00
hubertf
f52826a170 fix main() prototype, as per PR#5867 1998-09-11 13:42:03 +00:00
hubertf
20de87e848 fix main() prototype, as per PR#5867 1998-09-11 13:19:50 +00:00
hubertf
5f5c04f636 remove unused args from main(), as per PR#5867 1998-09-11 13:16:05 +00:00
hubertf
f90c041018 fix typo, as per PR#5867 1998-09-11 13:06:30 +00:00
hubertf
4ccf0d9755 better define PI, plus improve prototype (PR#5867) 1998-09-11 12:53:28 +00:00
hubertf
4e2ece1035 remove main() prototype, as per PR 6867 1998-09-11 12:46:26 +00:00
frueauf
e5512611f3 Fix typo, closes pr 6137 by Joseph Myers. 1998-09-10 21:50:35 +00:00
veego
04afeca685 Add braces to make the new egcs happy. 1998-08-30 09:19:36 +00:00
hubertf
767fe0a0b4 Use symbolic names for signals(!), open(2)-constants, ...
Fix applied as per PR 6058 by Joseph Myers <jsm28@cam.ac.uk>
1998-08-29 22:53:03 +00:00
hubertf
5d3d6c7da3 Use symbolic constants for seek(), open(). Fixed as per PR 6057 by
Joseph Myers <jsm@octomino.demon.co.uk>.
1998-08-29 22:47:56 +00:00
hubertf
d5ad059d0d Remove unused function and unnecessary prototypes, as per PR 6050 by
Joseph Myers <jsm28@cam.ac.uk>
1998-08-29 22:40:07 +00:00
hubertf
ed8412ad2b Improved signal handling as per PR 6051 by
Joseph Myers <jsm@octomino.demon.co.uk>
1998-08-29 20:19:56 +00:00
hubertf
e16198b7d4 DTRT if "give" is invoked without arguments. Fix contributed by Joseph S.
Myers <jsm28@cam.ac.uk>, closeds PR 6049.
1998-08-29 19:58:12 +00:00
hubertf
62afb47308 Don't allow empty "give" command (without arguments).
Fixes PR 6049 by Joseph Myers <jsm@octomino.demon.co.uk>.
1998-08-28 00:44:31 +00:00
hubertf
814a994a5e Replace some homegrown string-functions with standard-<string.h>-macros.
Reported by Joseph Myers <jsm28@cam.ac.uk> in PR 6028.
1998-08-24 22:26:23 +00:00
hubertf
5f3ed2ad7d Kill unused parameters, per PR 6023 by Joseph Myers <jsm28@cam.ac.uk>. 1998-08-24 22:07:37 +00:00
hubertf
13091fe5b7 Untakable objects are marked with NULL pointers, not empty strings,
resulting in core dumps. Fixed as per PR 6006 by Joseph Myers
<jsm28@cam.ac.uk>.
1998-08-24 00:25:32 +00:00
hubertf
2f4d86d39f Propperly note place-change, as reported in PR 6008 by Joseph Samuel Myers
<jsm28@cam.ac.uk>
1998-08-24 00:22:45 +00:00
hubertf
99c239447e Initialize return-value correctly as pointed out in PR 6007 by
Joseph Myers <jsm@octomino.demon.co.uk>.
1998-08-24 00:19:25 +00:00
mycroft
3748c7c959 Assign my copyrights to TNF. 1998-08-15 09:16:27 +00:00