Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/5/84; site osu-eddie.UUCP
Path: utzoo!watmath!clyde!cbosgd!osu-eddie!karl
From: karl@osu-eddie.UUCP (Karl Kleinpaste)
Newsgroups: net.sources.bugs
Subject: Other bugs in chat v6.0
Message-ID: <636@osu-eddie.UUCP>
Date: Thu, 3-Oct-85 08:00:22 EDT
Article-I.D.: osu-eddi.636
Posted: Thu Oct  3 08:00:22 1985
Date-Received: Fri, 4-Oct-85 03:59:34 EDT
References: <156@polyof.UUCP>
Distribution: net
Organization: OSU
Lines: 20

> Here is a quick fix for an annoying problem a friend and I found:

Thanx for that fix.  Here's a couple more.

In the Makefile, it is more-or-less standard to have the `install'
label dependent on the installable targets.  Hence, that target line
should look like:
	install: chat cwho ruser

In misc.c/sysexec(), the uid is correctly set back to the real user,
but not his gid.  Insert `setgid(getgid());' just before the similar
call for uid (near line 175).

In page.c/page(), the original declaration of _name is too small;
it assumed that at most 20 people would be logged in at once.  Not
true on my VAX.  Knock that limit up to something large.  I used 100,
though that is absurdly large.  (It's not like chat is a huge beast
already, it can afford the space.)
-- 
Karl Kleinpaste