[#9869] a block argument within a block which argument has the same name leaks — <noreply@...>

Bugs item #7680, was opened at 2007-01-08 22:53

34 messages 2007/01/08
[#9871] Re: [ ruby-Bugs-7680 ] a block argument within a block which argument has the same name leaks — Yukihiro Matsumoto <matz@...> 2007/01/08

Hi,

[#9872] Re: [ ruby-Bugs-7680 ] a block argument within a block which argument has the same name leaks — Evan Webb <evan@...> 2007/01/08

On Jan 8, 2007, at 2:30 PM, Yukihiro Matsumoto wrote:

[#9873] Re: [ ruby-Bugs-7680 ] a block argument within a block which argument has the same name leaks — Yukihiro Matsumoto <matz@...> 2007/01/08

Hi,

[#9876] Re: [ ruby-Bugs-7680 ] a block argument within a block which argument has the same name leaks — dblack@... 2007/01/09

Hi --

[#9878] Re: [ ruby-Bugs-7680 ] a block argument within a block which argument has the same name leaks — Yukihiro Matsumoto <matz@...> 2007/01/09

Hi,

[#9879] Re: [ ruby-Bugs-7680 ] a block argument within a block which argument has the same name leaks — dblack@... 2007/01/09

Hi --

[#9880] Re: [ ruby-Bugs-7680 ] a block argument within a block which argument has the same name leaks — Yukihiro Matsumoto <matz@...> 2007/01/09

Hi,

[#9882] Re: [ ruby-Bugs-7680 ] a block argument within a block which argument has the same name leaks — Evan Phoenix <evan@...> 2007/01/09

[#9885] Re: [ ruby-Bugs-7680 ] a block argument within a block which argument has the same name leaks — Yukihiro Matsumoto <matz@...> 2007/01/09

Hi,

[#9887] Re: [ ruby-Bugs-7680 ] a block argument within a block which argument has the same name leaks — Evan Phoenix <evan@...> 2007/01/09

[#9888] Re: [ ruby-Bugs-7680 ] a block argument within a block which argument has the same name leaks — Charles Oliver Nutter <charles.nutter@...> 2007/01/09

Evan Phoenix wrote:

[#9892] Re: [ ruby-Bugs-7680 ] a block argument within a block which argument has the same name leaks — Yukihiro Matsumoto <matz@...> 2007/01/09

Hi,

[#9899] Re: [ ruby-Bugs-7680 ] a block argument within a block which argument has the same name leaks — Charles Oliver Nutter <charles.nutter@...> 2007/01/10

Yukihiro Matsumoto wrote:

[#9904] Re: [ ruby-Bugs-7680 ] a block argument within a block which argument has the same name leaks — Yukihiro Matsumoto <matz@...> 2007/01/10

Hi,

[#9960] Scoping and locating definitions — Jos Backus <jos@...>

Consider the following:

17 messages 2007/01/18
[#9964] Re: Scoping and locating definitions — Pit Capitain <pit@...> 2007/01/19

Jos Backus schrieb:

[#9966] Re: Scoping and locating definitions — Jos Backus <jos@...> 2007/01/19

On Fri, Jan 19, 2007 at 06:40:03PM +0900, Pit Capitain wrote:

[#9972] Re: Scoping and locating definitions — Jos Backus <jos@...> 2007/01/19

On Sat, Jan 20, 2007 at 02:18:19AM +0900, Jos Backus wrote:

[#9996] new method dispatch rule (matz' proposal) — SASADA Koichi <ko1@...>

Hi,

50 messages 2007/01/23
[#10002] Re: new method dispatch rule (matz' proposal) — Daniel DeLorme <dan-ml@...42.com> 2007/01/23

SASADA Koichi wrote:

[#10003] Re: new method dispatch rule (matz' proposal) — Yukihiro Matsumoto <matz@...> 2007/01/23

Hi,

[#10004] Re: new method dispatch rule (matz' proposal) — James Edward Gray II <james@...> 2007/01/23

On Jan 23, 2007, at 7:41 AM, Yukihiro Matsumoto wrote:

[#10017] Re: new method dispatch rule (matz' proposal) — Daniel DeLorme <dan-ml@...42.com> 2007/01/24

Yukihiro Matsumoto wrote:

[#10018] Re: new method dispatch rule (matz' proposal) — Yukihiro Matsumoto <matz@...> 2007/01/24

Hi,

[#10024] Re: new method dispatch rule (matz' proposal) — Daniel DeLorme <dan-ml@...42.com> 2007/01/24

Yukihiro Matsumoto wrote:

[#10027] Re: new method dispatch rule (matz' proposal) — Yukihiro Matsumoto <matz@...> 2007/01/24

Hi,

[#10048] Re: new method dispatch rule (matz' proposal) — Evan Phoenix <evan@...> 2007/01/25

The more this discussion goes on, the more I worry that Joe Q Public

[#10019] stable branch policy & schedule for 1.8.6 — "Akinori MUSHA" <knu@...>

Core developers,

29 messages 2007/01/24
[#10021] Re: stable branch policy & schedule for 1.8.6 — Charles Oliver Nutter <charles.nutter@...> 2007/01/24

Akinori MUSHA wrote:

[#10032] Re: stable branch policy & schedule for 1.8.6 — Joel VanderWerf <vjoel@...> 2007/01/24

Charles Oliver Nutter wrote:

[#10085] Collaborative Ruby Language Specification — "John Lam (CLR)" <jflam@...>

Hi Everyone,

36 messages 2007/01/28
[#10108] Re: Collaborative Ruby Language Specification — Charles Oliver Nutter <charles.nutter@...> 2007/01/29

M. Edward (Ed) Borasky wrote:

[#10112] Re: Collaborative Ruby Language Specification — "Eustaquio Rangel de Oliveira Jr." <eustaquiorangel@...> 2007/01/30

-----BEGIN PGP SIGNED MESSAGE-----

[#10114] add usage of uri.userinfo to open-uri.rb — <noreply@...>

Patches item #8309, was opened at 2007-01-30 15:25

16 messages 2007/01/30
[#10131] Re: [ ruby-Patches-8309 ] add usage of uri.userinfo to open-uri.rb — Yukihiro Matsumoto <matz@...> 2007/01/31

[#10132] Re: [ ruby-Patches-8309 ] add usage of uri.userinfo to open-uri.rb — Paulo Kh <paulo.koch@...> 2007/01/31

On 2007/01/31, at 06:07, Yukihiro Matsumoto wrote:

[#10137] Re: [ ruby-Patches-8309 ] add usage of uri.userinfo to open-uri.rb — Yukihiro Matsumoto <matz@...> 2007/01/31

Hi,

[#10139] Re: [ ruby-Patches-8309 ] add usage of uri.userinfo to open-uri.rb — Sam Roberts <sroberts@...> 2007/01/31

On Thu, Feb 01, 2007 at 01:19:34AM +0900, Yukihiro Matsumoto wrote:

[#10143] Re: [ ruby-Patches-8309 ] add usage of uri.userinfo to open-uri.rb — Yukihiro Matsumoto <matz@...> 2007/02/01

Hi,

Compiling ruby on cygwin-1.3.2

From: borg@...3.net
Date: 2007-01-15 18:49:14 UTC
List: ruby-core #9942
Hello..

This is my first port so.. Thanks for Ruby! Its amazying..
So I want to have it on every platform im working on ;)

Now, back to the subject.

I have problem w/ compiling (actualy using..) Ruby on Cygwin-1.3.2.
I know that problem is cygwin + WinXP specifing since on Win2000
everything works.. (Except bunch of Compilation warnings and one
error).

Now, this happens when im compiling Ruby on cygwin-1.3.2:
# ./miniruby.exe
u:\DEVEL\SRC.OTHER\ruby-1.8.5-p12\miniruby.exe: *** Couldn't
reserve space for cygwin's heap (0x2890000) in child, cygheap,
Win32 error 487
miniruby is needed to prepare some stuff to build main ruby.exe
But.. I just copied ruby.exe from my Win2000 box (exacly same cygwin)
and it doesnt work too.

I dont really know what the hell is going on.. This is my first
error like that.. Im working on cygwin from years.. and compiled
dozens of apps.

So after a while of googling I decided to use different aproach:

Makefile:
------------------------------------------------------------------
CC=gcc

# Cygwin
CFLAGS = -w -O
LFLAGS =
LIBS = -lcrypt

APPN = miniruby

OBJS          = main.o \
                array.o bignum.o class.o compar.o dir.o dmydln.o enum.o \
                error.o eval.o file.o gc.o hash.o inits.o io.o dmyext.o \
                marshal.o math.o numeric.o object.o pack.o parse.o \
                process.o prec.o random.o range.o re.o regex.o \
                ruby.o signal.o sprintf.o st.o string.o struct.o \
                time.o util.o variable.o version.o \
                flock.o

.c.o:
        $(CC) $(CFLAGS) -c $?

all: $(OBJS)
        $(CC) $(LFLAGS) -o $(APPN) $(OBJS) $(LIBS)

clean:
        rm *.o
------------------------------------------------------------------

As you can see.. there is nothing cygwin specific.. I copied all *.c
and *.h files from Ruby root dir and 1 files from missing/
(./configure reported that 2 files needs to be used.. wrong.)
(So BIIIG + For developers.. seems *.c sources are clear as diamond..
no warnings during compilation of that)

After make I get one weird thing.. I never saw sth like that too..
gcc  -o miniruby main.o array.o bignum.o class.o compar.o dir.o dmydln.o
enum.o error.o eval.o file.o gc.o hash.o inits.o io.o dmyext.o marshal.o
math.o numeric.o object.o pack.o parse.o process.o prec.o random.o range.o
re.o regex.o ruby.o signal.o sprintf.o st.o string.o struct.o time.o util.o
variable.o version.o flock.o -lcrypt
Warning: resolving _GetLastError by linking to _GetLastError@0
Use --enable-stdcall-fixup to disable these warnings
Use --disable-stdcall-fixup to disable these fixups

Really odd warning.. but okey.. its just a warning afterall :)

And now.. suprise.. miniruby.exe works fine.. I tested it on one of my
script and vioala.. no problems.

Now qustions.

1) What is the difference between miniruby and ruby itself?
  Maybe I just waste your time guys and miniruby will be enough for me
  ;)

2) If not.. anyone interested in fixing that issue.
  The esiest way I think is to add Makefile.cyg and bypass
  configure. It looks b0rked to me.. adding a lot of crap.
  All stuff I build on cygwin are staticaly linked.. Just to avoid
  problems..
  Or maybe you see different way to fix that?

Best regards,
Borg



In This Thread

Prev Next