diff options
author | Paul Janzen <pjanzen@cvs.openbsd.org> | 2000-06-29 07:55:43 +0000 |
---|---|---|
committer | Paul Janzen <pjanzen@cvs.openbsd.org> | 2000-06-29 07:55:43 +0000 |
commit | afe22eb51e4f808aa964a4c9bffba4914baa8fe3 (patch) | |
tree | d8d0de568365f4b9e3c7318f1251df495dbd3226 /games/larn/fortune.c | |
parent | 4c4981824991e9ac42791c3203847402110691a2 (diff) |
Prune some obsolete defines, in particular VT100. Eventually curses will
replace termios.
Use system-defined limits for path lengths and usernames.
Use strlcpy() for convenience and to avoid a possible buffer overflow or two.
Various small tweaks.
Diffstat (limited to 'games/larn/fortune.c')
-rw-r--r-- | games/larn/fortune.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/games/larn/fortune.c b/games/larn/fortune.c index cbc88caf884..28b31706c28 100644 --- a/games/larn/fortune.c +++ b/games/larn/fortune.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fortune.c,v 1.2 1998/09/15 05:12:31 pjanzen Exp $ */ +/* $OpenBSD: fortune.c,v 1.3 2000/06/29 07:55:40 pjanzen Exp $ */ /* $NetBSD: fortune.c,v 1.4 1997/10/18 20:03:18 christos Exp $ */ /*- @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)fortune.c 5.5 (Berkeley) 6/10/91"; #else -static char rcsid[] = "$OpenBSD: fortune.c,v 1.2 1998/09/15 05:12:31 pjanzen Exp $"; +static char rcsid[] = "$OpenBSD: fortune.c,v 1.3 2000/06/29 07:55:40 pjanzen Exp $"; #endif #endif /* not lint */ @@ -81,7 +81,7 @@ char *flines[] = { "never enter the dungeon naked! the monsters will laugh at you!", "did someone put itching powder in your armor?", "you klutz!", - "avoid opening doors. you never know whats on the other side.", + "avoid opening doors. you never know what's on the other side.", "infinite regeneration ---> temptation", "the greatest weapon in the game has not the highest Weapon Class", "you can't buy the most powerful scroll", |