summaryrefslogtreecommitdiffstats
path: root/sail
Commit message (Collapse)AuthorAgeFilesLines
* More include additions for exit, abs, strcmp, etc.matt2000-07-033-6/+9
|
* Don't make /var/games/sail here.mycroft2000-06-111-8/+1
|
* avoid failure on "make install" when /var/games/sail already exists.itojun2000-02-121-2/+2
|
* Fix insecure /tmp usage in sail.jsm2000-02-098-29/+72
| | | | | Essentially concludes the merge into NetBSD of those changes in the Linux port of the NetBSD games which it is fairly clear to me should be so merged.
* Don't initialise curses until after the initial non-curses setup (thejsm2000-01-312-8/+8
| | | choice of scenario uses puts() rather than curses functions).
* Use separate definitions and extern declarations of variables ratherjsm1999-12-284-45/+82
| | | than linker commons.
* Fix uses of namespaces reserved by ISO C or POSIX.1.jsm1999-09-304-22/+22
|
* Fix some uses of NULL as non-pointer and 0 for null pointer.jsm1999-09-171-3/+4
|
* Include <time.h> in various places in the games where time() or time_tjsm1999-09-091-2/+3
| | | are used.
* Use the symbolic names `SEEK_SET' and `O_RDONLY' where appropriate injsm1999-09-081-3/+3
| | | the games.
* Add `__noreturn__' and `__unused__' attributes where appropriate tojsm1999-09-083-9/+9
| | | | | | | | | | | | the games. This merges in all such remaining changes from the Linux port of the NetBSD games, except in hunt (where substantial changes from OpenBSD need to be looked at). Most noreturn attributes were previously added in bin/6144, with some others that were missed then in bin/8082. Previous `unused' attributes were covered in bin/6557, bin/8058 and other PRs (all these PRs have already been handled and closed).
* Add use of `const' where appropriate to the games.jsm1999-09-0810-81/+85
| | | | | | | | | This merges in all such remaining changes from the Linux port of the NetBSD games, except in hunt (where substantial changes from OpenBSD need to be looked at). Some such changes were previously covered in PRs bin/6041, bin/6146, bin/6148, bin/6150, bin/6151, bin/6580, bin/6660, bin/7993, bin/7994, bin/8039, bin/8057 and bin/8093.
* initscr() returns a pointer, compare return value with NULL and notsimonb1999-04-181-3/+3
| | | | an int. Compatible with other versions of curses.
* The game sail(6) has a function Write() which is used both withhubertf1999-02-1016-123/+141
| | | | | | | | | | | | 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>.
* mark non-returning functions (PR#6144 by Joseph Myers <jsm28@cam.ac.uk>)hubertf1998-09-131-3/+3
|
* remove unused files (PR#6083 by Joseph Myers <jsm28@cam.ac.uk>)hubertf1998-09-134-20/+0
|
* fix prototype, per PR#5867hubertf1998-09-112-5/+6
|
* Add braces to make the new egcs happy.veego1998-08-304-20/+32
|
* Rename internal move() to move_ship(), as per PR 5841 byhubertf1998-07-252-6/+6
| | | Joseph Myers <jsm@octomino.demon.co.uk>.
* add missing extern to several variables.mrg1998-03-293-14/+14
|
* remove extern errno.mrg1998-03-291-3/+2
|
* Simply include -lcurses instead of -lcurses -ltermcapjtc1998-02-181-3/+3
|
* Use -ltermcap instead of -ltermlib.christos1998-02-051-3/+3
|
* install games that need it setgid.mrg1997-11-201-1/+2
|
* - make sure that the arguments to the printf like functions are correctchristos1997-10-1313-81/+103
| | | - add a makemsg() function to accompany makesignal.
* Warns fixes:christos1997-10-1325-605/+979
| | | | | | use varargs properly use unsigned chars where appropriate fix typos eliminate gcc warnings
* enable WARNS?=1 by default, & temporarily disable for the few unclean programslukem1997-10-121-1/+2
|
* Change the riggings to ints, so that comparisons against negativethorpej1997-04-191-5/+5
| | | values works as expected on systems with unsigned chars.
* Sync to 4.4BSD-Lite2tls1997-01-0715-364/+56
|
* Import from 4.4BSD-Lite2tls1996-12-281-0/+310
|
* nuke 'the the' typoperry1996-12-041-2/+2
|
* Use POSIX signal and tty semantics.mycroft1995-04-281-10/+16
|
* Various changes to make games compile w/o warnings on the alpha:cgd1995-04-247-26/+29
| | | | Include appropriate includes, delete bogus function declarations, change sizes of variables and casts.
* clean up import, NetBSD RCS IDscgd1995-04-2230-126/+249
|
* specify man pages the new way.cgd1994-12-221-2/+2
|
* setuid rather than setruidcgd1994-04-081-2/+2
|
* fixed to use fgets()glass1994-01-131-2/+4
|
* fixed spelling of Napoleonglass1994-01-132-5/+5
|
* new cursescgd1993-11-101-18/+1
|
* Use '\a', not CTRL('g').mycroft1993-08-101-2/+2
|
* Pass the signal number to tstp().mycroft1993-08-101-2/+2
|
* Add RCS identifiers.mycroft1993-08-0128-28/+56
|
* Add RCS indentifiers.mycroft1993-08-011-1/+2
|
* Add RCS identifiers.mycroft1993-08-011-1/+2
|
* BADSIG --> SIG_ERRderaadt1993-06-211-1/+1
|
* got rid of unnecessary -lcompat and associated dependencycgd1993-03-231-2/+2
|
* initial import of 386bsd-0.1 sourcescgd1993-03-2134-0/+6528