Mercurial > ecos
diff packages/io/fileio/current/src/select.cxx @ 1864:6c587ae20117
* src/select.cxx (cyg_pselect): We need the oldmask under all
conditions.
| author | asl |
|---|---|
| date | Wed, 15 Dec 2004 14:56:09 +0000 |
| parents | abab6e075ce3 |
| children | 7a7813d1e957 |
line wrap: on
line diff
--- a/packages/io/fileio/current/src/select.cxx +++ b/packages/io/fileio/current/src/select.cxx @@ -156,9 +156,8 @@ cyg_pselect(int nfd, fd_set *in, fd_set cyg_tick_count ticks; int mode_type[] = {CYG_FREAD, CYG_FWRITE, 0}; cyg_uint32 wake_count; -#ifdef CYGPKG_POSIX sigset_t oldmask; -#endif + Cyg_FlagValue myFlag = SELECT_WAIT_FLAG_GET (); int maxFdIndex = __howmany(nfd, __NFDBITS); // size of fd sets
