Граф коммитов

91 Коммитов

Автор SHA1 Сообщение Дата
wtc 15cac26f3a Bug #180965: Mac gets PR_IO_PENDING_ERROR. In SendReceiveStream and SendReceiveDgram, make sure that we set the io_pending flag of the current thread to PR_FALSE before we return. In gethostbyname(), just store the OS error code in me->md.osErrCode. Do not call macsock_map_error() to map to NSPR error code. 1998-06-26 20:24:25 +00:00
spider cb94dae31e NORMANDY_DDAY merge... 1998-06-25 05:50:45 +00:00
spider 365c772ff9 Normandy Merge .... 1998-06-22 21:21:28 +00:00
wtc 2ba9c2caec Bugzilla bug #351: Removed two extra '>' characters.
Thanks to Romain Vignes <rvignes@cal.fr> for the problem report and fix.
1998-06-09 01:14:56 +00:00
wtc 6418ed1985 Port to Sparc Linux. Files changed: _linux.cfg, _linux.h. 1998-06-09 00:51:10 +00:00
wtc 302b1960a0 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.
1998-06-08 23:45:45 +00:00
wtc 808b5efd3a Change to improve GC benchmarks, from Raman Tenneti <raman@netscape.com>
of the Java group.
1998-06-08 23:44:47 +00:00
wtc 412d6f3a7c Use -32 flag for compiler and linker explicitly on IRIX 6.x. This is
necessary on IRIX 6.4 where -n32 is the default.  Thanks to Tomi (a
CS student in Finland whose last name I forget) for the patch.
1998-06-08 23:43:33 +00:00
scc 432f3ea897 First Checked In. 1998-06-04 22:51:07 +00:00
wtc 3d136dde60 In debug build, define MOZ_NO_DEBUG_RTL to use the nondebug version
of the Microsoft VC run-time library.
1998-06-04 04:55:37 +00:00
wtc e06ebb0b68 Backed out revision 3.7. First, XP_PC not only means Win NT and Win 95,
but also WIN16 and OS2.  I don't think WIN16 and OS2 have GetLastError().
Second, we always call DllErrorInternal() with the argument
_MD_ERRNO(), and _MD_ERRNO() is defined as GetLastError() on NT and
Win95.
1998-06-03 21:46:18 +00:00
wtc d5808c772f 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.
1998-06-03 21:23:24 +00:00
jgellman da79f31b6d back out change. inadvertently checked in self-modifying build code 1998-06-03 04:43:17 +00:00
jgellman 9f800f1e0e merge from OJI branch 1998-06-03 00:37:20 +00:00
wtc 01cfc7a328 Moved the definition of _AIX_AtomicSet() to the outside of the
#ifndef AIX4_1 block.  Thanks to C. Fung <carsonf@torolab.ibm.com>
for reporting this problem.
1998-06-02 03:25:22 +00:00
scc c1e5127c0b First Checked In. 1998-05-30 03:18:48 +00:00
sfraser 774052ff9b Changed for new build system 1998-05-28 18:58:33 +00:00
wtc 202b5af68c Removed unused variables. Thanks to Wei Tsang Ooi
<weitsang@cs.cornell.edu> for the patch.
1998-05-27 23:21:10 +00:00
wtc 4776befe54 Use the stabs debug format on Solaris x86, because the default dwarf
format does not work.  This patch is provided by Soren Juul Moller
<sjm@nwc.dk>.
1998-05-27 23:15:32 +00:00
wtc 872b4e8d8c Merged gcc support from the HP-UX Mozilla Patching Kit version 3.00
(http://hpux.csc.liv.ac.uk/hppd/mozilla/), maintained by
Richard K Lloyd <hpux@csc.liv.ac.uk>.
1998-05-27 23:13:47 +00:00
sfraser 34ba33bcfc Added some more headers to export 1998-05-27 00:53:55 +00:00
sfraser fadf4e509b First Checked In. 1998-05-27 00:53:25 +00:00
sfraser 44e9956672 First Checked In. 1998-05-23 01:14:17 +00:00
wtc b47efa6e65 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.
1998-05-22 00:59:33 +00:00
atotic b32cf33e30 Renamed nsstring.[c|h] to macstdlibextras.[c|h] because of the naming conflict with Raptor (which uses ns prefix exclusively). 1998-05-15 16:54:09 +00:00
wtc 4d1413640a 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.
1998-05-14 18:09:56 +00:00
wtc c6427d2a86 In Rhapsody 5.1 (DR2), the C++ compiler is named c++. 1998-05-14 17:01:14 +00:00
wtc c26be6a6d8 Added new test files. 1998-05-08 23:07:27 +00:00
wtc 9746ddd1ec Use cc -bundle to build loadable modules on Rhapsody. Thanks to
Matt Watson <mwatson@apple.com> for the patch.
1998-05-08 18:52:44 +00:00
wtc 6b123aed81 The type of the third argument for accept, recvfrom, getsockname, and
getpeername is 'int', not 'size_t'.
1998-05-08 18:50:15 +00:00
wtc 09e0473845 Fixed comment. 1998-05-08 18:48:46 +00:00
wtc ae12cbcc21 Merged patches from Matt Watson <mwatson@apple.com> to make loadable
modules work on Rhapsody.  Still have a few kinks to iron out.
1998-05-08 18:43:58 +00:00
wtc 73c54cbc55 Matt Watson <mwatson@apple.com> pointed out that it is not safe to
redefine FD_SETSIZE on Rhapsody.
1998-05-08 18:41:51 +00:00
wtc 34e5144ff8 Added a few function declarations and header inclusions to get rid of
compiler warnings.
1998-05-08 18:37:38 +00:00
wtc 7629ad13c7 Merged Rhapsody patches contributed by Matt Watson <mwatson@apple.com>. 1998-05-08 18:35:19 +00:00
wtc 7710bf746a Merged patches contributed by Matt Watson <mwatson@apple.com>. 1998-05-08 18:32:30 +00:00
wtc 0a437cef0c Matt Waston <mwatson@apple.com> taught me what common symbols are
and to compile with -fno-common.
1998-05-07 19:19:25 +00:00
wtc 75c25ae7cb 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.
1998-05-07 15:43:43 +00:00
wtc 2abfd52480 Moved Rhapsody's shared library rule from rules.mk to Rhapsody.mk. 1998-05-07 07:23:49 +00:00
wtc e8f298c4f1 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.
1998-05-07 06:38:26 +00:00
wtc e382aa1298 Bugzilla bug #265: Use full pathname /usr/ccs/bin/as (as opposed to just
'as') to assemble os_SunOS_ultrasparc.s because we need the -P option
of Solaris 'as' to run cpp and process header file inclusion.  This
way we won't accidentally get GNU 'as', which doesn't understand -P.
We acknowledge Paul Kanz (pkanz@conix.com) for suggesting the fix.
1998-05-07 06:29:44 +00:00
wtc 8baaa72a5d On Alpha Linux, the mmap'd stack needs to be made executable because
setjmp/signal seem to put machine instructions on the stack.  This
fix is contributed by gatgul@voicenet.com (Uncle George).
1998-05-07 05:07:25 +00:00
wtc 0e913de567 The stack pointer is the 0th element in the jmp_buf. 1998-05-07 01:52:43 +00:00
wtc c389b52b5b Define IP_MULTICAST to get the IP multicast macro/struct definitions
in netinet/in.h on SINIX 5.43.  We acknowledge the help of Sanjay
Gupta <gupta@informix.com>.
1998-05-06 19:53:26 +00:00
wtc 076ba566b9 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).
1998-05-05 23:28:45 +00:00
radha e81715dd79 Bug fix for 83769. Add MOZILLA_HOME/lib to the list of library_paths. 1998-05-01 23:27:04 +00:00
srinivas 301d11ba40 Set up pointers to the stack-pointer/frame-pointer words in the thread's
context structure. Useful for displaying thread stacks in the debugger.
1998-05-01 19:47:14 +00:00
srinivas a3ed7efc6b 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.
1998-05-01 19:45:13 +00:00
wtc 6a3b59e388 Recognize SINIX-Y, the high-end version of SINIX.
(Patch provided by Sanjay Gupta <gupta@informix.com>.)
1998-04-30 20:07:51 +00:00
wtc 5a5cb58738 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.
1998-04-30 19:36:53 +00:00