shadowed by a local variable by the same name. Rewrote the code to
make it more clear. Thanks to Kathy Brade <brade@netscape.com> for
reporting this bug.
git-svn-id: svn://10.0.0.236/trunk@17369 18797224-902f-48f8-a5cc-f745e15eee43
says this function is provided only for compatibility with the DCE
threads and should not be used when writing new applications.
git-svn-id: svn://10.0.0.236/trunk@17287 18797224-902f-48f8-a5cc-f745e15eee43
Thanks to "Adam Lock" <locka@iol.ie> for suggestions.
Thanks to Rick Potts for suggestions and critique of the design.
git-svn-id: svn://10.0.0.236/trunk@17124 18797224-902f-48f8-a5cc-f745e15eee43
(Thanks to Brian Ostrom <briano@netscape.com>.)
Modified files: IRIX.mk and irix.c.
git-svn-id: svn://10.0.0.236/trunk@16500 18797224-902f-48f8-a5cc-f745e15eee43
Also, always define the data types PRWord and PRUword but
warn people not to use these two undocumented types in new code.
git-svn-id: svn://10.0.0.236/trunk@16498 18797224-902f-48f8-a5cc-f745e15eee43
so that in the child process we know whether it is a file, TCP socket,
or UDP socket.
git-svn-id: svn://10.0.0.236/trunk@16222 18797224-902f-48f8-a5cc-f745e15eee43
under DCE threads because DCE threads' pthread_detach does not reclaim
the terminated thread's resources.
git-svn-id: svn://10.0.0.236/trunk@16178 18797224-902f-48f8-a5cc-f745e15eee43
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.
git-svn-id: svn://10.0.0.236/trunk@15895 18797224-902f-48f8-a5cc-f745e15eee43
fsRdPerm. Thanks to John McMullen <mcmullen@netscape.com> for
reporting this problem.
git-svn-id: svn://10.0.0.236/trunk@15827 18797224-902f-48f8-a5cc-f745e15eee43
uses midnight 1 Jan 1900 as the epoch. So we need to adjust its
return value to the NSPR epoch. Thanks to Brendan Eich and Chris
Yeh for this fix.
git-svn-id: svn://10.0.0.236/trunk@15607 18797224-902f-48f8-a5cc-f745e15eee43
to make sure we are right shifting a signed integer (in case
someone passes in an unsigned).
git-svn-id: svn://10.0.0.236/trunk@15596 18797224-902f-48f8-a5cc-f745e15eee43
the sa_len field on NEXTSTEP/OPENSTEP. Thanks to Balazs Pataki for
<pataki@ovid.aszi.sztaki.hu> for confirming this.
git-svn-id: svn://10.0.0.236/trunk@15554 18797224-902f-48f8-a5cc-f745e15eee43
if we are using our emulated poll(). This patch is contributed by
Jeremy Lea <reg@shale.csir.co.za>.
git-svn-id: svn://10.0.0.236/trunk@15512 18797224-902f-48f8-a5cc-f745e15eee43
poll(). The poll() in libc is not thread-safe, so we can't use
it with pthreads. This patch is contributed by Jeremy Lea
<reg@shale.csir.co.za>.
git-svn-id: svn://10.0.0.236/trunk@15511 18797224-902f-48f8-a5cc-f745e15eee43
glibc 2.0.7 on Debian 2.0 Linux doesn't have __syscall_poll defined.
This problem was reported by Adam Sulmicki <adam@cfar.umd.edu>.
git-svn-id: svn://10.0.0.236/trunk@15489 18797224-902f-48f8-a5cc-f745e15eee43
NSGetSharedLibrary. Thanks to Patrick Beard <beard@netscape.com>
for the bug report.
git-svn-id: svn://10.0.0.236/trunk@15322 18797224-902f-48f8-a5cc-f745e15eee43
macro is defined internally.
In _freebsd.h, include poll.h if poll is available.
Thanks to Jeremy Lea <reg@shale.csir.co.za> for suggesting the patches.
git-svn-id: svn://10.0.0.236/trunk@15319 18797224-902f-48f8-a5cc-f745e15eee43
the memory allocated by _MD_AllocSegment using malloc. Thanks to
Simon Fraser <sfraser@netscape.com> for the bug report and fix.
git-svn-id: svn://10.0.0.236/trunk@15221 18797224-902f-48f8-a5cc-f745e15eee43
tick is one millisecond on the Mac.
Files changed: _macos.h, mactime.c.
Also removed a temporary comment-out in prinrval.c.
git-svn-id: svn://10.0.0.236/trunk@15214 18797224-902f-48f8-a5cc-f745e15eee43
whose struct sockaddr has that field. Thanks to Bert Driehuis
<driehuis@playbeing.org> for suggesting this fix.
git-svn-id: svn://10.0.0.236/trunk@15176 18797224-902f-48f8-a5cc-f745e15eee43