private NSPR headers (prosdep.h and primpl.h) from the Mozilla source.
The part of prosdep.h that is actually needed by Mozilla was extracted
and put in the new file mozilla/include/xp_path.h.
git-svn-id: svn://10.0.0.236/trunk@10691 18797224-902f-48f8-a5cc-f745e15eee43
it breaks binary compatibility. We will put it back in
after the v3.0 release is branched off.
git-svn-id: svn://10.0.0.236/trunk@10525 18797224-902f-48f8-a5cc-f745e15eee43
This is because BSD systems have a funciton named 'index' in
<string.h>, and if you compile with the -Wshadow flag, gcc warns
that our declaration of `index' shadows global declaration.
Thanks to Ben Laurie <ben@algroup.co.uk> for the problem report
and the suggested workaround.
git-svn-id: svn://10.0.0.236/trunk@10523 18797224-902f-48f8-a5cc-f745e15eee43
This patch is contributed by Ben Laurie <ben@algroup.co.uk>.
Files changed: prtime.h and prtime.c.
git-svn-id: svn://10.0.0.236/trunk@10521 18797224-902f-48f8-a5cc-f745e15eee43
back to prproces.h because we don't want to break source
compatibility in this release.
git-svn-id: svn://10.0.0.236/trunk@10458 18797224-902f-48f8-a5cc-f745e15eee43
working directory of the new process. PR_SetStdioRedirect is renamed
PR_ProcessAttrSetStdioRedirect. The old name is retained but moved
to obsolete/probslet.h. This work is contributed by Ben Laurie
<ben@algroup.co.ul>.
Files changed: prproces.h, probslet.h, primpl.h, uxproces.c, ntmisc.c,
prinit.c, and parent.c.
git-svn-id: svn://10.0.0.236/trunk@10338 18797224-902f-48f8-a5cc-f745e15eee43
I suspect it's because glibc2's setjmp/longjmp (Sparc version) does
not allow us to modify the jmp_buf. So I added some comments and
a #error directive to force the build to fail.
git-svn-id: svn://10.0.0.236/trunk@7709 18797224-902f-48f8-a5cc-f745e15eee43
of the types int8, int16, and int32. This way people can include
nspr header and model.h in any order and won't get "type defined
twice" errors.
git-svn-id: svn://10.0.0.236/trunk@3522 18797224-902f-48f8-a5cc-f745e15eee43
can be implicitly cast to void *. So the explicit (void *) cast
in the argument for PR_Free() should not be necessary.
git-svn-id: svn://10.0.0.236/trunk@3105 18797224-902f-48f8-a5cc-f745e15eee43
atomic routines. Thanks to Andrew Cassin <acassin@cs.mu.oz.au> for
this patch.
git-svn-id: svn://10.0.0.236/trunk@2157 18797224-902f-48f8-a5cc-f745e15eee43
branch is a temporary branch for us to copy the latest changes
from our internal development tree to the public mozilla tree.
git-svn-id: svn://10.0.0.236/trunk@1624 18797224-902f-48f8-a5cc-f745e15eee43
indicate that struct sockaddr_in on BSD/OS has a sa_len field.
The code in unix.c checks this macro. We acknowledge Bert Driehuis
<driehuis@playbeing.com> for reporting the bug and suggesting a fix.
git-svn-id: svn://10.0.0.236/trunk@1229 18797224-902f-48f8-a5cc-f745e15eee43
Thanks to David Nebinger (dnebinger@synertech.highmark.com) for reporting
the problem and suggesting the fix.
git-svn-id: svn://10.0.0.236/trunk@1221 18797224-902f-48f8-a5cc-f745e15eee43
Chris Toshok (mcafee, toshok@netscape.com). It is classic NSPR,
local threads only (based on setjmp/longjmp).
git-svn-id: svn://10.0.0.236/trunk@1167 18797224-902f-48f8-a5cc-f745e15eee43
stack-pointer/frame-pointer words in the thread's context structure.
Useful for displaying thread stacks in the debugger.
git-svn-id: svn://10.0.0.236/trunk@1019 18797224-902f-48f8-a5cc-f745e15eee43
is now 'SCOOS' instead of 'SCO_SV'. Also, we just use the cpp macro 'SCO'
and deleted the macro 'SCO_SV'.
In pr/src/md/unix/Makefile, we do not assemble the ultrasparc assembly
file if we are compiling with gcc.
git-svn-id: svn://10.0.0.236/trunk@917 18797224-902f-48f8-a5cc-f745e15eee43
make building on 2.1.x easier. In case we need to distinguish between
different versions of Linux, we will try to use feature-based macros
as opposed to version-based macros.
Files changed: Linux.mk, _linux.h, _pth.h, prnetdb.c, and ptthread.c.
git-svn-id: svn://10.0.0.236/trunk@808 18797224-902f-48f8-a5cc-f745e15eee43
the value of OS_ARCH is changed from BSD_386 to BSD_OS.
In unix.c, we now conditionalize on the macros O_SYNC and O_FSYNC,
as opposed to the platform macros like FREEBSD and BSDI. We
acknowledge jason@ackley.net for reporting and providing a fix
for this problem.
git-svn-id: svn://10.0.0.236/trunk@526 18797224-902f-48f8-a5cc-f745e15eee43