aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/g-expect.adb
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2014-07-29 15:34:35 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2014-07-29 15:34:35 +0200
commitb973629e6111e77faa512754a4e4738a0c75ee83 (patch)
tree840d941918f91a26ae42475dc3dec94e441d2a08 /gcc/ada/g-expect.adb
parenta7737c19cff44e5d8cb0863e6ff514bbf0999ad5 (diff)
downloadgcc-b973629e6111e77faa512754a4e4738a0c75ee83.zip
gcc-b973629e6111e77faa512754a4e4738a0c75ee83.tar.gz
gcc-b973629e6111e77faa512754a4e4738a0c75ee83.tar.bz2
[multiple changes]
2014-07-29 Robert Dewar <dewar@adacore.com> * exp_dbug.adb, g-expect.adb, sem_elab.adb: Minor typo fix. 2014-07-29 Ed Schonberg <schonberg@adacore.com> * sem_ch6.adb (Analyze_Return_Type): Reject a return type that is a limited view when the context is a package body, because there is no subsequent place at which the non-limited view may become visible. (Process_Formals): Ditto. * sinfo.ads, par-ch3.adb: Minor reformatting. From-SVN: r213178
Diffstat (limited to 'gcc/ada/g-expect.adb')
-rw-r--r--gcc/ada/g-expect.adb7
1 files changed, 3 insertions, 4 deletions
diff --git a/gcc/ada/g-expect.adb b/gcc/ada/g-expect.adb
index 94f80e9..af2f0dc 100644
--- a/gcc/ada/g-expect.adb
+++ b/gcc/ada/g-expect.adb
@@ -110,10 +110,9 @@ package body GNAT.Expect is
Dead_Process : access Integer;
Is_Set : System.Address) return Integer;
pragma Import (C, Poll, "__gnat_expect_poll");
- -- Check whether there is any data waiting on the file descriptors
- -- Fds, and wait if there is none, at most Timeout milliseconds
- -- Returns -1 in case of error, 0 if the timeout expired before
- -- data became available.
+ -- Check whether there is any data waiting on the file descriptors Fds, and
+ -- wait if there is none, at most Timeout milliseconds Returns -1 in case
+ -- of error, 0 if the timeout expired before data became available.
--
-- Is_Set is an array of the same size as FDs and elements are set to 1 if
-- data is available for the corresponding File Descriptor, 0 otherwise.