/* pp_sys.c
*
- * Copyright (c) 1991-1997, Larry Wall
+ * Copyright (c) 1991-1999, Larry Wall
*
* You may distribute under the terms of either the GNU General Public
* License or the Artistic License, as specified in the README file.
/* If SELECT_MIN_BITS is greater than one we most probably will want
* to align the sizes with SELECT_MIN_BITS/8 because for example
* in many little-endian (Intel, Alpha) systems (Linux, OS/2, Digital
- * UNIX, Solaris, NeXT) the smallest quantum select() operates on
- * (sets bit) is 32 bits. */
+ * UNIX, Solaris, NeXT, Rhapsody) the smallest quantum select() operates
+ * on (sets/tests/clears bits) is 32 bits. */
growsize = maxlen + (SELECT_MIN_BITS/8 - (maxlen % (SELECT_MIN_BITS/8)));
# else
growsize = sizeof(fd_set);
}
if (newdefout) {
- if (!GvIO(newdefout)) {
- if (ckWARN(WARN_UNOPENED))
- warner(WARN_UNOPENED, "select() on unopened file");
- if (SvTYPE(newdefout) != SVt_PVGV)
- RETURN;
- gv_IOadd(newdefout); /* XXX probably bogus */
- }
+ if (!GvIO(newdefout))
+ gv_IOadd(newdefout);
setdefout(newdefout);
}