rc-list - mailing list for the rc(1) shell
 help / color / mirror / Atom feed
* Patch for rc-1.5b2
@ 1997-09-15 12:37 Tim Goodwin
  0 siblings, 0 replies; only message in thread
From: Tim Goodwin @ 1997-09-15 12:37 UTC (permalink / raw)
  To: rc

Here's a one line patch for rc-1.5b2 which fixes a thinko in the
autoconf support.  If you've had problems with rc dumping core, or
refusing to execute files which your group permissions allow you to,
this patch should fix them.  These problems have been experienced under
SunOS 4.

This patch will be incorporated into the next official beta release
of rc, rc-1.5b3, which I hope to make as soon as I've fixed a race
condition in the wait() code.  (Experienced under Linux 2.0.30 on a dual
processor machine; I suspect it wouldn't occur on a single processor.)

Please continue to let me know of any problems or successes you've had
with rc-1.5b2.

Thanks,

Tim.

--- which.c	1997/07/01 20:02:57	1.2
+++ which.c	1997/09/15 10:27:18
@@ -88,7 +88,7 @@
 		gid = getegid();
 #if HAVE_GETGROUPS
 		ngroups = getgroups(0, (gid_t *)0);
-		gidset = malloc(ngroups * sizeof(gid_t));
+		gidset = malloc(ngroups * sizeof(GETGROUPS_T));
 		if (!gidset)
 			uerror("malloc");
 		else


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-09-15 21:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-09-15 12:37 Patch for rc-1.5b2 Tim Goodwin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).