diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-07-28 08:21:57 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-07-28 08:21:57 +0000 |
commit | b2738a24942ace51f50c6f1257225c9845677906 (patch) | |
tree | a090d3564524b89c37339b0bc298736b3fce2272 /gcc/ada/g-expect.adb | |
parent | ddf7bad06432a70e5ad31bc9af074b655c2ad0b0 (diff) | |
download | gcc-b2738a24942ace51f50c6f1257225c9845677906.tar.gz |
2009-07-28 Robert Dewar <dewar@adacore.com>
* prj-nmsc.adb, g-expect.adb, prj.ads: Minor reformatting
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150148 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/g-expect.adb')
-rw-r--r-- | gcc/ada/g-expect.adb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/ada/g-expect.adb b/gcc/ada/g-expect.adb index 5f88f63f076..02bc6cf8a79 100644 --- a/gcc/ada/g-expect.adb +++ b/gcc/ada/g-expect.adb @@ -1196,6 +1196,7 @@ package body GNAT.Expect is pragma Warnings (Off, Pipe3); On_Windows : constant Boolean := Directory_Separator = '\'; + -- This is ugly, we need a better way of doing this test ??? Input : File_Descriptor; Output : File_Descriptor; @@ -1203,8 +1204,10 @@ package body GNAT.Expect is begin if On_Windows then + -- Since Windows does not have a separate fork/exec, we need to -- perform the following actions: + -- - save stdin, stdout, stderr -- - replace them by our pipes -- - create the child with process handle inheritance |