diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-09-05 06:53:33 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-09-05 06:53:33 +0000 |
commit | 0986c829261354e77f6764317dee6e2b1ef771c6 (patch) | |
tree | ad5c28bc685e9a87c235e283f5d098e825bba287 /lib | |
parent | dabb7728c66c36620ea10dc399dd16bff2240e23 (diff) |
* ruby.c (proc_options): should not adjust argc/argv if -e option
is supplied.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/resolv.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/resolv.rb b/lib/resolv.rb index 16cf4b5c88..68b41c65bf 100644 --- a/lib/resolv.rb +++ b/lib/resolv.rb @@ -48,6 +48,7 @@ class Resolv def initialize(filename = DefaultFileName) @filename = filename @mutex = Mutex.new + @initialized = nil end def lazy_initialize @@ -106,6 +107,7 @@ class Resolv def initialize(config="/etc/resolv.conf") @mutex = Mutex.new @config = Config.new(config) + @initialized = nil end def lazy_initialize @@ -157,7 +159,7 @@ class Resolv end sender.send reply = reply_name = nil - timeout (tout) { reply, reply_name = q.pop } + timeout(tout) { reply, reply_name = q.pop } case reply.rcode when RCode::NoError return extract_resource(reply, reply_name, typeclass) @@ -385,6 +387,7 @@ class Resolv def initialize(filename="/etc/resolv.conf") @mutex = Mutex.new @filename = filename + @initialized = nil end def lazy_initialize |