mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/webrick/cgi.rb (WEBrick::CGI#initialize): should create
@config[:Logger] if it was not given. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
debe0485f0
commit
250cfdc0aa
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Thu Jan 8 04:36:17 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
|
||||||
|
|
||||||
|
* lib/webrick/cgi.rb (WEBrick::CGI#initialize): should create
|
||||||
|
@config[:Logger] if it was not given.
|
||||||
|
|
||||||
Wed Jan 7 22:28:12 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Wed Jan 7 22:28:12 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* dir.c (glob_helper): fix memory leak.
|
* dir.c (glob_helper): fix memory leak.
|
||||||
|
|
|
@ -34,6 +34,7 @@ module WEBrick
|
||||||
if config = args.shift
|
if config = args.shift
|
||||||
@config.update(config)
|
@config.update(config)
|
||||||
end
|
end
|
||||||
|
@config[:Logger] ||= WEBrick::BasicLog.new($stderr)
|
||||||
@logger = @config[:Logger]
|
@logger = @config[:Logger]
|
||||||
@options = args
|
@options = args
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue