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
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
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
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
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