From ce329b4aa3f9e9b5ad0e2417c14d90332aeeef8e Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Thu, 26 Jan 2012 18:11:47 +0100 Subject: [PATCH] posix_spawn_file_actions_addopen: Fix 2012-01-08 commit. * m4/posix_spawn.m4 (gl_FUNC_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN): In the test program, include , for O_RDONLY. --- ChangeLog | 6 ++++++ m4/posix_spawn.m4 | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index a1c8a293a..485e7d422 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2012-01-26 Bruno Haible + + posix_spawn_file_actions_addopen: Fix 2012-01-08 commit. + * m4/posix_spawn.m4 (gl_FUNC_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN): + In the test program, include , for O_RDONLY. + 2012-01-26 Eric Blake pipe2: document lack of thread-safety in replacement diff --git a/m4/posix_spawn.m4 b/m4/posix_spawn.m4 index 4fad17fcc..57928ebca 100644 --- a/m4/posix_spawn.m4 +++ b/m4/posix_spawn.m4 @@ -1,4 +1,4 @@ -# posix_spawn.m4 serial 10 +# posix_spawn.m4 serial 11 dnl Copyright (C) 2008-2012 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -499,6 +499,7 @@ AC_DEFUN([gl_FUNC_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN], [AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include +#include int main () { posix_spawn_file_actions_t actions; -- 2.11.0