Commit Graph

685 Commits

Author SHA1 Message Date
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
srinivas%netscape.com
611574364e Backed out previous checkin; NSPR_API needs to be defined for Mac.
Bugzilla #12913.


git-svn-id: svn://10.0.0.236/trunk@56930 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 02:17:03 +00:00
srinivas%netscape.com
b8b66e0118 Support platform-specific import declaration for public NSPR functions.
Bugzilla #12913. rwtc.


git-svn-id: svn://10.0.0.236/trunk@56925 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 01:45:29 +00:00
wtc%netscape.com
2af308d4cc A more efficient implementation for OpenVMS using event flags, contributed
by Colin Blakes <colin@theblakes.com>.


git-svn-id: svn://10.0.0.236/trunk@56766 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-04 22:49:28 +00:00
wtc%netscape.com
07db4aeeee Bugzilla bug #22549: fixed a problem in the previous checkin that used
functions before they were declared.  Thanks to Colin Blakes for the fix.


git-svn-id: svn://10.0.0.236/trunk@56628 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-30 21:58:10 +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
cf2b856f80 Bugzilla bug #22549: made PR_Read/PR_Write for sockets equivalent to
PR_Recv/PR_Send with infinite timeout. r=colin@theblakes.com,
srinivas@netscape.com


git-svn-id: svn://10.0.0.236/trunk@56611 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-29 22:19:53 +00:00
srinivas%netscape.com
d1a97653fa Implement block/unblock interrupt. Bugzilla #17055.
git-svn-id: svn://10.0.0.236/trunk@56600 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-29 16:57:37 +00:00
srinivas%netscape.com
ecb0347d1f Backed out previous checkin for build breakage on Mac/Win.
git-svn-id: svn://10.0.0.236/trunk@56526 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-24 02:07:15 +00:00
srinivas%netscape.com
bb7c709c10 Minimize spurious notifications when interrupts are blocked.
Bugzilla #17055.


git-svn-id: svn://10.0.0.236/trunk@56521 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-24 01:05:42 +00:00
srinivas%netscape.com
3c45f9a79e PR_FindSymbol looks up a symbol only in the specified library.
Bugzilla #16554.


git-svn-id: svn://10.0.0.236/trunk@56474 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-23 02:51:37 +00:00
wtc%netscape.com
c008c35c16 Pedantic changes: use the exact types as documented for AIX send_file().
git-svn-id: svn://10.0.0.236/trunk@56466 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-23 00:44:19 +00:00
wtc%netscape.com
0bdc2bb076 Added a little logging to the OpenVMS code. (Contributed by Colin Blake
<colin@theblakes.com>)


git-svn-id: svn://10.0.0.236/trunk@56465 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-23 00:33:35 +00:00
wtc%netscape.com
b171a9ac45 Checked in NetBSD/MIPS port contributed by Tom Weinstein
<tomw@geocast.com>.
Modified files: _netbsd.cfg, _netbsd.h


git-svn-id: svn://10.0.0.236/trunk@56460 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 23:58:07 +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
dc180fef3a NetBSD has System V semaphores and shared memory.
git-svn-id: svn://10.0.0.236/trunk@56442 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 22:42:47 +00:00
srinivas%netscape.com
118f9430b3 Fixed use of uninitialized variable. Bugzilla #21201.
git-svn-id: svn://10.0.0.236/trunk@56417 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 21:24:34 +00:00
srinivas%netscape.com
67578ed9ed Fixed PR_SetThreadAffinityMask, which returned random value on Irix.
Bugzilla #21621.


git-svn-id: svn://10.0.0.236/trunk@56414 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 20:51:26 +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
38d2c001fb Bugzilla bug #20528: UnixWare 7 has long longs, so add a new _unixware7.cfg
for UnixWare 7 that defines HAVE_LONG_LONG.
Modified file: pr/include/md/Makefile
Added file: _unixware7.cfg


git-svn-id: svn://10.0.0.236/trunk@56398 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 19:51:13 +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
cls%seawood.org
42dda51683 Cleaned up BeOS autoconf build.
Added RESOLVE_LINK_SYMBOLS for platforms that need to resolve all symbols when linking shared libs.
Removed use of EXTRA_LIBS from configure.


git-svn-id: svn://10.0.0.236/trunk@56317 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 00:07:07 +00:00
gordon%netscape.com
44dcb3f475 formatting change. r=beard
git-svn-id: svn://10.0.0.236/trunk@55658 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 00:10:30 +00:00
gordon%netscape.com
c1348b13c6 added prgcleak.c. r=beard, bug #15906
git-svn-id: svn://10.0.0.236/trunk@55657 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 00:10:15 +00:00
gordon%netscape.com
795b69917e Checkin for Mark Welch. Approved by wtc. Reviewed by gordon. Fixes for bugs 4318 and 4320 (server sockets and blocking socket IO for mac).
git-svn-id: svn://10.0.0.236/trunk@55638 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 23:22:59 +00:00
wtc%netscape.com
9c9a6b4b15 Reworked how thread scanning is done, so thread objects can now be
safely allocated on the thread stack.  Moved the GC scanning code
into NSPR in a new file called prgcleak.c.  (Checkin for Patrick Beard.)
Modified files: primpl.h, prinit.c, prthinfo.c, pruthr.c.
Added file: prgcleak.c.


git-svn-id: svn://10.0.0.236/trunk@55621 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 22:23:48 +00:00
cls%seawood.org
25848ab739 Another attempt to fix bug #18966. Added $(INCLUDES) to AS and fixed irix6.5 detection.
git-svn-id: svn://10.0.0.236/trunk@55392 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 03:28:31 +00:00
cls%seawood.org
b86bdbfe72 Not sure if this should go under bug #20529 or #19330, who's patch I apparently stole. :) Anyways, rumor has it that OpenBSD has /dev/random too.
git-svn-id: svn://10.0.0.236/trunk@55370 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-05 11:01:32 +00:00
cls%seawood.org
7685824c32 Defining RTLD_NOW if not defined by system. Bug #20529
git-svn-id: svn://10.0.0.236/trunk@55358 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-05 08:53:00 +00:00
cls%seawood.org
ec38667076 I've been told that NetBSD has /dev/random as well. At worst, it should return 0 rather than fail with that undefined error anyways.
git-svn-id: svn://10.0.0.236/trunk@55348 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-05 07:26:46 +00:00
cls%seawood.org
ff063a65a9 Added THREAD_FLAG to OS_CFLAGS.
git-svn-id: svn://10.0.0.236/trunk@55347 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-05 06:49:44 +00:00
cls%seawood.org
42c76a9aa9 Make the autoconf build use the same defines under Linux as the non-autoconf NSPR build.
git-svn-id: svn://10.0.0.236/trunk@55320 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 23:49:35 +00:00
wtc%netscape.com
26d3075a56 Define HAVE_LOCALTIME_R_POINTER for all new releases (V4.0, V5.0, etc.)
git-svn-id: svn://10.0.0.236/trunk@55250 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 01:25:33 +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
wtc%netscape.com
be4026f658 Bugzilla bug #18500: fixed a bug in _PR_MapOptionName.
git-svn-id: svn://10.0.0.236/trunk@55248 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 01:20:28 +00:00
wtc%netscape.com
2f147d0a55 Removed unnecessary header includes. In _PR_MD_GetRandomNoise, changed
"size >= 0" to "size > 0" ('size' is an unsigned type so "size >= 0" would
be always true).


git-svn-id: svn://10.0.0.236/trunk@55244 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 01:09:09 +00:00
larryh%netscape.com
7e9fc11c82 BugZilla: 19247. makefiles for neutrino platform
git-svn-id: svn://10.0.0.236/trunk@55243 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 01:09:03 +00:00
wtc%netscape.com
2bf770f3af Bugzilla bug #20770: Solaris 8 has getipnodebyname().
git-svn-id: svn://10.0.0.236/trunk@55242 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 01:05:04 +00:00
cls%seawood.org
15809aa999 Disable unneeded arch specific portions of Makefile
git-svn-id: svn://10.0.0.236/trunk@55185 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 10:33:06 +00:00
cls%seawood.org
811cb761f4 Added use of OS_* & LDFLAGS variables to autoconf build.
git-svn-id: svn://10.0.0.236/trunk@55184 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 10:32:18 +00:00
cls%seawood.org
f6e0d56961 OpenBSD appears to need the -pthread flag when using pthreads.
git-svn-id: svn://10.0.0.236/trunk@55182 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 10:05:36 +00:00
wtc%netscape.com
5c27504038 Checked in patch for OpenVMS contributed by Colin Blake.
git-svn-id: svn://10.0.0.236/trunk@55135 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 00:42:18 +00:00
wtc%netscape.com
cb7c76b9e0 Bugzilla bug #17040: compile with -ansi -D__POSIX_SOURCE -D_BSD_SOURCE
-D_SVID_SOURCE on all CPU architectures.


git-svn-id: svn://10.0.0.236/trunk@55134 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 00:39:54 +00:00
sdagley%netscape.com
94f75c64f9 Checking in fix for bug #20558 for sfraser. Calling pr_UnlockedFindLibrary() with a NULL fragment name not a good idea. sfraser and I both though he'd fixed this before but apparently the change was lost.
git-svn-id: svn://10.0.0.236/trunk@55095 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 22:25:17 +00:00
cls%seawood.org
5804a0d54a Fixed problem with solaris builds setting MDCPUCFG instead of MDCPUCFG_H
Removed -mt from CFLAGS.


git-svn-id: svn://10.0.0.236/trunk@54901 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 11:25:52 +00:00
wtc%netscape.com
c53f870276 Bugzilla bug #20393: PR_NewPollableEvent should not assume that
PR_CreatePipe and PR_NewTCPSocketPair won't change its arguments
when it fails.


git-svn-id: svn://10.0.0.236/trunk@54816 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 23:52:34 +00:00
wtc%netscape.com
e1645749ce Assert that the WSAStartup call succeeded.
git-svn-id: svn://10.0.0.236/trunk@54809 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 23:24:28 +00:00
wtc%netscape.com
fd9dc6dc71 Bugzilla bug #14260: assert that NSPR's WSAStartup call succeeded.
git-svn-id: svn://10.0.0.236/trunk@54805 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 23:17:06 +00:00