[MacRuby] #667: File.join not working with NSStrings
#667: File.join not working with NSStrings -----------------------------+---------------------------------------------- Reporter: tvmoore@… | Owner: lsansonetti@… Type: defect | Status: new Priority: minor | Milestone: MacRuby 0.6 Component: MacRuby | Keywords: -----------------------------+---------------------------------------------- macirb x = NSString.stringWithString("test") File.join("terry",x) gives Abort trap xcode Project is getting a String from prefs = NSUserDefaults.standardUserDefaults @target_path = prefs.stringForKey(:path) File.join("/Volumes",@target_path) Program received signal: “EXC_BAD_ACCESS”. rb_file_join rb_str_get_uchar -- Ticket URL: <http://www.macruby.org/trac/ticket/667> MacRuby <http://macruby.org/>
#667: File.join not working with NSStrings -----------------------------+---------------------------------------------- Reporter: tvmoore@… | Owner: lsansonetti@… Type: defect | Status: new Priority: minor | Milestone: MacRuby 0.6 Component: MacRuby | Keywords: -----------------------------+---------------------------------------------- Description changed by martinlagardette@…: Old description:
macirb
x = NSString.stringWithString("test") File.join("terry",x)
gives Abort trap
xcode Project is getting a String from
prefs = NSUserDefaults.standardUserDefaults @target_path = prefs.stringForKey(:path)
File.join("/Volumes",@target_path)
Program received signal: “EXC_BAD_ACCESS”.
rb_file_join rb_str_get_uchar
New description: {{{ $> macirb x = NSString.stringWithString("test") File.join("terry",x) }}} gives Abort trap xcode Project is getting a String from {{{ prefs = NSUserDefaults.standardUserDefaults @target_path = prefs.stringForKey(:path) File.join("/Volumes",@target_path) }}} Program received signal: “EXC_BAD_ACCESS”. rb_file_join rb_str_get_uchar -- -- Ticket URL: <http://www.macruby.org/trac/ticket/667#comment:1> MacRuby <http://macruby.org/>
#667: File.join not working with NSStrings -----------------------------+---------------------------------------------- Reporter: tvmoore@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: minor | Milestone: MacRuby 0.6 Component: MacRuby | Resolution: fixed Keywords: | -----------------------------+---------------------------------------------- Changes (by lsansonetti@…): * status: new => closed * resolution: => fixed Comment: Should be fixed in r r3968. -- Ticket URL: <http://www.macruby.org/trac/ticket/667#comment:2> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby