[#536] SEVG in bignum.c:505... — Sean Chittenden <sean@...>
$ ruby -e 'p [].to_s.strip.to_i'
5 messages
2002/10/13
[#537] darwin shared library patch — Eric Melville <eric@...>
In Darwin, the preferred way to build shared libraries is with two level
9 messages
2002/10/13
[#539] Re: darwin shared library patch
— "Akinori MUSHA" <knu@...>
2002/10/13
Hi,
[#544] Re: darwin shared library patch
— Eric Melville <eric@...>
2002/10/16
> The patch seems to make ENV[]= coredump.
[#546] Re: darwin shared library patch
— "Akinori MUSHA" <knu@...>
2002/10/16
At Thu, 17 Oct 2002 01:41:49 +0900,
[#541] Patch for MacOS X dln.c — Luc B駘anger <belanglu@...>
I have a patch for the dynamic linker in MacOS X, which permit to load
7 messages
2002/10/13
Re: darwin shared library patch
From:
"Akinori MUSHA" <knu@...>
Date:
2002-10-16 21:11:18 UTC
List:
ruby-core #547
At Thu, 17 Oct 2002 05:18:51 +0900,
I wrote:
> > I can't reproduce this on darwin 6.1. I'm also using ruby 1.6.7 but I don't
> > think that should be a factor.
OK, I figured it out. Ruby coredumped where environ is dereferenced
like environ[max], which implies this:
- #define environ *_NSGetEnviron()
+ #define environ (*_NSGetEnviron())
With this fix, the test passed without a single error. I'll commit
the patch later after doing more testing.
Thanks,
--
/
/__ __ Akinori.org / MUSHA.org
/ ) ) ) ) / FreeBSD.org / Ruby-lang.org
Akinori MUSHA aka / (_ / ( (__( @ iDaemons.org / and.or.jp
"When I leave I don't know what I'm hoping to find
When I leave I don't know what I'm leaving behind.."