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
..
Makefile Simply include -lcurses instead of -lcurses -ltermcap 1998-02-18 22:37:30 +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
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
globals.c
lo_main.c
machdep.h
main.c - make sure that the arguments to the printf like functions are correct 1997-10-13 21:02:57 +00:00
misc.c
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
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
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.c The game sail(6) has a function Write() which is used both with 1999-02-10 00:45:45 +00:00
version.c