diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-07-06 09:47:08 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-07-06 09:47:08 +0000 |
commit | 253675524b82a4bc99b2901306c16c086116ab1f (patch) | |
tree | d1a1f3477269afcf2712463ea131713c75bf44e1 /object.c | |
parent | 4fcc9a08a9e1413a8cdafb7dcf2b1cc4042d960d (diff) | |
download | ruby-253675524b82a4bc99b2901306c16c086116ab1f.tar.gz ruby-253675524b82a4bc99b2901306c16c086116ab1f.tar.xz ruby-253675524b82a4bc99b2901306c16c086116ab1f.zip |
* object.c (rb_obj_pattern_match): now returns nil.
[ruby-core:05391]
* sample/svr.rb: service can be stopped by ill-behaved client; use
tsvr.rb instead.
* missing/erf.c: original erf.c by prof. Okumura is confirmed to
be public domain. reverted BSD implementation.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'object.c')
-rw-r--r-- | object.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1012,7 +1012,7 @@ rb_false(obj) /* * call-seq: - * obj =~ other => false + * obj =~ other => nil * * Pattern Match---Overridden by descendents (notably * <code>Regexp</code> and <code>String</code>) to provide meaningful @@ -1023,7 +1023,7 @@ static VALUE rb_obj_pattern_match(obj1, obj2) VALUE obj1, obj2; { - return Qfalse; + return Qnil; } /********************************************************************** |