public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-1894] [Ada] Remove a special case for forking-for-expect from ordinary spawn
@ 2021-06-29 14:26 Pierre-Marie de Rodat
0 siblings, 0 replies; only message in thread
From: Pierre-Marie de Rodat @ 2021-06-29 14:26 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:8d1427a932f241891f054e55c5d3710ef7d0f303
commit r12-1894-g8d1427a932f241891f054e55c5d3710ef7d0f303
Author: Piotr Trojanek <trojanek@adacore.com>
Date: Thu Apr 15 14:17:48 2021 +0200
[Ada] Remove a special case for forking-for-expect from ordinary spawn
gcc/ada/
* adaint.c (__gnat_portable_spawn): Revert change that
introduced setting of __gnat_in_child_after_fork.
Diff:
---
gcc/ada/adaint.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/gcc/ada/adaint.c b/gcc/ada/adaint.c
index 77703006a4d..b2d4de6bf65 100644
--- 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);
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-06-29 14:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-29 14:26 [gcc r12-1894] [Ada] Remove a special case for forking-for-expect from ordinary spawn Pierre-Marie de Rodat
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).