[MacRuby] #1125: case insensitive fs require bug
#1125: case insensitive fs require bug -------------------------------------+-------------------------------------- Reporter: mattaimonetti@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: MacRuby 0.9 Component: MacRuby | Keywords: -------------------------------------+-------------------------------------- {{{ $ macruby -e "require 'URI'; require 'net/http'" Assertion failed: (__mrep__ != NULL), function dln_load, file dln.c, line 126. Abort trap }}} {{{ $ macruby -e "require 'uri'; require 'net/http'"
ponies, rainbows and unicorns }}}
{{{ $ macruby -r URI -r uri -e '' Assertion failed: (__mrep__ != NULL), function dln_load, file dln.c, line 126. Abort trap }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/1125> MacRuby <http://macruby.org/>
#1125: case insensitive fs require bug -------------------------------------+-------------------------------------- Reporter: mattaimonetti@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: MacRuby 0.9 Component: MacRuby | Keywords: -------------------------------------+-------------------------------------- Comment(by lsansonetti@…): So, CRuby does not seem to have support for case insensitive file systems. {{{ $ cat t.rb p 42 $ ruby1.9 -r ./t.rb -r ./t.rb -e '' 42 $ ruby1.9 -r ./T.rb -r ./t.rb -e '' 42 42 }}} In our case, I guess an easy fix is just not to crash and raise an exception instead. -- Ticket URL: <http://www.macruby.org/trac/ticket/1125#comment:1> MacRuby <http://macruby.org/>
#1125: case insensitive fs require bug -------------------------------------+-------------------------------------- Reporter: mattaimonetti@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: blocker | Milestone: MacRuby 0.9 Component: MacRuby | Resolution: fixed Keywords: | -------------------------------------+-------------------------------------- Changes (by lsansonetti@…): * status: new => closed * resolution: => fixed Comment: Fixed in r5197. {{{ $ DYLD_LIBRARY_PATH=. ./macruby -e "require 'URI'; require 'net/http'" -e:1:in `<main>': Can't load /Library/Frameworks/MacRuby.framework/Versions/0.9/usr/lib/ruby/1.9.2/uri.rbo: entry point function not located (this can happen when you load twice the same .rbo file with a different case on a case-insensitive filesystem) (LoadError) }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/1125#comment:2> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby