Apply the patch submitted by Joe Keane <jgk@jgk.org> to PR_Poll so that we use a struct pollfd array allocated on the stack when caller's poll descriptor array can fit in it.  This avoids the cost of a malloc and a free call when the poll descriptor arrays are small.
Apply the patch submitted by Joe Keane <jgk@jgk.org> to PR_Poll
so that we use a struct pollfd array allocated on the stack
when caller's poll descriptor array can fit in it.  This avoids
the cost of a malloc and a free call when the poll descriptor
arrays are small.

makotokato/nsprpub,makotokato/nsprpub,makotokato/nsprpub,makotokato/nsprpub,makotokato/nsprpub