diff options
author | jtc <jtc@NetBSD.org> | 1996-10-09 00:40:33 +0000 |
---|---|---|
committer | jtc <jtc@NetBSD.org> | 1996-10-09 00:40:33 +0000 |
commit | db1634276a0bb6745b07f369c8453fae660571d9 (patch) | |
tree | e7a20da4a718ff5e68aee5b5938e18398e687d78 /larn | |
parent | a172a30618aae435dacc4de129391acb42b88776 (diff) | |
download | bsdgames-darwin-db1634276a0bb6745b07f369c8453fae660571d9.tar.gz bsdgames-darwin-db1634276a0bb6745b07f369c8453fae660571d9.tar.zst bsdgames-darwin-db1634276a0bb6745b07f369c8453fae660571d9.zip |
merge in 1.2 branch
Diffstat (limited to 'larn')
-rw-r--r-- | larn/scores.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/larn/scores.c b/larn/scores.c index e1c3fd11..1111cb41 100644 --- a/larn/scores.c +++ b/larn/scores.c @@ -1,5 +1,5 @@ #ifndef lint -static char rcsid[] = "$NetBSD: scores.c,v 1.7 1996/08/15 03:53:48 mrg Exp $"; +static char rcsid[] = "$NetBSD: scores.c,v 1.8 1996/10/09 00:45:37 jtc Exp $"; #endif /* not lint */ /* scores.c Larn is copyrighted 1986 by Noah Morgan. @@ -525,7 +525,9 @@ invalid: lprcat("\nCan't open record file: I can't post your score.\n"); sncbr(); resetscroll(); lflush(); exit(); } + seteuid(euid); chmod(logfile,0660); + seteuid(uid); } seteuid(uid); strcpy(logg.who,loginname); |