diff options
author | Christopher Faylor <me@cgf.cx> | 2003-07-06 23:24:13 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2003-07-06 23:24:13 +0000 |
commit | 88a628163ee00baa8726be5fba04bcc76b5e1841 (patch) | |
tree | 8510d8b2442e83666e82aec5673ffce1ec3abcb3 /winsup/cygwin/pinfo.cc | |
parent | f346ea770ffabd4cc6bc6d67f50199d60ca791f2 (diff) | |
download | cygnal-88a628163ee00baa8726be5fba04bcc76b5e1841.tar.gz cygnal-88a628163ee00baa8726be5fba04bcc76b5e1841.tar.bz2 cygnal-88a628163ee00baa8726be5fba04bcc76b5e1841.zip |
* newsym: Use correct prefix for generating imports.
* pinfo.cc (_pinfo::commune_send): Don't wait forever for a response from
another process.
Diffstat (limited to 'winsup/cygwin/pinfo.cc')
-rw-r--r-- | winsup/cygwin/pinfo.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/pinfo.cc b/winsup/cygwin/pinfo.cc index 625f0224f..8899defb3 100644 --- a/winsup/cygwin/pinfo.cc +++ b/winsup/cygwin/pinfo.cc @@ -363,7 +363,7 @@ _pinfo::commune_send (DWORD code) /* FIXME: Need something better than an busy loop here */ bool isalive; - while ((isalive = alive ())) + for (int i = 0; (isalive = alive ()) || (i < 65536); i++) if (myself->hello_pid <= 0) break; else |