projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7935432
)
[Ada] Remove a special case for forking-for-expect from ordinary spawn
author
Piotr Trojanek
<trojanek@adacore.com>
Thu, 15 Apr 2021 12:17:48 +0000
(14:17 +0200)
committer
Pierre-Marie de Rodat
<derodat@adacore.com>
Tue, 29 Jun 2021 14:23:48 +0000
(14:23 +0000)
gcc/ada/
* adaint.c (__gnat_portable_spawn): Revert change that
introduced setting of __gnat_in_child_after_fork.
gcc/ada/adaint.c
patch
|
blob
|
history
diff --git
a/gcc/ada/adaint.c
b/gcc/ada/adaint.c
index
7770300
..
b2d4de6
100644
(file)
--- a/
gcc/ada/adaint.c
+++ b/
gcc/ada/adaint.c
@@
-2423,7
+2423,6
@@
__gnat_portable_spawn (char *args[] ATTRIBUTE_UNUSED)
if (pid == 0)
{
/* The child. */
- __gnat_in_child_after_fork = 1;
if (execv (args[0], MAYBE_TO_PTR32 (args)) != 0)
_exit (1);
}