Commit Graph

34 Commits

Author SHA1 Message Date
hubertf
24f809b060 The game sail(6) has a function Write() which is used both with
integer arguments and with string arguments (cast to long, and in one
place to int).  The patch here cleans this up, making it into two
separate functions; this allows for the game to be made const-correct
in future and improves portability.

The patch also contains two other fragments: a change to use the
symbolic constant SEEK_END with fseek(), and a change to use snprintf
in one place to avoid a buffer overrun.

Via PR 6569 by Joseph Myers <jsm28@cam.ac.uk>.
1999-02-10 00:45:45 +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
f92ae4adb5 remove unused files (PR#6083 by Joseph Myers <jsm28@cam.ac.uk>) 1998-09-13 15:22:57 +00:00
hubertf
eb2507ecb2 fix prototype, per PR#5867 1998-09-11 14:11:57 +00:00
veego
04afeca685 Add braces to make the new egcs happy. 1998-08-30 09:19:36 +00:00
hubertf
f6bdc1c682 Rename internal move() to move_ship(), as per PR 5841 by
Joseph Myers <jsm@octomino.demon.co.uk>.
1998-07-25 10:52:14 +00:00
mrg
d1dea0fb5f add missing extern to several variables. 1998-03-29 04:57:19 +00:00
mrg
66c8bb21a9 remove extern errno. 1998-03-29 04:56:46 +00:00
jtc
2065ddb3da Simply include -lcurses instead of -lcurses -ltermcap 1998-02-18 22:37:30 +00:00
christos
28a0fb7260 Use -ltermcap instead of -ltermlib. 1998-02-05 12:24:31 +00:00
mrg
6074e1b476 install games that need it setgid. 1997-11-20 00:12:30 +00:00
christos
5175902c09 - make sure that the arguments to the printf like functions are correct
- add a makemsg() function to accompany makesignal.
1997-10-13 21:02:57 +00:00
christos
bf72b656b0 Warns fixes:
use varargs properly
	use unsigned chars where appropriate
	fix typos
	eliminate gcc warnings
1997-10-13 19:42:53 +00:00
lukem
4877bdbb3b enable WARNS?=1 by default, & temporarily disable for the few unclean programs 1997-10-12 14:21:44 +00:00
thorpej
0211b09284 Change the riggings to ints, so that comparisons against negative
values works as expected on systems with unsigned chars.
1997-04-19 07:35:33 +00:00
tls
156daa7a47 Sync to 4.4BSD-Lite2 1997-01-07 12:42:14 +00:00
tls
bd34844797 Import from 4.4BSD-Lite2 1996-12-28 19:09:10 +00:00
perry
c684fe390d nuke 'the the' typo 1996-12-04 00:21:29 +00:00
mycroft
58da557ed6 Use POSIX signal and tty semantics. 1995-04-28 21:30:16 +00:00
cgd
c4816c32b3 Various changes to make games compile w/o warnings on the alpha:
Include appropriate includes, delete bogus function declarations,
change sizes of variables and casts.
1995-04-24 12:21:37 +00:00
cgd
982615d7df clean up import, NetBSD RCS IDs 1995-04-22 10:36:43 +00:00
cgd
c4c01d75b2 specify man pages the new way. 1994-12-22 09:31:26 +00:00
cgd
c524ac711f setuid rather than setruid 1994-04-08 18:23:31 +00:00
glass
b192754e19 fixed to use fgets() 1994-01-13 19:22:29 +00:00
glass
862f7b5f17 fixed spelling of Napoleon 1994-01-13 18:24:40 +00:00
cgd
a7bedc2399 new curses 1993-11-10 15:59:04 +00:00
mycroft
8edb8b3bd7 Use '\a', not CTRL('g'). 1993-08-10 02:20:52 +00:00
mycroft
969fb0bc6e Pass the signal number to tstp(). 1993-08-10 02:15:07 +00:00
mycroft
8542364e07 Add RCS identifiers. 1993-08-01 18:49:50 +00:00
mycroft
b1bd4afedc Add RCS indentifiers. 1993-08-01 07:42:49 +00:00
mycroft
cda4f8f6ee Add RCS identifiers. 1993-08-01 05:37:30 +00:00
deraadt
799dc259d9 BADSIG --> SIG_ERR 1993-06-21 00:55:05 +00:00
cgd
f620d7d9f6 got rid of unnecessary -lcompat and associated dependency 1993-03-23 02:44:38 +00:00
cgd
61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00