summaryrefslogtreecommitdiff
path: root/libgfortran/runtime
diff options
context:
space:
mode:
authorjb <jb@138bc75d-0d04-0410-961f-82ee72b054a4>2012-01-12 10:30:45 +0000
committerjb <jb@138bc75d-0d04-0410-961f-82ee72b054a4>2012-01-12 10:30:45 +0000
commit3e0111a5340a6a020a2f8b4e4bd139aac2527e1a (patch)
tree47cb331f09ea25bcd83a25532fe8845a8dbb1b6e /libgfortran/runtime
parentad1f158249dac0b2fe34137df691de4eab43aecb (diff)
downloadgcc-3e0111a5340a6a020a2f8b4e4bd139aac2527e1a.tar.gz
Remove configure check for unused fdopen.
2012-01-12 Janne Blomqvist <jb@gcc.gnu.org> * configure.ac: Remove check for fdopen. * runtime/backtrace.c (CAN_PIPE): Fix comment, remove check for fdopen. * configure: Regenerated. * config.h.in: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183124 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran/runtime')
-rw-r--r--libgfortran/runtime/backtrace.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/libgfortran/runtime/backtrace.c b/libgfortran/runtime/backtrace.c
index 5ebd9721130..6bfc560de39 100644
--- a/libgfortran/runtime/backtrace.c
+++ b/libgfortran/runtime/backtrace.c
@@ -40,13 +40,12 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#include "unwind.h"
-/* Macros for common sets of capabilities: can we fork and exec, can
- we use glibc-style backtrace functions, and can we use pipes. */
+/* Macros for common sets of capabilities: can we fork and exec, and
+ can we use pipes to communicate with the subprocess. */
#define CAN_FORK (defined(HAVE_FORK) && defined(HAVE_EXECVE) \
&& defined(HAVE_WAIT))
#define CAN_PIPE (CAN_FORK && defined(HAVE_PIPE) \
- && defined(HAVE_DUP2) && defined(HAVE_FDOPEN) \
- && defined(HAVE_CLOSE))
+ && defined(HAVE_DUP2) && defined(HAVE_CLOSE))
#ifndef PATH_MAX
#define PATH_MAX 4096