diff options
author | Paul Janzen <pjanzen@cvs.openbsd.org> | 2002-07-18 07:13:58 +0000 |
---|---|---|
committer | Paul Janzen <pjanzen@cvs.openbsd.org> | 2002-07-18 07:13:58 +0000 |
commit | 54a6ff4e941f27f74b5c69277796845213e0d171 (patch) | |
tree | 2c06b08145f5cdf2bf02ab2032ff977b2e523505 /games/rogue/main.c | |
parent | 58277074e3e354b7bbce4f4f0f8c25ae270f47cb (diff) |
- string handling patch from David Holland, minimally modified. Highlights
are fewer magic constants, sprintf->snprintf, and better scorefile handling.
Also, won't hang if forking a subshell fails.
- a few needless functions have been trimmed, and a few extra defaults have
been added to a few switches, just in case.
Diffstat (limited to 'games/rogue/main.c')
-rw-r--r-- | games/rogue/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/games/rogue/main.c b/games/rogue/main.c index e3b336998f1..ada46cfe4d2 100644 --- a/games/rogue/main.c +++ b/games/rogue/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.3 1998/08/22 08:55:32 pjanzen Exp $ */ +/* $OpenBSD: main.c,v 1.4 2002/07/18 07:13:57 pjanzen Exp $ */ /* $NetBSD: main.c,v 1.3 1995/04/22 10:27:41 cgd Exp $ */ /* @@ -38,7 +38,7 @@ */ #ifndef lint -static char copyright[] = +static const char copyright[] = "@(#) Copyright (c) 1988, 1993\n\ The Regents of the University of California. All rights reserved.\n"; #endif /* not lint */ @@ -47,7 +47,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 5/31/93"; #else -static char rcsid[] = "$OpenBSD: main.c,v 1.3 1998/08/22 08:55:32 pjanzen Exp $"; +static const char rcsid[] = "$OpenBSD: main.c,v 1.4 2002/07/18 07:13:57 pjanzen Exp $"; #endif #endif /* not lint */ |