private/primpl.h, and md/*.h) to mozilla/dist. NSPR files will get
these headers from the source tree, via -I$(MOD_DEPTH)/pr/include and
-I$(MOD_DEPTH)/pr/include/private. Non-NSPR files must not include
these private NSPR headers and should get the exported NSPR headers
from mozilla/dist/<platform.OBJ>/include.
git-svn-id: svn://10.0.0.236/trunk@33631 18797224-902f-48f8-a5cc-f745e15eee43
(error strings) before the error code macro definitions in the
generated header. Also updated prerr.h to reflect this change.
Thanks to John Gardiner Myers <jgmyers@netscape.com> for contributing
the fix.
git-svn-id: svn://10.0.0.236/trunk@33029 18797224-902f-48f8-a5cc-f745e15eee43
We don't have an assembly language implementation of atomic stacks for
Solaris/x86 yet. Thanks to Justin A. Kolodziej
<4wg7kolodzie@marquette.edu> for reporting the bug.
git-svn-id: svn://10.0.0.236/trunk@28520 18797224-902f-48f8-a5cc-f745e15eee43
with the class name 'stack' in STL, so renamed it to 'fd_stack'.
Thanks to joseph.gregorio@mts.com for reporting the problem and
suggesting a fix.
git-svn-id: svn://10.0.0.236/trunk@25807 18797224-902f-48f8-a5cc-f745e15eee43
it. This patch is contributed by Bert Driehuis
<bert_driehuis@nl.compuware.com>.
git-svn-id: svn://10.0.0.236/trunk@21233 18797224-902f-48f8-a5cc-f745e15eee43
<arpa/inet.h> on AIX 4.3. Thanks to Waqar Malik <waqar@netscpe.com>
for the bug report.
git-svn-id: svn://10.0.0.236/trunk@19925 18797224-902f-48f8-a5cc-f745e15eee43
_PR_MD_START_INTERRUPTS from the common section to the classic nspr
section. These macros are not used in the pthreads version.
Modified files: primpl.h, _pth.h, and ptsynch.c.
git-svn-id: svn://10.0.0.236/trunk@19187 18797224-902f-48f8-a5cc-f745e15eee43
conflict with the typedefs in BeOS's <support/SupportDefs.h>.
(Acknowledgment: Matthew Zahorik <maz@albany.net>)
git-svn-id: svn://10.0.0.236/trunk@18585 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
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
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
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
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
1. Ports to older revisions of some Unix variants, e.g., BSD/OS 1.1,
OSF1 V2.0, etc., contributed by Brian Ostrom <briano@netscape.com>.
2. QNX port, also contributed by Brian Ostrom.
3. New macro USE_MACH_DYLD to represent the dynamic library loading
API of NEXTSTEP and Rhapsody.
4. On platforms whose socket address has the sa_len field, make a
copy of the PRNetAddr argument for PR_Bind, PR_Connect, and PR_SendTo
and set its sa_len before passing it to the system calls. This
fix is suggested by Bert Driehuis <driehuis@playbeing.org>.
5. Removed the unused field _lockf64 of struct _MD_IOVector. Not
every Unix platform has lockf, and the POSIX file locking API
uses fcntl.
git-svn-id: svn://10.0.0.236/trunk@15158 18797224-902f-48f8-a5cc-f745e15eee43