[#4745] Win32: Ruby & APR; build problems for Ruby Subversion SWIG bindings — Erik Huelsmann <ehuels@...>

Having taken upon me the task to provide a Windows build for

24 messages 2005/04/20
[#4746] Re: Win32: Ruby & APR; build problems for Ruby Subversion SWIG bindings — Austin Ziegler <halostatue@...> 2005/04/20

On 4/20/05, Erik Huelsmann <ehuels@gmail.com> wrote:

[#4747] Re: Win32: Ruby & APR; build problems for Ruby Subversion SWIG bindings — Erik Huelsmann <ehuels@...> 2005/04/20

Hi Austin,

[#4762] Re: Win32: Ruby & APR; build problems for Ruby Subversion SWIG bindings — nobu.nokada@... 2005/04/24

Hi,

[#4783] Re: Win32: Ruby & APR; build problems for Ruby Subversion SWIG bindings — Erik Huelsmann <ehuels@...> 2005/04/25

On 4/24/05, nobu.nokada@softhome.net <nobu.nokada@softhome.net> wrote:

[#4787] Re: Win32: Ruby & APR; build problems for Ruby Subversion SWIG bindings — nobu.nokada@... 2005/04/25

Hi,

[#4794] Re: Win32: Ruby & APR; build problems for Ruby Subversion SWIG bindings — Erik Huelsmann <ehuels@...> 2005/04/25

> > > Ruby is just using AC_TYPE_UID_T. So, using typedef for them,

[#4751] Illegal regexp causes segfault — Andrew Walrond <andrew@...>

irb(main):058:0> a = /\[([^]]*)\]/

13 messages 2005/04/22

Re: profiler.rb Schroedinbug

From: "H.Yamamoto" <ocean@...2.ccsnet.ne.jp>
Date: 2005-04-25 04:36:20 UTC
List: ruby-core #4778
>Neither irb nor ruby -rprofile cause the bug for me.  It happens when
>I simply make a blank file with require 'profile' in it, then run ruby
>thefile.rb.
>
>C:\Documents and Settings\User\Desktop>echo require 'profile' > test.rb
>
>C:\Documents and Settings\User\Desktop>ruby test.rb
>  %   cumulative   self              self     total
> time   seconds   seconds    calls  ms/call  ms/call  name
>3700.00     0.37      0.37        1   370.00   370.00  Profiler__.start_profile
>  0.00     0.37      0.00        1     0.00    10.00  #toplevel
>  0.00     0.37      0.00        1     0.00   370.00  Kernel.require
>c:/ruby/lib/ruby/1.8/profiler.rb:30: undefined method `[]' for
>nil:NilClass (NoMethodError)
>        from c:/ruby/lib/ruby/1.8/profiler.rb:5:in `require'
>        from test.rb:1:in `require'
>        from test.rb:1

Strange. I works for me ...

E:\temp\bin>echo require 'profile' > test.rb

E:\temp\bin>ruby test.rb
  %   cumulative   self              self     total
 time   seconds   seconds    calls  ms/call  ms/call  name
500.00     0.05      0.05        1    50.00    50.00  Profiler__.start_profile
  0.00     0.05      0.00        1     0.00    10.00  #toplevel

E:\temp\bin>ruby -v
ruby 1.8.2 (2005-04-25) [i386-mswin32]

///////////

E:\ruby-cvs\bcc32>echo require 'profile' > test.rb

E:\ruby-cvs\bcc32>ruby19 -v test.rb
ruby 1.9.0 (2005-04-23) [i386-bccwin32]
  %   cumulative   self              self     total
 time   seconds   seconds    calls  ms/call  ms/call  name
400.00     0.04      0.04        1    40.00    40.00  Profiler__.start_profile
  0.00     0.04      0.00        1     0.00    10.00  #toplevel

/////////////

I noticed

  0.00     0.37      0.00        1     0.00   370.00  Kernel.require

line wasn't included in my result. Maybe your ruby is older than mine.
Can you show us your ruby's version?


In This Thread