rc-list - mailing list for the rc(1) shell
 help / color / mirror / Atom feed
From: Tim Goodwin <tgoodwin@cygnus.co.uk>
To: rc@hawkwind.utcs.toronto.edu
Subject: Patch for rc-1.5b2
Date: Mon, 15 Sep 1997 08:37:17 -0400	[thread overview]
Message-ID: <mh0AAP0rHTSV+AAA@nan.cygnus.co.uk> (raw)

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


                 reply	other threads:[~1997-09-15 21:01 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=mh0AAP0rHTSV+AAA@nan.cygnus.co.uk \
    --to=tgoodwin@cygnus.co.uk \
    --cc=rc@hawkwind.utcs.toronto.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).