wtc%netscape.com
ccbf7f70c5
Bugzilla bug #84035 : we can't assume that 0 is an invalid value for the
...
pthread_t type and use 0 to indicate a lock has no owner. Added a
'locked' boolean field explicitly to PRLock. In PRMonitor, make the
owner field a PRThread* pointer, with a value of NULL indicating that
the monitor has no owner. Thanks to Takis Psarogiannakopoulos for
reporting this bug and spending a year (off and on) tracking it down.
Modified files: _pth.h, primpl.h, and ptsynch.c.
git-svn-id: svn://10.0.0.236/trunk@96353 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-04 23:42:10 +00:00
larryh%netscape.com
5e235d5192
Bugzilla 81666. new os2 locking
...
git-svn-id: svn://10.0.0.236/trunk@96320 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-04 22:20:48 +00:00
wtc%netscape.com
620c1f0a51
Bugzilla bug #51135 : IPv6 support on OpenVMS. Thanks to Colin Blakes
...
<colin@theblakes.com> for the patch.
Modified files: configure configure.in OpenVMS.mk _openvms.h pripv6.c
git-svn-id: svn://10.0.0.236/trunk@95682 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-22 18:50:21 +00:00
wtc%netscape.com
8396785be2
Removed all Makefile's. The new autoconf build system uses Makefile.in's.
...
git-svn-id: svn://10.0.0.236/trunk@95308 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-17 21:26:28 +00:00
wtc%netscape.com
9f68abd727
Verified that the autoconf build system is equivalent to the classic
...
build system on AIX, HP-UX, Linux, and Solaris. The 'release' makefile
target still doesn't quite work.
Modified Files:
configure configure.in config/Makefile.in
config/autoconf.mk.in config/config.mk config/nsinstall.c
config/rules.mk lib/ds/Makefile.in lib/libc/src/Makefile.in
pr/include/md/Makefile.in pr/src/misc/Makefile.in
git-svn-id: svn://10.0.0.236/trunk@95064 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-15 22:57:39 +00:00
wtc%netscape.com
bccda9ee0a
Merged NSPRPUB_CLIENT_BRANCH onto the trunk.
...
git-svn-id: svn://10.0.0.236/trunk@94726 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-12 02:05:12 +00:00
wtc%netscape.com
ee9b3d9d4c
Merged NSPRPUB_CLIENT_BRANCH onto the trunk.
...
git-svn-id: svn://10.0.0.236/trunk@94725 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-12 01:47:58 +00:00
wtc%netscape.com
d39676c99f
Set NSPR version to 4.2 Beta.
...
git-svn-id: svn://10.0.0.236/trunk@94724 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-12 01:46:58 +00:00
wtc%netscape.com
610fe60930
Bugzilla bug #76896 : added PR_CALLBACK for OS/2. Thanks to Michael Kaply
...
<mkaply@us.ibm.com> for the patch.
Modified files: prcmon.h, prthread.h, prtime.h
git-svn-id: svn://10.0.0.236/trunk@94280 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-08 21:50:22 +00:00
gordon%netscape.com
974d4f61ac
Fix bug 29338 "PR_Poll should not poll (spin) on Mac". Checking in for sfraser. r=dougt, sdagley, gordon, sr=sfraser, or vice versa.
...
git-svn-id: svn://10.0.0.236/trunk@89468 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 07:02:53 +00:00
wtc%netscape.com
2182d16f69
Bugzilla bug #62877 : deleted unused code added in the previous checkin.
...
git-svn-id: svn://10.0.0.236/trunk@88386 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 04:58:06 +00:00
wtc%netscape.com
d6c2df8634
Bugzilla bug #62877 : checked in patches contributed by Javier Pedemonte
...
<pedemont@us.ibm.com> and Dmitry Kubov <dmitry@north.cs.msu.su>.
Modified files: prinet.h, _os2.h, os2poll.c, and os2sock.c.
git-svn-id: svn://10.0.0.236/trunk@88370 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 02:40:52 +00:00
wtc%netscape.com
8f4e692317
Bugzilla bug #70295 : do not hold _pr_flock_lock while calling the MD
...
lockfile function to avoid a deadlock. The lockCount field of
PRFilePrivate may have the value of -1 to indicate that the MD lockfile
function is in progress. Use _pr_flock_cv to wait for the completion
of the MD lockfile function.
Modified files: primpl.h, prfile.c, prio.c, ptio.c
git-svn-id: svn://10.0.0.236/trunk@88070 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 06:51:44 +00:00
cls%seawood.org
82dff731aa
Fix nspr autoconf for OpenVMS.
...
Thanks to Colin Blake <colin@theblakes.com> for the patch.
Bug #69842 r=cls
git-svn-id: svn://10.0.0.236/trunk@87947 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-25 21:50:47 +00:00
wtc%netscape.com
66eee73ceb
Bugzilla bug #69496 : set the minimum thread stack size on OpenVMS.
...
r=colin@theblakes.com .
Modified files: _openvms.h, ptthread.c
git-svn-id: svn://10.0.0.236/trunk@87705 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 23:38:32 +00:00
gordon%netscape.com
c500b18253
fix for bug 66508. r=pinkerton, sr=sfraser. Landing fix from 6.0 branch to detect orderlyDisconnects.
...
git-svn-id: svn://10.0.0.236/trunk@86406 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 01:03:35 +00:00
cls%seawood.org
4e328f50ac
Switch from using $(DIST)/bin, $(DIST)/lib, etc to using $(bindir), $(includedir). This gives us the advantage of being able to set different directories for libs & headers as needed. r=bryner
...
git-svn-id: svn://10.0.0.236/trunk@85222 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-21 06:37:45 +00:00
cls%seawood.org
37a45d4b1d
Sync'ing long lost changes between Makefile & Makefile.in
...
git-svn-id: svn://10.0.0.236/trunk@84212 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-30 00:47:58 +00:00
wtc%netscape.com
e96efd15da
Bugzilla bug #63697 : NetBSD 1.5 or newer has IPv6. Thanks to
...
martin@NetBSD.ORG (Martin Husemann) for the patch.
git-svn-id: svn://10.0.0.236/trunk@84135 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-28 17:04:04 +00:00
wtc%netscape.com
5e3f471389
Bugzilla bug #61746 : make NSPR local threads work on more NetBSD platforms.
...
Thanks to Charles Hannum <mycroft@netbsd.org> for the patch. r=wtc.
git-svn-id: svn://10.0.0.236/trunk@83471 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-10 15:20:03 +00:00
larryh%netscape.com
2117dd5e21
Bugzilla: 61747. netbsd
...
git-svn-id: svn://10.0.0.236/trunk@83189 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-01 21:34:03 +00:00
larryh%netscape.com
aa164a08c2
Bugzilla: 46651. buffsize -> bufsize
...
git-svn-id: svn://10.0.0.236/trunk@80960 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 22:51:04 +00:00
larryh%netscape.com
a23c0899e6
Bugzilla: 55271. Attach thread on BeOS
...
git-svn-id: svn://10.0.0.236/trunk@80841 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 20:07:20 +00:00
wtc%netscape.com
f56cd70fb2
Bugzilla bug #53902 : a better way to fix the va_list compilation problem
...
in an older version of NetBSD/macppc. Thanks to Martin Husemann
<martin@NetBSD.ORG> for the patch.
Modified files: _netbsd.h, prprf.c
git-svn-id: svn://10.0.0.236/trunk@80811 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 04:38:55 +00:00
wtc%netscape.com
c567a688e9
Bugzilla bug #55740 : fixed a typo. Thanks to Martin Husemann
...
<martin@NetBSD.ORG> for the patch.
git-svn-id: svn://10.0.0.236/trunk@80804 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 04:28:11 +00:00
wtc%netscape.com
eeb69bf78b
Set version number to 4.1.
...
git-svn-id: svn://10.0.0.236/trunk@77883 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 16:07:38 +00:00
wtc%netscape.com
17c3d3f2c1
Bugzilla bug #40778 : backed out the previous checkin. I convinced myself
...
that users shouldn't be accessing the 'reserved_fn_n' fields at all.
Modified files: prio.h, priometh.c, prlayer.c, prsocket.c, ptio.c
git-svn-id: svn://10.0.0.236/trunk@77856 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 06:02:03 +00:00
wtc%netscape.com
39859adfab
Bugzilla bug #40778 : renamed the 'connectcontinue' member of PRIOMethods
...
back to 'reserver_fn_4' to maintain source compatibility.
Modified files: prio.h, priometh.c, prlayer.c, prsocket.c, ptio.c
git-svn-id: svn://10.0.0.236/trunk@77820 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 01:14:34 +00:00
wtc%netscape.com
8a394ef6b2
Bugzilla bug #25982 : renamed the new PR_PutEnv() function to PR_SetEnv()
...
and resurrected the original Mac-specific PR_PutEnv().
Modified files: prenv.h, prenv.c, pr/tests/env.c
git-svn-id: svn://10.0.0.236/trunk@77622 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 17:06:04 +00:00
wtc%netscape.com
434e5e9f79
Restored the correct copyright years.
...
git-svn-id: svn://10.0.0.236/trunk@77620 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 17:00:08 +00:00
wtc%netscape.com
59621a3060
Bugzilla bug #15906 : added GC_LEAK_DETECTOR support for Linux.
...
Modified files: config.mk, primpl.h, pr/src/Makefile, pr/src/Makefile.in,
pr/src/memory/Makefile, pr/src/memory/Makefile.in, prthinfo.c, ptthread.c
git-svn-id: svn://10.0.0.236/trunk@76299 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 22:05:22 +00:00
wtc%netscape.com
3064c5d83d
Added comments to explain the format of the PR_VERSION string.
...
Set version number to 4.1 Beta.
git-svn-id: svn://10.0.0.236/trunk@76018 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 21:19:17 +00:00
larryh%netscape.com
283dbf916a
BugZilla: 25982. remove comment witin a comment
...
git-svn-id: svn://10.0.0.236/trunk@75361 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 00:09:07 +00:00
larryh%netscape.com
8bed19c0f4
BugZilla: 25983. comment cleanup
...
git-svn-id: svn://10.0.0.236/trunk@75335 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 22:08:35 +00:00
wtc%netscape.com
53dd5fe525
Bugzilla bug #46909 : on Mac, define _PR_LOCAL_THREADS_ONLY in _macos.h
...
as opposed to prcpucfg.h.
git-svn-id: svn://10.0.0.236/trunk@75130 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-29 01:51:00 +00:00
wtc%netscape.com
8e6cdb6eba
Bugzilla bug #45732 : define align of double and long long for powerpc
...
correctly, and define the macros HAVE_ALIGNED_LONGLONGS and
HAVE_ALIGNED_DOUBLES if long longs or doubles are 8-byte aligned.
Thanks to Kevin B. Hendricks <khendricks@ivey.uwo.ca> and
Franz.Sirl-kernel@lauterbach.com for reporting the bug and suggesting a
fix.
git-svn-id: svn://10.0.0.236/trunk@75119 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-29 00:38:00 +00:00
larryh%netscape.com
d05d8c32f0
BugZilla: 4090. PR_APPEND
...
git-svn-id: svn://10.0.0.236/trunk@75078 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 21:51:07 +00:00
wtc%netscape.com
80f3ead2dc
Bugzilla bug #45181 : improvement for imported fd's on NT.
...
Modified files: _winnt.h, prsocket.c, ntio.c
git-svn-id: svn://10.0.0.236/trunk@75018 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 06:28:05 +00:00
wtc%netscape.com
bbd5f98fdf
Fixed Bugzilla bug #45181 .
...
Modified files: _beos.h, _macos.h, _os2.h, _unixos.h, _win95.h, _winnt.h,
primpl.h, prfile.c, prio.c, prsocket.c, bfile.c, macsockotpt.c, os2io.c,
unix.c, ntio.c, w95io.c, prinit.c, ptio.c
git-svn-id: svn://10.0.0.236/trunk@74993 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 02:40:54 +00:00
larryh%netscape.com
9068b6a96c
BugZilla: 25982. Add function PR_PutEnv()
...
git-svn-id: svn://10.0.0.236/trunk@74937 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 21:20:48 +00:00
wtc%netscape.com
bba25f392b
Bugzilla bug #45683 : define FD_SETSIZE to be 4096. This patch is
...
contributed by Jerry Kirk <Jerry.Kirk@nexwarecorp.com>.
git-svn-id: svn://10.0.0.236/trunk@74348 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-17 22:51:42 +00:00
wtc%netscape.com
4a00fce6ce
Bugzilla bug #41524 : fixed build problems on NetBSD-current with ELF
...
object format. r=taya@sm.sony.co.jp . a=brendan@mozilla.org .
Modified files: NetBSD.mk, _netbsd.h, prlink.c
git-svn-id: svn://10.0.0.236/trunk@73782 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 21:14:15 +00:00
wtc%netscape.com
26f52bbdb4
Bugzilla bug #43507 : install the SIGALRM signal handler in
...
_MD_EnableClockInterrupts before starting the interval timer.
Modified files: _unixos.h, unix.c
git-svn-id: svn://10.0.0.236/trunk@73372 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 02:49:24 +00:00
larryh%netscape.com
c67cc20fa5
BugZilla: 39942. PR_SetError() calls free()
...
git-svn-id: svn://10.0.0.236/trunk@72943 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 19:46:28 +00:00
wtc%netscape.com
0d28d012f4
Bugzilla bug #40941 : added assembly language implementation of atomic
...
routines for IA-64 Linux. Thanks to David Mosberger <davidm@hpl.hp.com>
for the code review.
Modifies files: configure, configure.in, _linux.h, pr/src/md/unix/Makefile,
pr/src/md/unix/Makefile.in, pr/src/md/unix/objs.mk
Added files: os_Linux_ia64.s
git-svn-id: svn://10.0.0.236/trunk@72682 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 22:22:23 +00:00
larryh%netscape.com
5044d318b8
BugZilla: 42367. Fix copyright date, Original Code
...
git-svn-id: svn://10.0.0.236/trunk@72681 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 21:48:45 +00:00
larryh%netscape.com
5ff71dac06
BugZilla 42367. change license to dual-license
...
git-svn-id: svn://10.0.0.236/trunk@72131 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 20:59:02 +00:00
wtc%netscape.com
8a462b8713
Bugzilla bug #17806 : improved comments for PR_Poll.
...
git-svn-id: svn://10.0.0.236/trunk@71949 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-10 00:43:59 +00:00
wtc%netscape.com
9f13a480aa
Bugzilla bug #17806 : made the comments for PR_Poll clearer about the
...
fact that the out_flags fields can only be checked on a successful
return.
git-svn-id: svn://10.0.0.236/trunk@71941 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 23:44:00 +00:00
wtc%netscape.com
a06292a469
Bugzilla bug #40542 : pass the correct size of struct sockaddr_in8 to
...
native socket functions on Solaris 8 for Intel/x86. r=larryh@netscape.com .
a=pdt. Thanks to dcran@us.ibm.com (Donnie Cranford) for the bug report.
Modified files: _solaris.h, primpl.h
git-svn-id: svn://10.0.0.236/trunk@71901 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 18:18:19 +00:00