This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Ada] g-expect improvement


On Windows only it is required to keep a copy of the original
standard handles (stdin, stdout, stderr) as we need to restore
them after calling the child process.

Not doing this on UNIX will also ensure that e.g. no copies of locked
file descriptors are kept.

Tested on x86_64-pc-linux-gnu, committed on trunk

2009-07-28  Pascal Obry  <obry@adacore.com>

	* g-expect.adb: Record standard handles only on Windows.

Attachment: difs
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]