Mercurial > hg > octave-lyh > gnulib-hg
changeset 13092:74c620262658
save-cwd: don't leak a file descriptor when the caller execs
* lib/save-cwd.c (save_cwd): set the close-on-exec flag for the
saved file descriptor.
* modules/save-cwd (Depends-on): Depend on cloexec.
author | James Youngman <jay@gnu.org> |
---|---|
date | Mon, 29 Mar 2010 12:30:23 +0200 |
parents | 3af48780d248 |
children | c49b5e91ec30 |
files | ChangeLog lib/save-cwd.c modules/save-cwd |
diffstat | 3 files changed, 10 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2010-03-28 James Youngman <jay@gnu.org> + + save-cwd: don't leak a file descriptor when the caller execs. + * lib/save-cwd.c (save_cwd): set the close-on-exec flag for the + saved file descriptor. + * modules/save-cwd (Depends-on): Depend on cloexec. + 2010-03-29 Bruno Haible <bruno@clisp.org> Remove vestiges of fts-lgpl module.