diff options
Diffstat (limited to 'ext/gdbm')
-rw-r--r-- | ext/gdbm/gdbm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/gdbm/gdbm.c b/ext/gdbm/gdbm.c index 00fbac93d7..328feef0e9 100644 --- a/ext/gdbm/gdbm.c +++ b/ext/gdbm/gdbm.c @@ -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; } |