зеркало из https://github.com/github/ruby.git
* ext/dbm/extconf.rb: rollback $libs and $defs when db detection is
failed. It fixes -lgdbm -lqdbm when the system has qdbm and gdbm without gdbm_compat. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
d3fc4ae7cb
Коммит
2b2ef5cfce
|
@ -1,3 +1,9 @@
|
|||
Sun Nov 13 12:43:48 2011 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* ext/dbm/extconf.rb: rollback $libs and $defs when db detection is
|
||||
failed. It fixes -lgdbm -lqdbm when the system has qdbm and gdbm
|
||||
without gdbm_compat.
|
||||
|
||||
Sat Nov 12 21:14:51 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||
|
||||
* test/webrick/test_cgi.rb (class TestWEBrickCGI): respect
|
||||
|
|
|
@ -29,6 +29,17 @@ headers.found = []
|
|||
headers.defs = nil
|
||||
|
||||
def headers.db_check(db)
|
||||
old_libs = $libs
|
||||
old_defs = $defs
|
||||
result = db_check2(db)
|
||||
if !result
|
||||
$libs = old_libs
|
||||
$defs = old_defs
|
||||
end
|
||||
result
|
||||
end
|
||||
|
||||
def headers.db_check2(db)
|
||||
hsearch = nil
|
||||
|
||||
case db
|
||||
|
|
Загрузка…
Ссылка в новой задаче