[#4858] Build fails on OSX Tiger 10.4 — noreply@...

Bugs item #1883, was opened at 2005-05-06 14:55

21 messages 2005/05/06
[#4862] Re: [ ruby-Bugs-1883 ] Build fails on OSX Tiger 10.4 — Yukihiro Matsumoto <matz@...> 2005/05/07

Hi,

[#4865] Re: [ ruby-Bugs-1883 ] Build fails on OSX Tiger 10.4 — Ryan Davis <ryand-ruby@...> 2005/05/07

[#4868] Re: [ ruby-Bugs-1883 ] Build fails on OSX Tiger 10.4 — nobu.nokada@... 2005/05/07

Hi,

[#5053] Re: [ ruby-Bugs-1883 ] Build fails on OSX Tiger 10.4 — Shugo Maeda <shugo@...> 2005/05/19

Hi,

[#5056] Re: [ ruby-Bugs-1883 ] Build fails on OSX Tiger 10.4 — Mark Hubbart <discordantus@...> 2005/05/19

On 5/19/05, Shugo Maeda <shugo@ruby-lang.org> wrote:

[#4874] - Need to reduce Ruby Sources to the Minimal — Ilias Lazaridis <ilias@...>

Hello all,

31 messages 2005/05/10
[#4879] Re: [THIN] - Need to reduce Ruby Sources to the Minimal — Pit Capitain <pit@...> 2005/05/11

Ilias Lazaridis schrieb:

[#4883] Re: [THIN] - Need to reduce Ruby Sources to the Minimal — Ilias Lazaridis <ilias@...> 2005/05/12

Pit Capitain wrote:

[#4884] Re: [THIN] - Need to reduce Ruby Sources to the Minimal — Ryan Davis <ryand-ruby@...> 2005/05/12

[#4888] Re: [THIN] - Need to reduce Ruby Sources to the Minimal — Ilias Lazaridis <ilias@...> 2005/05/12

Ryan Davis wrote:

[#4889] Re: [THIN] - Need to reduce Ruby Sources to the Minimal — ES <ruby-ml@...> 2005/05/12

[#4890] Re: [THIN] - Need to reduce Ruby Sources to the Minimal — Ilias Lazaridis <ilias@...> 2005/05/12

ES wrote:

[#4891] Re: [THIN] - Need to reduce Ruby Sources to the Minimal — Alexander Kellett <ruby-lists@...> 2005/05/12

On May 12, 2005, at 3:13 PM, Ilias Lazaridis wrote:

[#4911] Pointless argc check in Array#select — noreply@...

Patches item #1900, was opened at 2005-05-12 09:33

11 messages 2005/05/12

[#4919] - Hierarchical/Modular Directory Structure — Ilias Lazaridis <ilias@...>

The source-code structure should be simplified, lowering barriers for

20 messages 2005/05/12

Re: [PATCH] Win32: Ruby & APR; build problems for Ruby Subversion SWIG bindings

From: nobu.nokada@...
Date: 2005-05-14 09:44:34 UTC
List: ruby-core #4978
Hi,

At Sat, 14 May 2005 18:06:32 +0900,
Erik Huelsmann wrote in [ruby-core:04977]:
> Index: configure.in
> ===================================================================
> RCS file: /src/ruby/configure.in,v
> retrieving revision 1.275
> diff -u -r1.275 configure.in
> --- configure.in	30 Apr 2005 02:59:41 -0000	1.275
> +++ configure.in	14 May 2005 07:45:02 -0000
> @@ -226,6 +226,8 @@
>  AC_CHECK_SIZEOF(double, 8)
>  AC_CHECK_SIZEOF(time_t, 0)
>  
> +AC_CHECK_TYPES([pid_t, gid_t, uid_t])

I think AC_TYPE_UID_T and AC_TYPE_PID_T also would be needed to
remove.

> Index: process.c
> ===================================================================
> RCS file: /src/ruby/process.c,v
> retrieving revision 1.129
> diff -u -r1.129 process.c
> --- process.c	4 Mar 2005 06:47:41 -0000	1.129
> +++ process.c	14 May 2005 07:45:03 -0000
> @@ -1847,14 +1847,14 @@
>      if (pid < 0) rb_sys_fail(0);
>      return INT2FIX(pid);
>  #elif defined(HAVE_SETPGRP) && defined(TIOCNOTTY)
> -  pid_t pid;
> +  rb_pid_t pid;
>    int ret;
>  
>    rb_secure(2);
>    pid = getpid();
>  #if defined(SETPGRP_VOID)
>    ret = setpgrp();
> -  /* If `pid_t setpgrp(void)' is equivalent to setsid(),
> +  /* If `rb_pid_t setpgrp(void)' is equivalent to setsid(),

This is overdone, isn't it?

> Index: ruby.h
> ===================================================================
> RCS file: /src/ruby/ruby.h,v
> retrieving revision 1.111
> diff -u -r1.111 ruby.h
> --- ruby.h	30 Apr 2005 02:59:41 -0000	1.111
> +++ ruby.h	14 May 2005 07:45:03 -0000
> @@ -82,6 +82,25 @@
>  typedef unsigned long VALUE;
>  typedef unsigned long ID;
>  
> +#if ! HAVE_PID_T
> +  typedef int rb_pid_t;
> +#else
> +  typedef pid_t rb_pid_t;
> +#endif

Why not #ifdef?

-- 
Nobu Nakada

In This Thread