search for: qundef

Displaying 2 results from an estimated 2 matches for "qundef".

Did you mean: undef
2006 May 02
1
Converting rb_protect + ruby_stop to pure Ruby
Hi, Within process.c, in the fork method, there''s this bit of code: if(rb_block_given_p()){ int status; rb_protect(rb_yield, Qundef, &status); ruby_stop(status); } I translated that as this: if block_given? status = 0 begin yield rescue Exception status = -1 # Any non-zero result is failure end exit(status) end Is there a way to get the actual status? The $? global isn''t se...
2006 Apr 20
1
ruby-ldap crashing WEBrick server
...] INFO ruby 1.8.4 (2005-12-24) [sparc-solaris2.8] [2006-04-20 14:38:15] INFO WEBrick::HTTPServer#start: pid=1290 port=3000 Abort (core dumped) lines 247-257 of error.c (line 257 is blank): void rb_check_type(x, t) VALUE x; int t; { struct types *type = builtin_types; if (x == Qundef) { rb_bug("undef leaked to the Ruby space"); } Any ideas? Thanks, Jeff -- Posted via http://www.ruby-forum.com/.