aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/runtime/backtrace.c
diff options
context:
space:
mode:
authorJanne Blomqvist <jb@gcc.gnu.org>2012-01-12 12:30:45 +0200
committerJanne Blomqvist <jb@gcc.gnu.org>2012-01-12 12:30:45 +0200
commit869eea243d175a1c6b6ac152795c28ae986512d3 (patch)
tree47cb331f09ea25bcd83a25532fe8845a8dbb1b6e /libgfortran/runtime/backtrace.c
parent64668e68cb46902b722d05747b39cf963ea5e9cd (diff)
downloadgcc-869eea243d175a1c6b6ac152795c28ae986512d3.zip
gcc-869eea243d175a1c6b6ac152795c28ae986512d3.tar.gz
gcc-869eea243d175a1c6b6ac152795c28ae986512d3.tar.bz2
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. From-SVN: r183124
Diffstat (limited to 'libgfortran/runtime/backtrace.c')
-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 5ebd972..6bfc560 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