Commit Graph

116 Commits

Author SHA1 Message Date
wtc%netscape.com
405ebc2efb Bugzilla bug #18511: on Windows NT, the IP_MULTICAST_TTL option cannot be
set unless the socket is bound to an address.
1999-12-29 23:17:27 +00:00
wtc%netscape.com
759123e535 Added a test to join with an unjoinable thread. 1999-12-29 22:31:34 +00:00
wtc%netscape.com
41540ce4d9 Fixed pthreads build problems on OpenBSD (Bugzilla bug #20529) and FreeBSD.
Modified files: _freebsd.h, _openbsd.h, ptio.c, ptsynch.c,
pr/tests/Makefile
1999-12-22 23:39:09 +00:00
wtc%netscape.com
a1934ff89f Bugzilla bug #5802: call PR_Bind and PR_Listen before passing the
listening socket to the server thread.
1999-12-22 20:12:11 +00:00
wtc%netscape.com
699517b1b8 Bugzilla bug #21651: call PR_Listen on the listening socket before passing
it to the server thread.
1999-12-22 20:10:49 +00:00
wtc%netscape.com
e658ea5b39 Pass LL_ZERO instead of 0 as the second argument to PR_MemMap so that
the code also compiles on platforms without long longs.
1999-12-22 19:47:13 +00:00
wtc%netscape.com
5af4b59cf6 Print error codes if PR_Connect() fails. 1999-12-04 01:22:01 +00:00
larryh%netscape.com
62fc21a701 BugZilla: 19247. Add support for VMS, QNX, NTO 1999-11-29 19:42:11 +00:00
wtc%netscape.com
e7552dfc0e Ported script to Windows 95. 1999-11-20 20:01:24 +00:00
wtc%netscape.com
13b85be60b Allow specification of timeout for test programs. 1999-11-19 01:01:19 +00:00
wtc%netscape.com
6a14094dc4 Added test case for PR_Available on pipes. 1999-11-19 00:59:57 +00:00
larryh%netscape.com
6e77f99f56 BugZilla: 19247. PR_GetRandomNoise() 1999-11-18 20:29:17 +00:00
wtc%netscape.com
bba3cdebb0 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
1999-11-18 02:11:38 +00:00
wtc%netscape.com
0c9675a0c6 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
1999-11-17 01:59:23 +00:00
srinivas%netscape.com
96ba9c8ba0 Added a new test case for PR_SendFile. Bugzilla #17486. 1999-11-12 13:40:17 +00:00
larryh%netscape.com
30c4fb7805 BugZilla 17558. Add PR_Open() PR_EXCL flag 1999-11-01 22:59:27 +00:00
wtc%netscape.com
d62cb68cf5 Need to set the reuseaddr socket option before PR_Bind, now that
PR_Bind no longer sets that option automatically (see Bugzilla #17184).
1999-10-29 01:41:34 +00:00
srinivas%netscape.com
923e93d99e Add PR_Block/Unblock_Interrupt functions. Bugzilla 17055 1999-10-28 02:48:01 +00:00
wtc%netscape.com
3c5064327b 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.
1999-10-26 01:58:10 +00:00
srinivas%netscape.com
6bd71d2ece Fixed typo in debug statement. 1999-10-22 20:59:34 +00:00
wtc%netscape.com
886045c92a 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
1999-10-20 23:07:38 +00:00
larryh%netscape.com
8e27542a54 BugSplat 367096 1999-10-20 00:12:37 +00:00
larryh%netscape.com
d18119c2c7 BugSplat 367096 1999-10-20 00:07:01 +00:00
cls%seawood.org
bb9d2ebe79 Syncing Makefile.ins with srinivas' previous checkin.
r=shaver
1999-10-19 05:30:36 +00:00
srinivas%netscape.com
57e7bdef64 Update with post-3.5 fixes on the tip 1999-10-19 00:40:39 +00:00
srinivas%netscape.com
46739047de Initial version 1999-10-18 23:46:10 +00:00
cls%seawood.org
c3ac045cd4 Bug 11893. r=shaver
Sync the autoconf Makefile.ins.
1999-10-17 15:12:41 +00:00
srinivas%netscape.com
bc24d35ef7 Add autoconf for NSPR. Check in for cls@seawood.org. Buzill 11893 1999-10-14 15:09:11 +00:00
larryh%netscape.com
76ed113c5c NSPR 3.5 landing 1999-10-13 18:32:42 +00:00
srinivas%netscape.com
58f510bc61 Backed out previous checkin. 1999-10-06 19:33:52 +00:00
srinivas%netscape.com
71d16537a7 Fixed bug in previous checkin - initialize variables before use. 1999-10-06 19:07:19 +00:00
srinivas%netscape.com
ebb8b5579a Add the SO_BROADCAST option. Bug #365862. 1999-10-06 18:31:22 +00:00
srinivas%netscape.com
dbba9534ed Enable specification of extra linker options and libraries from command line. 1999-07-31 17:19:19 +00:00
srinivas%netscape.com
37c359d4bb NSPR no longer defines symbols with the PTHREAD prefix. Bugzilla #9907. 1999-07-15 13:06:28 +00:00
wtc%netscape.com
8551056933 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.
1999-06-26 01:07:12 +00:00
wtc%netscape.com
cfeaff9c0a Declared 'loops' signed so that it can be compared with 0
safely.  Other cleanups.  Thanks to Philip Pokorny
<ppokorny@mindspring.com> for the patch.
1999-06-25 22:50:37 +00:00
wtc%netscape.com
bb9a3e68fb 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.
1999-06-03 22:35:44 +00:00
srinivas%netscape.com
11155af018 OpenVMS port; checkin for "Colin R. Blake" <colin@theblakes.com>. 1999-05-19 00:53:52 +00:00
wtc%netscape.com
0249f5cda7 Create 10 server threads by default. 1999-05-04 22:06:00 +00:00
wtc%netscape.com
b3fc357c4b Added curly braces around nested if's to achieve the if-else association
suggested by the identation.  Thanks to Dorin-Ioan Marinca <dim@csti.fr>
for reporting the problem and Bert Driehuis
<bert_driehuis@nl.compuware.com> for suggesting the fix.
1999-05-04 21:53:10 +00:00
wtc%netscape.com
23b930ace9 Added new tests bigfile2.c and bigfile3.c that reproduce Bugzilla
bug #5451.
1999-04-24 00:32:25 +00:00
dmose%mozilla.org
40c9c56b74 updating to license version 1.1 in boilerplate comments 1999-04-21 21:40:44 +00:00
wtc%netscape.com
c204c15dd1 Bugsplat bug #345296: added a test program that have multiple
threads accepting on the same listening socket.
1999-04-15 01:11:31 +00:00
wtc%netscape.com
b70f2dcb90 Bugzilla bug #2802: prepend current directory to $(DIST)/lib only
if $(DIST) is a relative pathname.  Thanks to trini@kernel.crashing.org
for reporting this bug.
1999-04-14 01:00:11 +00:00
larryh%netscape.com
bad65ac63f add coverage for functions that should be called by this test case 1999-04-13 22:58:40 +00:00
larryh%netscape.com
9d60d64427 Fix thread-type rotation for Win95 1999-04-09 16:38:11 +00:00
wtc%netscape.com
97235cae95 The file type PR_DESC_SOCKET_POLL is not defined by NSPR. 1999-04-05 23:24:11 +00:00
wtc%netscape.com
dc1a1f6e96 On Solaris, the prpoll test needs to link with -lsocket because
it calls BSD socket functions.  Moved the rule for the attach
test to be together with other tests that need to link with -lpthread.
1999-04-05 23:23:05 +00:00
wtc%netscape.com
f54e374982 Added test cases for the new NSPR functions, PR_CreateSocketPollFd and
PR_DestroySocketPollFd.
1999-03-30 01:38:27 +00:00
wtc%netscape.com
a9ee1f14fe Don't need to link with -lc_r explicitly on FreeBSD. The -pthread
flag takes care of that.
1999-03-23 05:46:07 +00:00