Commit Graph

127 Commits

Author SHA1 Message Date
wtc%netscape.com
e52324f637 Removed #if !defined(DEBUG). Bugzilla #29181.
git-svn-id: svn://10.0.0.236/trunk@61979 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-01 21:35:49 +00:00
srinivas%netscape.com
7b4cd6c1a7 PR_SetThreadPrivate should be passed an invalid key for the failure case.
Bugzilla #29181.


git-svn-id: svn://10.0.0.236/trunk@61938 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-01 02:37:25 +00:00
wtc%netscape.com
7f138566c6 Landed NSPRPUB_RELEASE_4_0_20000223 onto the main trunk.
git-svn-id: svn://10.0.0.236/trunk@61538 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-23 23:38:19 +00:00
scc%netscape.com
b773eeed37 Pro5 update
git-svn-id: svn://10.0.0.236/trunk@60004 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-07 23:12:23 +00:00
sdagley%netscape.com
bcdcf3c3c3 Access path updates in anticipation of update to CW Pro5 (#25949). r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@59359 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 04:27:22 +00:00
wtc%netscape.com
82bedfb681 Fixed bogus error messages. Thanks to Kurt J. Lidl <lidl@pix.net>
for reporting the bug and providing a fix.


git-svn-id: svn://10.0.0.236/trunk@59109 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 23:31:20 +00:00
srinivas%netscape.com
c35e8af1b6 Add threadpool feature. Bugzilla #23951. rwtc.
git-svn-id: svn://10.0.0.236/trunk@58116 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 20:45:29 +00:00
wtc%netscape.com
b85076fefa Bugzilla bug #20770: on Solaris, gethost.c needs to link with -lsocket
if USE_IPV6=1 is specified.


git-svn-id: svn://10.0.0.236/trunk@57763 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 00:53:39 +00:00
wtc%netscape.com
e16101d1ba Set the reuseaddr socket option before calling PR_Bind.
git-svn-id: svn://10.0.0.236/trunk@57754 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 00:22:37 +00:00
srinivas%netscape.com
4f5b02e4cb Update to OS/2 port; the build now uses OS_ARCH=OS2, in place of WINNT.
Checkin for sobotka@axess.com. Bugzilla 23544.


git-svn-id: svn://10.0.0.236/trunk@57286 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-10 21:08:45 +00:00
cls%seawood.org
28c58e7c8f Sync'd Makefile.in's to reflect srinivas' NSPR API changes.
git-svn-id: svn://10.0.0.236/trunk@56939 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 06:09:27 +00:00
wtc%netscape.com
3d03bdbb36 Bugzilla bug #18511: on Windows NT, the IP_MULTICAST_TTL option cannot be
set unless the socket is bound to an address.


git-svn-id: svn://10.0.0.236/trunk@56614 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-29 23:17:27 +00:00
wtc%netscape.com
7344c40c56 Added a test to join with an unjoinable thread.
git-svn-id: svn://10.0.0.236/trunk@56612 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-29 22:31:34 +00:00
wtc%netscape.com
6629ab21d6 Fixed pthreads build problems on OpenBSD (Bugzilla bug #20529) and FreeBSD.
Modified files: _freebsd.h, _openbsd.h, ptio.c, ptsynch.c,
pr/tests/Makefile


git-svn-id: svn://10.0.0.236/trunk@56451 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 23:39:09 +00:00
wtc%netscape.com
f857a60ed2 Bugzilla bug #5802: call PR_Bind and PR_Listen before passing the
listening socket to the server thread.


git-svn-id: svn://10.0.0.236/trunk@56407 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 20:12:11 +00:00
wtc%netscape.com
fc4cf0cc94 Bugzilla bug #21651: call PR_Listen on the listening socket before passing
it to the server thread.


git-svn-id: svn://10.0.0.236/trunk@56406 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 20:10:49 +00:00
wtc%netscape.com
a5e6faae20 Pass LL_ZERO instead of 0 as the second argument to PR_MemMap so that
the code also compiles on platforms without long longs.


git-svn-id: svn://10.0.0.236/trunk@56395 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 19:47:13 +00:00
wtc%netscape.com
91481fd052 Print error codes if PR_Connect() fails.
git-svn-id: svn://10.0.0.236/trunk@55249 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 01:22:01 +00:00
larryh%netscape.com
1ca16c0791 BugZilla: 19247. Add support for VMS, QNX, NTO
git-svn-id: svn://10.0.0.236/trunk@54570 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-29 19:42:11 +00:00
wtc%netscape.com
b52967df83 Ported script to Windows 95.
git-svn-id: svn://10.0.0.236/trunk@54073 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-20 20:01:24 +00:00
wtc%netscape.com
5a3213de7c Allow specification of timeout for test programs.
git-svn-id: svn://10.0.0.236/trunk@53936 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 01:01:19 +00:00
wtc%netscape.com
a1926fa40c Added test case for PR_Available on pipes.
git-svn-id: svn://10.0.0.236/trunk@53935 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 00:59:57 +00:00
larryh%netscape.com
079ba173e7 BugZilla: 19247. PR_GetRandomNoise()
git-svn-id: svn://10.0.0.236/trunk@53900 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-18 20:29:17 +00:00
wtc%netscape.com
67284c22a6 Added a new test sendzlf.c, which sends a zero-length file with PR_SendFile
and PR_TransmitFile.
Modified files: pr/tests/Makefile,Makefile.in,runtests.ksh
Added file: sendzlf.c


git-svn-id: svn://10.0.0.236/trunk@53801 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-18 02:11:38 +00:00
wtc%netscape.com
976dc82e55 Bugzilla bug #17728: pt_writev_cont, pt_write_cont, pt_send_cont, and
pt_sendto_cont need to deal with the possibility of a zero-length buffer.
r=srinivas@netscape.com.  Added a test zerolen.c for this bug.
Modified files: ptio.c, pr/tests/Makefile, pr/tests/Makefile.in,
pr/tests/runtests.ksh.
Added file: pr/tests/zerolen.c


git-svn-id: svn://10.0.0.236/trunk@53729 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-17 01:59:23 +00:00
srinivas%netscape.com
c380166172 Added a new test case for PR_SendFile. Bugzilla #17486.
git-svn-id: svn://10.0.0.236/trunk@53349 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-12 13:40:17 +00:00
larryh%netscape.com
d3f1c46ba5 BugZilla 17558. Add PR_Open() PR_EXCL flag
git-svn-id: svn://10.0.0.236/trunk@52435 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-01 22:59:27 +00:00
wtc%netscape.com
407de78336 Need to set the reuseaddr socket option before PR_Bind, now that
PR_Bind no longer sets that option automatically (see Bugzilla #17184).


git-svn-id: svn://10.0.0.236/trunk@52163 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-29 01:41:34 +00:00
srinivas%netscape.com
bc406e3e1e Add PR_Block/Unblock_Interrupt functions. Bugzilla 17055
git-svn-id: svn://10.0.0.236/trunk@52041 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-28 02:48:01 +00:00
wtc%netscape.com
be5e5badd8 Bugzilla bug #17184: PR_Bind should not set the SO_REUSEADDR socket
option.  The HAVE_SOCKET_REUSEADDR macro is now obsolete.  Tests
that depended on the old PR_Bind behavior needs to call PR_SetSocketOption
before PR_Bind.
Modified files: _beos.h, _os2.h, _unixos.h, _win16.h, _win95.h, _winnt.h,
prsocket.c, ptio.c, accept.c, acceptread.c, sel_spd.c, servr_kk.c,
servr_ku.c, servr_uk.c, and servr_uu.c.


git-svn-id: svn://10.0.0.236/trunk@51807 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 01:58:10 +00:00
srinivas%netscape.com
d303858686 Fixed typo in debug statement.
git-svn-id: svn://10.0.0.236/trunk@51550 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-22 20:59:34 +00:00
wtc%netscape.com
eacb3c22ae Bugsplat bug #366840: PR_StringToNetAddr needs to set the address family
field of the PRNetAddr structure. Added a new test str2addr.c for this
bug. r=larryh@netscape.com
Modified files: prnetdb.c, pr/tests/runtests.ksh, pr/tests/Makefile,
    pr/tests/Makefile.in
Added file: pr/tests/str2addr.c


git-svn-id: svn://10.0.0.236/trunk@51310 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-20 23:07:38 +00:00
larryh%netscape.com
2efaf6b409 BugSplat 367096
git-svn-id: svn://10.0.0.236/trunk@51225 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-20 00:12:37 +00:00
larryh%netscape.com
eb823e8216 BugSplat 367096
git-svn-id: svn://10.0.0.236/trunk@51222 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-20 00:07:01 +00:00
cls%seawood.org
0d7e9393fb Syncing Makefile.ins with srinivas' previous checkin.
r=shaver


git-svn-id: svn://10.0.0.236/trunk@51113 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-19 05:30:36 +00:00
srinivas%netscape.com
263860675d Update with post-3.5 fixes on the tip
git-svn-id: svn://10.0.0.236/trunk@51087 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-19 00:40:39 +00:00
srinivas%netscape.com
fcf52e9477 Initial version
git-svn-id: svn://10.0.0.236/trunk@51068 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-18 23:46:10 +00:00
cls%seawood.org
5e7ffdc098 Bug 11893. r=shaver
Sync the autoconf Makefile.ins.


git-svn-id: svn://10.0.0.236/trunk@50950 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-17 15:12:41 +00:00
srinivas%netscape.com
3b846f9edf Add autoconf for NSPR. Check in for cls@seawood.org. Buzill 11893
git-svn-id: svn://10.0.0.236/trunk@50684 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 15:09:11 +00:00
larryh%netscape.com
c2335df585 NSPR 3.5 landing
git-svn-id: svn://10.0.0.236/trunk@50602 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 18:32:42 +00:00
srinivas%netscape.com
7ef083b590 Backed out previous checkin.
git-svn-id: svn://10.0.0.236/trunk@49996 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 19:33:52 +00:00
srinivas%netscape.com
ea30288c1f Fixed bug in previous checkin - initialize variables before use.
git-svn-id: svn://10.0.0.236/trunk@49990 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 19:07:19 +00:00
srinivas%netscape.com
bf992aac1f Add the SO_BROADCAST option. Bug #365862.
git-svn-id: svn://10.0.0.236/trunk@49981 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 18:31:22 +00:00
srinivas%netscape.com
98d534de36 Enable specification of extra linker options and libraries from command line.
git-svn-id: svn://10.0.0.236/trunk@41719 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-31 17:19:19 +00:00
srinivas%netscape.com
b5f35458f2 NSPR no longer defines symbols with the PTHREAD prefix. Bugzilla #9907.
git-svn-id: svn://10.0.0.236/trunk@39528 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-15 13:06:28 +00:00
wtc%netscape.com
3a3367ced7 Checked in BeOS changes contributed by Duncan Wilcox (duncan@be.com).
Modified files: plevent.c, prstreams/Makefile, prlink.c, bfile.c,
testfile.c, tmocon.c.


git-svn-id: svn://10.0.0.236/trunk@36970 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-26 01:07:12 +00:00
wtc%netscape.com
3c981be387 Declared 'loops' signed so that it can be compared with 0
safely.  Other cleanups.  Thanks to Philip Pokorny
<ppokorny@mindspring.com> for the patch.


git-svn-id: svn://10.0.0.236/trunk@36963 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-25 22:50:37 +00:00
wtc%netscape.com
0b6cf61cc5 Bugzilla bug #4842: do not export private NSPR headers (private/pprmwait.h,
private/primpl.h, and md/*.h) to mozilla/dist.  NSPR files will get
these headers from the source tree, via -I$(MOD_DEPTH)/pr/include and
-I$(MOD_DEPTH)/pr/include/private.  Non-NSPR files must not include
these private NSPR headers and should get the exported NSPR headers
from mozilla/dist/<platform.OBJ>/include.


git-svn-id: svn://10.0.0.236/trunk@33631 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 22:35:44 +00:00
srinivas%netscape.com
2bb10f123a OpenVMS port; checkin for "Colin R. Blake" <colin@theblakes.com>.
git-svn-id: svn://10.0.0.236/trunk@32205 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 00:53:52 +00:00
wtc%netscape.com
91e52a4cea Create 10 server threads by default.
git-svn-id: svn://10.0.0.236/trunk@30226 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 22:06:00 +00:00