wtc%netscape.com
f50ff3f64d
Removed the NSPR20 macro definition for XP_MAC.
1998-09-20 01:04:58 +00:00
wtc%netscape.com
8b7506a577
Backed out the HAVE_LONG_LONG change temporarily because
...
it breaks binary compatibility. We will put it back in
after the v3.0 release is branched off.
1998-09-20 00:50:31 +00:00
wtc%netscape.com
789238bb50
Bug fix: If the envp argument for PR_CreateProcess is NULL,
...
call execv (instead of execve) so that the new process inherits
the environment of the parent process.
1998-09-20 00:21:35 +00:00
wtc%netscape.com
6741bc11cf
Renamed the 'index' argument for PR_Get/SetThreadPrivate to 'tpdIndex'.
...
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.
1998-09-20 00:18:18 +00:00
wtc%netscape.com
0d99998373
Added the 'const' qualifier to the 'fmt' argument for PR_FormatTime.
...
This patch is contributed by Ben Laurie <ben@algroup.co.uk>.
Files changed: prtime.h and prtime.c.
1998-09-19 23:52:13 +00:00
wtc%netscape.com
18fb6444e0
Moved the obsolete function PR_SetStdioRedirect from probslet.h
...
back to prproces.h because we don't want to break source
compatibility in this release.
1998-09-19 01:00:52 +00:00
wtc%netscape.com
b6f93822e7
Added PR_ProcessAttrSetCurrentDirectory to allow setting the current
...
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.
1998-09-18 02:15:21 +00:00
wtc%netscape.com
58038c7961
Define HAVE_LONG_LONG on BSDI. (Acknowledgements: Bert Driehuis
...
<driehuis@playbeing.org>.)
1998-09-17 01:10:21 +00:00
wtc%netscape.com
85c42592dc
For DG/UX, rename its OS_ARCH fro "dgux" to "DGUX".
...
dgux.mk is also renamed DGUX.mk.
1998-09-13 04:18:06 +00:00
wtc%netscape.com
6ca839a26b
Port to Linux/Strong Arm 110. Only the pthreads version works.
...
Files changed: Linux.mk, _linux.cfg, _linux.h.
1998-09-13 03:43:33 +00:00
wtc%netscape.com
2d1943850f
In CreateMacPathFromUnixPath, return paramErr if unixPath is nil.
1998-09-10 21:08:47 +00:00
wtc%netscape.com
8ff3ff8db2
In CreateMacPathFromUnixPath, the length of the macPath buffer
...
should be (strlen(unixPath) + 2) instead of (strlen(unixPath) * 2).
This is because for a zero-length unixPath, the macPath is ":",
which needs two bytes. Thanks to Patrick Beard <beard@netscape.com>
and Steve Dagley <sdagley@netscape.com> for reporting the bug and
suggesting a fix.
1998-09-10 20:49:14 +00:00
wtc%netscape.com
37b9664803
Fixed dprintf as suggested by Patrick Beard (beard@netscape.com).
...
Now dprintf calls PR_vsnprintf instead of PR_vsmprintf, so that
dprintf does not allocate memory. This is because PR_Assert (which
calls dprintf) can get called at interrupt time, and it is unsafe
to allocate memory at interrupt time on the Mac.
1998-09-09 01:17:41 +00:00
wtc%netscape.com
55c28a5932
On Unix, include <sys/types.h> for 'uint'.
1998-09-04 03:43:07 +00:00
warren%netscape.com
2fa483e8ba
Added PR_DestroyLogModule.
1998-09-01 00:17:18 +00:00
cls%seawood.org
9c74df02ff
Updates to autoconf files.
1998-08-26 04:04:57 +00:00
cls%seawood.org
90d0af1408
AUTOCONF_1_0 landing.
1998-08-19 20:42:14 +00:00
wtc%netscape.com
c1d94761d1
Define HAVE_LONG_LONG because gcc/g++ support 'long long'.
1998-08-18 15:00:22 +00:00
wtc%netscape.com
b9a162ce0d
Use $< so that VPATH works.
1998-08-13 04:39:45 +00:00
wtc%netscape.com
668cdb7bfe
Increase the timer interval from 1ms to 8ms.
1998-08-13 04:38:42 +00:00
wtc%netscape.com
fc47bba6a3
Checked in DG/UX port contributed by Marc Fraioli <fraioli@dg-rtp.dg.com>.
...
New files: dgux.mk, _dgux.cfg, _dgux.h, and dgux.c.
Files changed: lib/msgc/tests/Makefile, pr/include/md/Makefile,
_unixos.h, prosdep.h, prsocket.c, pr/src/md/unix/Makefile,
pr/src/md/unix/objs.mk, unix.c.
1998-08-11 22:29:48 +00:00
wtc%netscape.com
0163ab36b8
The local threads don't work on RedHat 5.1 Sparc Linux (with glibc2).
...
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.
1998-08-10 23:38:38 +00:00
wtc%netscape.com
3261de23cf
Merged Linux/MIPS patch contributed by Ralf <ralf@uni-koblenz.de>.
...
Files changed: _linux.cfg and _linux.h.
1998-07-24 00:52:44 +00:00
wtc%netscape.com
98e45bf8c4
Bugzilla bug #263 : Merged the NetBSD port of NSPR contributed by
...
Frank van der Linden <frank@wins.uva.nl>.
1998-07-17 23:33:36 +00:00
danm
3cddca0181
glowcode, the right way. bug 299200 a:don
1998-07-10 02:04:46 +00:00
danm
181ec43df6
glowcode. bug 299200 a:don.
1998-07-09 16:33:15 +00:00
wtc
d4699b0f80
In _PR_MD_OPEN_DIR, we append \*.* to the directory name,
...
but if the directory name ends in a slash or backslash,
we do not append the backslash.
Files changed: ntio.c and w95io.c.
1998-07-01 05:13:10 +00:00
wtc
eeb82f090d
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
7b08c23fa4
NORMANDY_DDAY merge...
1998-06-25 05:50:45 +00:00
spider
8f94f24ac8
Normandy Merge ....
1998-06-22 21:21:28 +00:00
wtc
77ea041820
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
60d6ca5b96
Port to Sparc Linux. Files changed: _linux.cfg, _linux.h.
1998-06-09 00:51:10 +00:00
wtc
35976a0c90
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
5f6e6a3bab
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
c518b6d483
First Checked In.
1998-06-04 22:51:07 +00:00
wtc
d295de42c1
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
e31a19018b
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
3eed711ae4
merge from OJI branch
1998-06-03 00:37:20 +00:00
wtc
1e88a51e20
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
a5b6d87e0c
First Checked In.
1998-05-30 03:18:48 +00:00
wtc
9fbd3be5f0
Removed unused variables. Thanks to Wei Tsang Ooi
...
<weitsang@cs.cornell.edu> for the patch.
1998-05-27 23:21:10 +00:00
sfraser
9de4bf3c0a
Added some more headers to export
1998-05-27 00:53:55 +00:00
sfraser
061bb4d1e2
First Checked In.
1998-05-23 01:14:17 +00:00
wtc
db81af6c5d
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
a3f1e6f894
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
c8d051dcbb
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
4da500e122
Added new test files.
1998-05-08 23:07:27 +00:00
wtc
f8fd4da708
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
fd1735425a
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
f48b54879d
Fixed comment.
1998-05-08 18:48:46 +00:00