diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-02-23 13:52:19 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-02-23 13:52:19 +0000 |
| commit | f7c9560d8ce020a828d1d8501dc5e158c146b412 (patch) | |
| tree | 71ef957dd9c0248a5d9d35ebc7481e5ec8163d95 /lib | |
| parent | f4436d968069dd10e5773d6747d79e160f1b3d19 (diff) | |
| download | ruby-f7c9560d8ce020a828d1d8501dc5e158c146b412.tar.gz ruby-f7c9560d8ce020a828d1d8501dc5e158c146b412.tar.xz ruby-f7c9560d8ce020a828d1d8501dc5e158c146b412.zip | |
* array.c (rb_ary_s_create): no need for negative argc check.
[ruby-core:04463]
* array.c (rb_ary_unshift_m): ditto.
* lib/xmlrpc/parser.rb (XMLRPC::FaultException): make it subclass
of StandardError class, not Exception class. [ruby-core:04429]
* lib/open3.rb (Open3::popen3): $? should not be EXIT_FAILURE.
fixed: [ruby-core:04444]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/open3.rb | 2 | ||||
| -rw-r--r-- | lib/xmlrpc/parser.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/open3.rb b/lib/open3.rb index 407cd7662..59db1a4cc 100644 --- a/lib/open3.rb +++ b/lib/open3.rb @@ -35,7 +35,7 @@ module Open3 exec(*cmd) } - exit! + exit!(0) } pw[0].close diff --git a/lib/xmlrpc/parser.rb b/lib/xmlrpc/parser.rb index da214ba1c..49b99b295 100644 --- a/lib/xmlrpc/parser.rb +++ b/lib/xmlrpc/parser.rb @@ -51,7 +51,7 @@ end # module NQXML module XMLRPC - class FaultException < Exception + class FaultException < StandardError attr_reader :faultCode, :faultString def initialize(faultCode, faultString) |
