about summary refs log tree commit diff
path: root/posix/spawn_faction_destroy.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2018-12-07 15:00:04 +0100
committerFlorian Weimer <fweimer@redhat.com>2018-12-07 16:04:05 +0100
commit3a3fb7557274108ea3dc5ac62333c808a6c171db (patch)
treed021946546bdbbc80dedbf47dc608375cc7092a5 /posix/spawn_faction_destroy.c
parentc37cd4398a684010b39e0c09f1132757e11edbf1 (diff)
downloadglibc-3a3fb7557274108ea3dc5ac62333c808a6c171db.tar.gz
glibc-3a3fb7557274108ea3dc5ac62333c808a6c171db.tar.xz
glibc-3a3fb7557274108ea3dc5ac62333c808a6c171db.zip
posix: New function posix_spawn_file_actions_addfchdir_np [BZ #17405]
Along with posix_spawn_file_actions_addchdir,
posix_spawn_file_actions_addfchdir is the subject of a change proposal
for POSIX: <http://austingroupbugs.net/view.php?id=1208>
Diffstat (limited to 'posix/spawn_faction_destroy.c')
-rw-r--r--posix/spawn_faction_destroy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/posix/spawn_faction_destroy.c b/posix/spawn_faction_destroy.c
index 05ca9dc13b..da172a894e 100644
--- a/posix/spawn_faction_destroy.c
+++ b/posix/spawn_faction_destroy.c
@@ -38,6 +38,7 @@ __posix_spawn_file_actions_destroy (posix_spawn_file_actions_t *file_actions)
 	  break;
 	case spawn_do_close:
 	case spawn_do_dup2:
+	case spawn_do_fchdir:
 	  /* No cleanup required.  */
 	  break;
 	}