[#237] object.c ruby.h (fwd) — Robert Skarwecki <skaav@...>

Hello everybody,

42 messages 2002/07/24
[#239] Re: [PATCH] object.c ruby.h (fwd) — GOTO Kentaro <gotoken@...> 2002/07/24

At Thu, 25 Jul 2002 00:02:28 +0900,

[#240] Re: [PATCH] object.c ruby.h (fwd) — Dave Thomas <Dave@...> 2002/07/24

GOTO Kentaro <gotoken@notwork.org> writes:

[#246] Re: [PATCH] object.c ruby.h (fwd) — GOTO Kentaro <gotoken@...> 2002/07/25

At Thu, 25 Jul 2002 05:05:46 +0900,

[#247] Re: [PATCH] object.c ruby.h (fwd) — Dave Thomas <Dave@...> 2002/07/25

GOTO Kentaro <gotoken@notwork.org> writes:

[#248] Re: [PATCH] object.c ruby.h (fwd) — nobu.nokada@... 2002/07/25

Hi,

[#249] Re: [PATCH] object.c ruby.h (fwd) — Dave Thomas <Dave@...> 2002/07/25

nobu.nokada@softhome.net writes:

[#250] Re: [PATCH] object.c ruby.h (fwd) — nobu.nokada@... 2002/07/25

Hi,

[#252] Re: [PATCH] object.c ruby.h (fwd) — GOTO Kentaro <gotoken@...> 2002/07/25

At Fri, 26 Jul 2002 03:11:02 +0900,

[#253] Re: [PATCH] object.c ruby.h (fwd) — Dave Thomas <Dave@...> 2002/07/25

GOTO Kentaro <gotoken@notwork.org> writes:

Re: openbsd system call changes

From: nobu.nokada@...
Date: 2002-07-05 20:06:17 UTC
List: ruby-core #206
Hi,

At Sat, 6 Jul 2002 01:12:14 +0900,
Jamie Herre wrote:
> I'm assuming that this is the right place to send proposed patches for
> ruby.

Right.

> I made the following changes in order to get the current ruby to
> compile on my OpenBSD system.
> 
> Mostly just a matter of changing the order of preference for various
> system calls.

Could you explain what changed?  It may affect other platforms.

> @@ -1185,6 +1185,8 @@
>       gid = NUM2INT(id);
>   #if defined(HAVE_SETRESGID) && !defined(__CHECKER__)
>       if (setresgid(gid, -1, -1) < 0) rb_sys_fail(0);
> +#elif defined HAVE_SETEGID
> +    if (setgid(gid) < 0) rb_sys_fail(0);

The macro and the system call names differ..., which is correct?

-- 
Nobu Nakada

In This Thread