219 Commits

Author SHA1 Message Date
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