From ba1922e360028e00b0ecadd02bb51f723c22ce67 Mon Sep 17 00:00:00 2001 From: dholland Date: Sun, 3 Feb 2008 03:45:55 +0000 Subject: Since games are (now) setgid, not setuid, it is no longer necessary to manipulate the effective uid, only the effective gid. --- larn/header.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'larn/header.h') diff --git a/larn/header.h b/larn/header.h index d8025583..1a81f434 100644 --- a/larn/header.h +++ b/larn/header.h @@ -1,4 +1,4 @@ -/* $NetBSD: header.h,v 1.17 2008/01/28 05:38:53 dholland Exp $ */ +/* $NetBSD: header.h,v 1.18 2008/02/03 03:45:55 dholland Exp $ */ /* header.h Larn is copyrighted 1986 by Noah Morgan. */ @@ -363,7 +363,7 @@ extern short iarg[MAXX][MAXY], ivenarg[], lasthx, lasthy, lastnum, lastpx, extern short nobeep, oldx, oldy, playerx, playery, level; extern int dayplay, enable_scroll, srcount, yrepcount, userid, wisid, io_outfd, io_infd; -extern uid_t uid, euid; +extern gid_t gid, egid; extern long outstanding_taxes, skill[], gltime, c[], cbak[]; extern time_t initialtime; extern unsigned long randx; -- cgit v1.2.3-56-ge451