diff options
author | Tobias Burnus <burnus@net-b.de> | 2013-03-11 19:55:18 +0100 |
---|---|---|
committer | Tobias Burnus <burnus@gcc.gnu.org> | 2013-03-11 19:55:18 +0100 |
commit | 43b594b4c21ef51f56f95e29f4187db2a5841e9c (patch) | |
tree | c9d8fbc071b373386a30bfa36260a856ead02e93 /libgfortran/intrinsics/execute_command_line.c | |
parent | 87f56a65e85ff100e1a813c2bd9c22df615013cd (diff) | |
download | gcc-43b594b4c21ef51f56f95e29f4187db2a5841e9c.zip gcc-43b594b4c21ef51f56f95e29f4187db2a5841e9c.tar.gz gcc-43b594b4c21ef51f56f95e29f4187db2a5841e9c.tar.bz2 |
transfer.c (read_block_direct): Correct condition.
2013-03-11 Tobias Burnus <burnus@net-b.de>
* io/transfer.c (read_block_direct): Correct condition.
* intrinsics/execute_command_line.c (execute_command_line):
Remove dead code for the HAVE_FORK case.
From-SVN: r196603
Diffstat (limited to 'libgfortran/intrinsics/execute_command_line.c')
-rw-r--r-- | libgfortran/intrinsics/execute_command_line.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libgfortran/intrinsics/execute_command_line.c b/libgfortran/intrinsics/execute_command_line.c index d0f812d..fa6ea9f 100644 --- a/libgfortran/intrinsics/execute_command_line.c +++ b/libgfortran/intrinsics/execute_command_line.c @@ -94,8 +94,10 @@ execute_command_line (const char *command, bool wait, int *exitstat, if (res == -1) set_cmdstat (cmdstat, EXEC_SYSTEMFAILED); +#ifndef HAVE_FORK else if (!wait) set_cmdstat (cmdstat, EXEC_SYNCHRONOUS); +#endif else set_cmdstat (cmdstat, EXEC_NOERROR); |