[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: posix_spawn_file_actions_addclose on Solaris 11
From: |
Bruno Haible |
Subject: |
Re: posix_spawn_file_actions_addclose on Solaris 11 |
Date: |
Thu, 26 Jan 2012 18:13:28 +0100 |
User-agent: |
KMail/4.7.4 (Linux/3.1.0-1.2-desktop; KDE/4.7.4; x86_64; ; ) |
While fixing this test failure on Solaris 11:
>
> test-posix_spawn_file_actions_addopen.c:49: assertion failed
> FAIL: test-posix_spawn_file_actions_addopen
I introduced this configure message on a glibc system:
checking whether posix_spawn_file_actions_addopen works... no
This fixes it.
2012-01-26 Bruno Haible <address@hidden>
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 <fcntl.h>, for O_RDONLY.
--- m4/posix_spawn.m4.orig Thu Jan 26 18:08:43 2012
+++ m4/posix_spawn.m4 Thu Jan 26 16:17:38 2012
@@ -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_RUN_IFELSE(
[AC_LANG_SOURCE([[
#include <spawn.h>
+#include <fcntl.h>
int main ()
{
posix_spawn_file_actions_t actions;