diff options
author | monty@mashka.mysql.fi <> | 2003-02-04 21:52:14 +0200 |
---|---|---|
committer | monty@mashka.mysql.fi <> | 2003-02-04 21:52:14 +0200 |
commit | 023d6dd39b9068ab8096c5ec60ab82bd10dbcee2 (patch) | |
tree | bad5f8dd7f020cc76a4c5e0f19bd130e3fb4a735 /bdb | |
parent | 6a32ae735541b4780a209e883430ded343115792 (diff) | |
parent | 5ce0cd16b8b9fa05c781ac6ff4687133ed145d84 (diff) | |
download | mariadb-git-023d6dd39b9068ab8096c5ec60ab82bd10dbcee2.tar.gz |
Merge with 4.0.11
Diffstat (limited to 'bdb')
-rw-r--r-- | bdb/os/os_handle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bdb/os/os_handle.c b/bdb/os/os_handle.c index 19a337f7d22..5f617085e5d 100644 --- a/bdb/os/os_handle.c +++ b/bdb/os/os_handle.c @@ -132,7 +132,7 @@ __os_openhandle(dbenv, name, flags, mode, fhp) } else { #if defined(HAVE_FCNTL_F_SETFD) /* Deny file descriptor access to any child process. */ - if (fcntl(fhp->fd, F_SETFD, 1) == -1) { + if (fcntl(fhp->fd, F_SETFD, FD_CLOEXEC) == -1) { ret = __os_get_errno(); __db_err(dbenv, "fcntl(F_SETFD): %s", strerror(ret)); |