NetBSD/games/sail
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
..
assorted.c The game sail(6) has a function Write() which is used both with 1999-02-10 00:45:45 +00:00
dr_1.c The game sail(6) has a function Write() which is used both with 1999-02-10 00:45:45 +00:00
dr_2.c The game sail(6) has a function Write() which is used both with 1999-02-10 00:45:45 +00:00
dr_3.c The game sail(6) has a function Write() which is used both with 1999-02-10 00:45:45 +00:00
dr_4.c The game sail(6) has a function Write() which is used both with 1999-02-10 00:45:45 +00:00
dr_5.c The game sail(6) has a function Write() which is used both with 1999-02-10 00:45:45 +00:00
dr_main.c Warns fixes: 1997-10-13 19:42:53 +00:00
driver.h add missing extern to several variables. 1998-03-29 04:57:19 +00:00
extern.h The game sail(6) has a function Write() which is used both with 1999-02-10 00:45:45 +00:00
game.c Warns fixes: 1997-10-13 19:42:53 +00:00
globals.c Warns fixes: 1997-10-13 19:42:53 +00:00
lo_main.c Warns fixes: 1997-10-13 19:42:53 +00:00
machdep.h Use POSIX signal and tty semantics. 1995-04-28 21:30:16 +00:00
main.c - make sure that the arguments to the printf like functions are correct 1997-10-13 21:02:57 +00:00
Makefile Simply include -lcurses instead of -lcurses -ltermcap 1998-02-18 22:37:30 +00:00
misc.c Warns fixes: 1997-10-13 19:42:53 +00:00
parties.c The game sail(6) has a function Write() which is used both with 1999-02-10 00:45:45 +00:00
pathnames.h clean up import, NetBSD RCS IDs 1995-04-22 10:36:43 +00:00
pl_1.c The game sail(6) has a function Write() which is used both with 1999-02-10 00:45:45 +00:00
pl_2.c Warns fixes: 1997-10-13 19:42:53 +00:00
pl_3.c The game sail(6) has a function Write() which is used both with 1999-02-10 00:45:45 +00:00
pl_4.c The game sail(6) has a function Write() which is used both with 1999-02-10 00:45:45 +00:00
pl_5.c The game sail(6) has a function Write() which is used both with 1999-02-10 00:45:45 +00:00
pl_6.c The game sail(6) has a function Write() which is used both with 1999-02-10 00:45:45 +00:00
pl_7.c The game sail(6) has a function Write() which is used both with 1999-02-10 00:45:45 +00:00
pl_main.c The game sail(6) has a function Write() which is used both with 1999-02-10 00:45:45 +00:00
player.h add missing extern to several variables. 1998-03-29 04:57:19 +00:00
sail.6 Sync to 4.4BSD-Lite2 1997-01-07 12:42:14 +00:00
sync.c The game sail(6) has a function Write() which is used both with 1999-02-10 00:45:45 +00:00
version.c Warns fixes: 1997-10-13 19:42:53 +00:00