Commit Graph

233 Commits

Author SHA1 Message Date
wtc%netscape.com
0bd35411c2 Updated the test for the NSPR 4.2 release. 2001-12-18 03:49:31 +00:00
seawood%netscape.com
10a2363233 Convert all rhapsody (pre-beta-macosx) references to darwin.
Bug #106617 r=wtc
2001-10-26 04:55:58 +00:00
wtc%netscape.com
23b20e57b1 Bugzilla bug #86785: link with -lpthread -lthread on all versions of
Solaris to ensure the correct library linking order.
2001-06-24 05:02:15 +00:00
wtc%netscape.com
098d89018a Use gcc's -Wl flag to pass a linker flag to the linker. 2001-06-14 05:31:14 +00:00
wtc%netscape.com
a96c289942 Put all IRIX cc compiler options inside the ifndef NS_USE_GCC block.
Modified files: config/Makefile.in pr/tests/Makefile.in
2001-06-14 02:23:42 +00:00
wtc%netscape.com
c7cf47414c Do not use IRIX native compiler options such as -n32 when NS_USE_GCC is
defined.
Modified files: config/Makefile.in, pr/tests/Makefile.in
2001-06-07 01:11:59 +00:00
wtc%netscape.com
90cb8dbf91 Bugzilla bug #84100: we need to write our own accept method to copy
the PRFilePrivate structure.
2001-06-05 04:31:20 +00:00
wtc%netscape.com
f4e578051e Now that OBJDIR is the current directory (.), we no longer need to install
the test shared library in ../$(OBJDIR)/dll.
2001-05-17 22:48:45 +00:00
wtc%netscape.com
274d022c97 Eliminated more differences between the autoconf build system and the
(obsolete) classic build system.
Modified Files:
	configure.in configure lib/prstreams/Makefile.in
	lib/tests/Makefile.in pr/src/cplus/Makefile.in
	pr/src/threads/combined/Makefile.in pr/tests/Makefile.in
2001-05-17 21:42:09 +00:00
wtc%netscape.com
b6a8e48805 Removed all Makefile's. The new autoconf build system uses Makefile.in's. 2001-05-17 21:26:28 +00:00
larryh%netscape.com
11fce31b6f bugzilla: 80884. PR_Rmdir error 2001-05-16 00:04:34 +00:00
wtc%netscape.com
44941aece0 Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-12 05:12:58 +00:00
cls%seawood.org
b06b54dd72 There is no need to invoke recursive makes for the dummy libs & install phases of nspr. Especially when it means having a dummy target in every makefile that has a dependency upon export. Instead, put the dummy target in rules.mk. 2001-01-22 06:36:06 +00:00
cls%seawood.org
5581220542 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 2001-01-21 06:37:45 +00:00
wtc%netscape.com
9855a27e0a Added const to clean up compiler warnings. 2001-01-06 05:26:24 +00:00
cls%seawood.org
0293179f8b Sync'ing long lost changes between Makefile & Makefile.in 2000-12-30 00:47:58 +00:00
larryh%netscape.com
ff08774a52 Bugzilla: 55271. Attach thread on BeOS 2000-10-10 20:07:20 +00:00
wtc%netscape.com
4bff167175 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
2000-08-30 17:06:04 +00:00
wtc%netscape.com
a8bb856914 Restored the correct copyright years. 2000-08-30 17:00:08 +00:00
wtc%netscape.com
2d8ba48907 Use real sockets in the poll desc array as opposed to NULL. Some
platforms seem to have problem polling on an array of -1's.
2000-08-11 03:00:45 +00:00
wtc%netscape.com
94e6a9e20e Updated for 4.1 release. 2000-08-11 01:34:31 +00:00
larryh%netscape.com
9b6fafc3d8 remove priotest. The test is not valid 2000-08-09 21:42:35 +00:00
wtc%netscape.com
0a8c15efe3 Make main() return int explicitly. 2000-08-08 21:33:51 +00:00
larryh%netscape.com
aaf178612d change default hostname to mcom.com 2000-08-01 23:31:48 +00:00
larryh%netscape.com
9a9152b4cc BugZilla: 4090. PR_APPEND 2000-07-28 21:51:07 +00:00
larryh%netscape.com
0bc5a9e7be BugZilla: 25982. Add function PR_PutEnv() 2000-07-27 21:20:48 +00:00
larryh%netscape.com
f3f1cc024f BugZilla: 39942. PR_SetError() calls free() 2000-06-22 19:46:28 +00:00
larryh%netscape.com
dc5530d464 BugZilla: 42367. Fix copyright date, Original Code 2000-06-20 21:48:45 +00:00
wtc%netscape.com
589df04ae3 Changed default host name to www.mozilla.org. 2000-06-20 20:11:24 +00:00
larryh%netscape.com
07cb73b3c8 BugZilla 42367. change license to dual-license 2000-06-13 20:59:02 +00:00
wtc%netscape.com
d75f5c9f6d Bugzilla bug #38599: added new test prpollml.c. This test should be
purified to verify that the syspoll_list field of PRThread in the
pthreads version is not leaked.
Modified files: runtests.ksh, Makefile, Makefile.in
Added file: prpollml.c
2000-06-09 01:54:29 +00:00
wtc%netscape.com
4ef826d82c Corrected typo. 2000-06-03 00:14:32 +00:00
wtc%netscape.com
e8f60812d6 Added #include <string.h> for memset. 2000-06-02 00:23:12 +00:00
wtc%netscape.com
402aa8d557 Added #include <string.h> for strcmp and memset. 2000-06-02 00:21:37 +00:00
wtc%netscape.com
5ddfa20021 Added parentheses to remove nested if-else ambiguity. 2000-06-02 00:20:31 +00:00
wtc%netscape.com
3d059178a6 Bugzilla bug #39731: added new tests pipeping2.c and pipepong2.c
for pipe fd inheritance.
Added files: pipeping2.c, pipepong2.c
Modified files: Makefile, Makefile.in, runtests.ksh
2000-05-31 02:02:34 +00:00
wtc%netscape.com
936e3a4c96 Bugzilla bug #34920: added new test acceptreademu.c to test
PR_EmulateAcceptRead.
Added file: acceptreademu.c
Modified files: Makefile, Makefile.in, runtests.ksh
2000-05-26 23:14:23 +00:00
wtc%netscape.com
edc8cd854f Bugzilla bug #34920: test PR_EmulateSendFile. 2000-05-26 22:08:29 +00:00
wtc%netscape.com
1985b5bcad Bugzilla bug #39674: added a test selintr.c to verify that the select()
wrapper in classic NSPR properly blocks the SIGALRM clocks.
Added file: selintr.c
Modified files: Makefile, Makefile.in, runtests.ksh
2000-05-25 21:29:38 +00:00
larryh%netscape.com
c40ceff5a9 BugZilla 25981. PR_GetNumberOfCpus() 2000-05-23 21:35:16 +00:00
wtc%netscape.com
8fbbd840e7 Bugzilla bug #39110: removed the test freeif.c from the makefile and
test harness because the fix of this bug is deferred to NSPR 5.0.
Modified files: Makefile, Makefile.in, runtests.ksh.
2000-05-22 22:42:05 +00:00
wtc%netscape.com
61341d802b Improved the test a little. 2000-05-22 19:52:56 +00:00
wtc%netscape.com
6279a20f04 Bugzilla bug #39110: added a new test freeif.c to catch this bug.
Added file: freeif.c
Modified files: Makefile, Makefile.in, runtests.ksh
2000-05-22 18:30:06 +00:00
wtc%netscape.com
7147cc57c2 Added the peek.c test to runtests.ksh. 2000-05-08 18:48:59 +00:00
wtc%netscape.com
f96ea3ebaf Non-blocking PR_Connect fails with PR_IN_PROGRESS_ERROR as opposed to
PR_WOULD_BLOCK_ERROR.  Made the test run two passes, one with local
threads and one with global threads.
2000-05-04 21:30:19 +00:00
wtc%netscape.com
faba10b076 Bugzilla bug #17223: added the PR_MSG_PEEK (with same value as MSG_PEEK)
for PR_Recv().  Define _PR_EMULATE_MSG_PEEK on platforms that don't
natively support MSG_PEEK.  Implemented PR_MSG_PEEK for pthreads.
Added the peek.c test case.
Modified files: prio.h, _macos.h, _winnt.h, primpl.h, ptio.c,
pr/tests/Makefile, pr/tests/Makefile.in
Added file: pr/tests/peek.c
2000-05-03 01:22:54 +00:00
wtc%netscape.com
f555c782fc Bugzilla bug #37146: fixed the output of the test. 2000-04-25 21:40:49 +00:00
wtc%netscape.com
5b59d2fc1a Bugzilla bug #5757: added a while loop around the PR_Wait call. 2000-03-22 02:13:35 +00:00
srinivas%netscape.com
4d7ff5c88f Implemented a new style stack of IO layers with a fixed, dummy header.
Bug #30914.
2000-03-17 23:15:27 +00:00
srinivas%netscape.com
146ad8498a Added new functions to look up function symbols in dynamic libraries.
Bugzilla #27175.
2000-03-14 14:54:25 +00:00
wtc%netscape.com
8569dfce52 Bugzilla bug #31697: Mac OS X (Rhapsody) port, based on the patch that
Stuart Parmenter <pavlov@netscape.com> sent to me.
Modified files: Rhapsody.mk, arch.mk, _pth.h, _rhapsody.h, prlink.c,
rhapsody.c, uxproces.c, uxrng.c, ptio.c, pr/tests/Makefile,
pr/tests/Makefile.in
2000-03-14 00:43:31 +00:00
wtc%netscape.com
e9764dcb4f Bugzilla bug #30746: added a new test primblok.c to show that NSPR I/O
functions will hang when the primordial thread calls a native blocking
function.
Added file: primblok.c
Modified files: Makefile, Makefile.in, runtests.ksh
2000-03-09 22:45:42 +00:00
wtc%netscape.com
d3e883c7b5 Bugzilla bug #31049: pass both null and non-null 'addr' argument to
PR_Accept to catch this bug.
2000-03-09 21:40:11 +00:00
wtc%netscape.com
4f9fe2b584 Bugzilla bug #31120: added a new test intrio.c to reproduce this bug.
Added file: intrio.c
Modified files: Makefile, Makefile.in, runtests.ksh
2000-03-09 21:14:24 +00:00
wtc%netscape.com
40b5b61ac3 Bugzilla bug #30367: define uint for Neutrino. Rearranged the ifdef's
in protypes.h so that it is easier to understand.  Added the test
obsints.c to ensure that all the (obsolete) integer types are defined.
Added file: pr/tests/obsints.c
Modified files: protypes.h, pr/tests/Makefile, pr/tests/Makefile.in
2000-03-07 22:48:41 +00:00
wtc%netscape.com
a442830fd9 Merged NSPR 4.0 release onto the main trunk. 2000-03-03 19:53:57 +00:00
wtc%netscape.com
6f0d2131dc Removed #if !defined(DEBUG). Bugzilla #29181. 2000-03-01 21:35:49 +00:00
srinivas%netscape.com
b6a1957f87 PR_SetThreadPrivate should be passed an invalid key for the failure case.
Bugzilla #29181.
2000-03-01 02:37:25 +00:00
wtc%netscape.com
3e932b885d Landed NSPRPUB_RELEASE_4_0_20000223 onto the main trunk. 2000-02-23 23:38:19 +00:00
scc%netscape.com
c372526fe5 Pro5 update 2000-02-07 23:12:23 +00:00
sdagley%netscape.com
813f53ead8 Access path updates in anticipation of update to CW Pro5 (#25949). r=pinkerton 2000-02-01 04:27:22 +00:00
wtc%netscape.com
628c6affaa Fixed bogus error messages. Thanks to Kurt J. Lidl <lidl@pix.net>
for reporting the bug and providing a fix.
2000-01-28 23:31:20 +00:00
srinivas%netscape.com
e1407e1b4b Add threadpool feature. Bugzilla #23951. rwtc. 2000-01-18 20:45:29 +00:00
wtc%netscape.com
80903f0202 Bugzilla bug #20770: on Solaris, gethost.c needs to link with -lsocket
if USE_IPV6=1 is specified.
2000-01-14 00:53:39 +00:00
wtc%netscape.com
1fe6e35eab Set the reuseaddr socket option before calling PR_Bind. 2000-01-14 00:22:37 +00:00
srinivas%netscape.com
61d0495a1f Update to OS/2 port; the build now uses OS_ARCH=OS2, in place of WINNT.
Checkin for sobotka@axess.com. Bugzilla 23544.
2000-01-10 21:08:45 +00:00
cls%seawood.org
0327a63675 Sync'd Makefile.in's to reflect srinivas' NSPR API changes. 2000-01-06 06:09:27 +00:00
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