ruby-changes:21683
From: akr <ko1@a...>
Date: Sun, 13 Nov 2011 15:42:00 +0900 (JST)
Subject: [ruby-changes:21683] akr:r33732 (trunk): * ext/dbm/extconf.rb: duplicate $libs and $defs when save them.
akr 2011-11-13 15:41:19 +0900 (Sun, 13 Nov 2011) New Revision: 33732 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=33732 Log: * ext/dbm/extconf.rb: duplicate $libs and $defs when save them. Modified files: trunk/ChangeLog trunk/ext/dbm/extconf.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 33731) +++ ChangeLog (revision 33732) @@ -1,3 +1,7 @@ +Sun Nov 13 15:40:43 2011 Tanaka Akira <akr@f...> + + * ext/dbm/extconf.rb: duplicate $libs and $defs when save them. + Sun Nov 13 12:43:48 2011 Tanaka Akira <akr@f...> * ext/dbm/extconf.rb: rollback $libs and $defs when db detection is Index: ext/dbm/extconf.rb =================================================================== --- ext/dbm/extconf.rb (revision 33731) +++ ext/dbm/extconf.rb (revision 33732) @@ -29,8 +29,8 @@ headers.defs = nil def headers.db_check(db) - old_libs = $libs - old_defs = $defs + old_libs = $libs.dup + old_defs = $defs.dup result = db_check2(db) if !result $libs = old_libs -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/