35 Commits

Author SHA1 Message Date
spider
d56dcfe52f NORMANDY_DDAY merge...
git-svn-id: svn://10.0.0.236/trunk@4478 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 05:50:45 +00:00
spider
f7bedbedd5 Normandy Merge ....
git-svn-id: svn://10.0.0.236/trunk@4232 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-22 21:21:28 +00:00
wtc
c46f521185 Bugzilla bug #351: Removed two extra '>' characters.
Thanks to Romain Vignes <rvignes@cal.fr> for the problem report and fix.


git-svn-id: svn://10.0.0.236/trunk@3530 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 01:14:56 +00:00
wtc
d6cf513c1d Port to Sparc Linux. Files changed: _linux.cfg, _linux.h.
git-svn-id: svn://10.0.0.236/trunk@3527 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 00:51:10 +00:00
wtc
d002883d9c On HP-UX, we should just include <model.h> and use its definition
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
1998-06-08 23:45:45 +00:00
wtc
380fa328db Backed out revision 3.2. In C and C++, a pointer to any datatype
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
1998-06-03 21:23:24 +00:00
jgellman
cb4014892b merge from OJI branch
git-svn-id: svn://10.0.0.236/trunk@2980 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 00:37:20 +00:00
scc
b988eb163e First Checked In.
git-svn-id: svn://10.0.0.236/trunk@2730 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 03:18:48 +00:00
sfraser
7f9b0a7fe2 Added some more headers to export
git-svn-id: svn://10.0.0.236/trunk@2315 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 00:53:55 +00:00
sfraser
4d3a73a6a0 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@2231 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-23 01:14:17 +00:00
wtc
81cc85bf08 OSF1 V3.2 does not have <machines/builtins.h>, which declares the
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
1998-05-22 00:59:33 +00:00
atotic
1b116c75fd Renamed nsstring.[c|h] to macstdlibextras.[c|h] because of the naming conflict with Raptor (which uses ns prefix exclusively).
git-svn-id: svn://10.0.0.236/trunk@1749 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-15 16:54:09 +00:00
wtc
3e14d3e49b Merged NSPRPUB_19980508_BRANCH to the main trunk. The 19980508
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
1998-05-14 18:09:56 +00:00
wtc
682e147ebf Matt Watson <mwatson@apple.com> pointed out that it is not safe to
redefine FD_SETSIZE on Rhapsody.


git-svn-id: svn://10.0.0.236/trunk@1317 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 18:41:51 +00:00
wtc
7e8f7154f4 Added a few function declarations and header inclusions to get rid of
compiler warnings.


git-svn-id: svn://10.0.0.236/trunk@1316 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 18:37:38 +00:00
wtc
6c9253e597 Merged Rhapsody patches contributed by Matt Watson <mwatson@apple.com>.
git-svn-id: svn://10.0.0.236/trunk@1315 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-08 18:35:19 +00:00
wtc
7609a85751 Fixed Bugzilla bug #235: Define the macro _PR_HAVE_SOCKADDR_LEN to
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
1998-05-07 15:43:43 +00:00
wtc
987efb9517 Bugzilla bug #218: define HAVE_STRERROR only if it is not yet defined.
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
1998-05-07 06:38:26 +00:00
wtc
5fe72e5298 The stack pointer is the 0th element in the jmp_buf.
git-svn-id: svn://10.0.0.236/trunk@1208 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-07 01:52:43 +00:00
wtc
c76e69b986 Checked in (unfinished) Rhapsody port provided by Chris McAfee and
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
1998-05-05 23:28:45 +00:00
srinivas
c7bab903e6 Initialize the outermost stack frame for the thread and setup pointers to the
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
1998-05-01 19:45:13 +00:00
wtc
9858b6150a Various makefile cleanups. On SCO OpenServer, the value of OS_ARCH
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
1998-04-30 19:36:53 +00:00
wtc
718a40bb0a ReliantUNIX is renamed SINIX.
git-svn-id: svn://10.0.0.236/trunk@811 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-29 00:08:32 +00:00
wtc
8d1bc32fbe Got rid of the LINUX1_2 and LINUX2_0 macros. I hope that this will
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
1998-04-28 23:54:29 +00:00
wtc
54f4d85fe1 Merged NSPRPUB_19980421_BRANCH to the main trunk.
git-svn-id: svn://10.0.0.236/trunk@803 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 22:43:48 +00:00
wtc
68e29b395c Fixed build problems on BSD/OS. Some makefiles need to change:
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
1998-04-22 22:10:37 +00:00
wtc
0c00bf793f Ported to Linux/m68k. The patches were kindly provided by
Jes Sorensen <Jes.Sorensen@cern.ch>.


git-svn-id: svn://10.0.0.236/trunk@340 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-16 22:56:27 +00:00
wtc
213ccbabb3 Added function declarations to eliminate compiler warnings.
git-svn-id: svn://10.0.0.236/trunk@190 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-13 22:22:43 +00:00
wtc
81662fa460 Added declaration of _MD_YIELD.
git-svn-id: svn://10.0.0.236/trunk@189 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-13 22:21:00 +00:00
wtc
e34d99abe7 Fixed compiler warnings, mostly by adding function declarations.
git-svn-id: svn://10.0.0.236/trunk@188 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-13 22:19:51 +00:00
wtc
cad5ce2d27 Fixed compiler warnings, mostly undeclared functions. We acknoweldge
the help of Nathan Torkington <gnat@frii.com>.


git-svn-id: svn://10.0.0.236/trunk@187 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-13 22:04:19 +00:00
wtc
3b8b53b99f Declare _MD_EarlyInit() to eliminate 'undeclared function' compiler warning.
Contributed by Nat <gnat@frii.com>.


git-svn-id: svn://10.0.0.236/trunk@138 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-09 19:50:19 +00:00
wtc
fc2cc8d03c Digital Unix has atomic routines declared in <machines/builtins.h>,
so we define _PR_MD_ATOMIC_XXX to use them.


git-svn-id: svn://10.0.0.236/trunk@65 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-07 22:43:50 +00:00
wtc
1e7b042b73 Fixed the return type of the _PR_MD_ATOMIC_XXX routines. They
should return PRInt32, not void. (Reported by William A. Law,
law@netscape.com.)


git-svn-id: svn://10.0.0.236/trunk@58 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-07 20:36:46 +00:00
ltabb
8ed5afe62c Free the lizard
git-svn-id: svn://10.0.0.236/trunk@10 18797224-902f-48f8-a5cc-f745e15eee43
1998-03-28 02:44:41 +00:00