summaryrefslogtreecommitdiffstats
path: root/sail/sync.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix insecure /tmp usage in sail.jsm2000-02-091-12/+31
| | | | | 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.
* 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.
* The game sail(6) has a function Write() which is used both withhubertf1999-02-101-23/+40
| | | | | | | | | | | | 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>.
* fix prototype, per PR#5867hubertf1998-09-111-2/+3
|
* Add braces to make the new egcs happy.veego1998-08-301-5/+8
|
* remove extern errno.mrg1998-03-291-3/+2
|
* - make sure that the arguments to the printf like functions are correctchristos1997-10-131-5/+29
| | | - add a makemsg() function to accompany makesignal.
* Warns fixes:christos1997-10-131-36/+91
| | | | | | use varargs properly use unsigned chars where appropriate fix typos eliminate gcc warnings
* Sync to 4.4BSD-Lite2tls1997-01-071-5/+5
|
* Various changes to make games compile w/o warnings on the alpha:cgd1995-04-241-7/+9
| | | | Include appropriate includes, delete bogus function declarations, change sizes of variables and casts.
* clean up import, NetBSD RCS IDscgd1995-04-221-4/+9
|
* Add RCS identifiers.mycroft1993-08-011-1/+2
|
* initial import of 386bsd-0.1 sourcescgd1993-03-211-0/+421