This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
839a9f0
)
amigaos4: special post-exec trick needed
author
Andy Broad
<andy@broad.ology.org.uk>
Tue, 25 Aug 2015 23:55:42 +0000
(19:55 -0400)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Sat, 5 Sep 2015 15:12:44 +0000
(11:12 -0400)
doio.c
patch
|
blob
|
blame
|
history
diff --git
a/doio.c
b/doio.c
index
cf76114
..
d8ea076
100644
(file)
--- a/
doio.c
+++ b/
doio.c
@@
-1705,16
+1705,7
@@
Perl_do_exec3(pTHX_ const char *incmd, int fd, int do_report)
PERL_FPU_POST_EXEC
S_exec_failed(aTHX_ PL_sh_path, fd, do_report);
#if defined (__amigaos4__)
- /* We *must* write something to our pipe or else
- * the other end hangs */
- {
- int e = errno;
-
- if (do_report) {
- PerlLIO_write(fd, (void*)&e, sizeof(int));
- PerlLIO_close(fd);
- }
- }
+ amigaos_post_exec(fd, do_report);
#endif
Safefree(buf);
return DO_EXEC_RETVAL(result);