From: Vincent Broman <broman@nosc.mil>
To: rc@hawkwind.utcs.toronto.edu
Subject: Re: "rc" shell maintainer?
Date: Mon, 9 Feb 1998 15:31:35 -0500 [thread overview]
Message-ID: <19980209203135.4057.qmail@np.nosc.mil> (raw)
In-Reply-To: <Ml0AANpP2zTdVAwA@nan.cygnus.co.uk> (message from Tim Goodwin on Fri, 6 Feb 1998 18:00:37 +0000)
-----BEGIN PGP SIGNED MESSAGE-----
> Did you try the patch I sent, which changes gid_t to GETGROUPS_T on the
> subsequent line, too?
Woops, it didn't sink in that that was an additional patch.
- From your tip, I ended up with the following which seems to work.
- --- which.c.orig Mon Jul 7 08:43:53 1997
+++ which.c Mon Feb 9 12:27:55 1998
@@ -33,5 +33,5 @@
static int ingidset(gid_t g) {
- - gid_t i;
+ int i;
for (i = 0; i < ngroups; ++i)
if (g == gidset[i])
@@ -88,6 +88,6 @@
gid = getegid();
#if HAVE_GETGROUPS
- - ngroups = getgroups(0, (gid_t *)0);
- - gidset = malloc(ngroups * sizeof(gid_t));
+ ngroups = getgroups(0, (GETGROUPS_T *)0);
+ gidset = malloc(ngroups * sizeof(GETGROUPS_T));
if (!gidset)
uerror("malloc");
Thanks.
V Broman
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
iQCVAwUBNN9nk2CU4mTNq7IdAQFrBQP9GcJ5EBvhJHtt72H8D1tZ1fU69JjsPWEn
3KwTZYUFxKRIbMnqxiNaokdjK2iDlzxagYqZalEhC9oNs/LVBOn1kLL1i0I06mth
sj/aC0wF6/AkdUVP4rWIbv0IF4umlbFW4Ayqyy5AJJo7jH3Z6nw1rgL3ccw+PLPK
33rmO1n8G6c=
=F+kV
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~1998-02-09 23:12 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-02-04 21:23 Vincent Broman
1998-02-05 1:17 ` Tom Culliton
1998-02-05 11:46 ` Tim Goodwin
1998-02-05 21:48 ` Vincent Broman
1998-02-06 18:00 ` Tim Goodwin
1998-02-06 22:54 ` Vincent Broman
1998-02-09 20:31 ` Vincent Broman [this message]
1998-02-09 23:45 ` Vincent Broman
1998-02-10 23:26 ` Tom Culliton
1998-02-11 10:45 ` Tim Goodwin
1998-02-11 22:23 ` Tom Culliton
1998-02-12 10:23 ` Tim Goodwin
1998-02-11 21:55 ` Vincent Broman
1998-02-05 5:01 smarry
1998-02-05 15:25 ` Tom Culliton
1998-02-06 17:45 ` Tim Goodwin
1998-02-05 19:59 smarry
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=19980209203135.4057.qmail@np.nosc.mil \
--to=broman@nosc.mil \
--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).