зеркало из https://github.com/github/ruby.git
* ext/gdbm/gdbm.c (fgdbm_reorganize): set close-on-exec flag after
gdbm_reorganize(). gdbm_reorganize() opens a new database internally. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
abe61eb0d1
Коммит
4b01d611db
|
@ -1,3 +1,8 @@
|
|||
Sun Nov 13 23:21:24 2011 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* ext/gdbm/gdbm.c (fgdbm_reorganize): set close-on-exec flag after
|
||||
gdbm_reorganize(). gdbm_reorganize() opens a new database internally.
|
||||
|
||||
Sun Nov 13 19:57:18 2011 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* ext/dbm/extconf.rb: rollback for each headers for each libraries.
|
||||
|
|
|
@ -1052,6 +1052,7 @@ fgdbm_reorganize(VALUE obj)
|
|||
rb_gdbm_modify(obj);
|
||||
GetDBM2(obj, dbmp, dbm);
|
||||
gdbm_reorganize(dbm);
|
||||
rb_fd_fix_cloexec(gdbm_fdesc(dbm));
|
||||
return obj;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче