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
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
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
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
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
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
wtc%netscape.com
38302c0c89
Changes for leak detector to get thread objects to be scanned correctly.
...
Checked in for Patrick Beard <beard@netscape.com >.
git-svn-id: svn://10.0.0.236/trunk@54793 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 22:37:32 +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
larryh%netscape.com
7e10edeacf
BugZilla: 19448. Back out disable call to _PR_MD_GetRandomNoise()
...
git-svn-id: svn://10.0.0.236/trunk@54294 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 19:15:32 +00:00
larryh%netscape.com
98b909eb6b
BugZilla 19448. Temporary circumvention
...
git-svn-id: svn://10.0.0.236/trunk@54289 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 17:33:20 +00:00
larryh%netscape.com
f040981a26
BugZilla: 19247. Add support for FreeBSD
...
git-svn-id: svn://10.0.0.236/trunk@54219 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 00:04:15 +00:00
wtc%netscape.com
2031562612
Added new file brng.c. (Contributed by Matthew Zahorik and Duncan Wilcox.)
...
git-svn-id: svn://10.0.0.236/trunk@54075 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-20 20:38:05 +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
119fe2bfe8
Changed tab to spaces.
...
git-svn-id: svn://10.0.0.236/trunk@54072 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-20 20:00:02 +00:00
wtc%netscape.com
d1e5d22bb2
Removed extra blank line.
...
git-svn-id: svn://10.0.0.236/trunk@54071 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-20 19:59:31 +00:00
cls%seawood.org
49c320b36f
Adding rng to the autoconf Makefiles. Patch submitted by Mike Shaver <shaver@mozilla.org> a=granrose
...
git-svn-id: svn://10.0.0.236/trunk@54014 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 16:43:00 +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
wtc%netscape.com
e8346601d8
Use #elif instead of #else + #if.
...
git-svn-id: svn://10.0.0.236/trunk@53934 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 00:59:17 +00:00
wtc%netscape.com
f6d1c72f04
This header file should not define HAVE_UINT. There should be a better
...
solution solution for the problem this solved.
git-svn-id: svn://10.0.0.236/trunk@53932 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 00:58:21 +00:00
wtc%netscape.com
3fb7dc1743
_macos.h: define _MD_MINIMUM_STACK_SIZE to be 58K.
...
pruthr.c: removed unnecessary XP_MAC code since _MD_MINIMUM_STACK_SIZE is
checked by _PR_ADJUST_STACKSIZE.
git-svn-id: svn://10.0.0.236/trunk@53930 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 00:56:45 +00:00
wtc%netscape.com
9cb44715ee
Removed unnecessary _MD_MINIMUM_STACK_SIZE macro definition. Define this
...
macro only if the platform has a minimum stack size requirement.
git-svn-id: svn://10.0.0.236/trunk@53928 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 00:52:58 +00:00
larryh%netscape.com
bd7fed59fd
BugZilla: 19247
...
git-svn-id: svn://10.0.0.236/trunk@53916 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-18 22:23:00 +00:00
larryh%netscape.com
9ef040228f
BugZilla: 19247, fix declaration of _PR_MD_GetRandomNoise()
...
git-svn-id: svn://10.0.0.236/trunk@53911 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-18 21:38:39 +00:00
sdagley%netscape.com
372a9629c1
Fix Mac bustage. Make PR_GetRandomNoise() compile. Don't know about working yet.
...
git-svn-id: svn://10.0.0.236/trunk@53909 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-18 21:16:51 +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
76b46ea633
Minor improvements. In objs.mk fixed the problem that pthreads_user.c
...
is added to CSRCS twice if USE_AUTOCONF is not defined.
Modified files: pr/src/md/unix/Makefile,Makefile.in,objs.mk
git-svn-id: svn://10.0.0.236/trunk@53829 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-18 05:26:06 +00:00
wtc%netscape.com
4214c05a0a
Bugzilla bug #5358 : fixed build problem on Solaris/x86 under gcc by
...
removing the #ifdef stuff from os_SunOS_x86.s.
Modified files: pr/src/md/unix/Makefile,Makefile.in,objs.mk,os_SunOS_x86.s
git-svn-id: svn://10.0.0.236/trunk@53809 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-18 02:48:18 +00:00
wtc%netscape.com
d90cc02dc7
Bugzilla bug #17896 : added new macro _PR_IS_GCABLE_THREAD.
...
r=srinivas@netscape.com
Modified files: primpl.h, macthr.c, irix.c, pthreads_user.c, solaris.c,
unixware.c, pruthr.c
git-svn-id: svn://10.0.0.236/trunk@53802 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-18 02:14:38 +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
6104a72f93
Bugsplat bug #367096 : need to set md.thr_bound_cpu to NULL when we
...
resume a falsely timed-out or abort a really timed-out AcceptEx call.
Also we must add a thread to its current CPU if md.thr_bound_cpu is
not NULL.
Modified files: ntio.c, ntthread.c, and pruthr.c
git-svn-id: svn://10.0.0.236/trunk@53753 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-17 05:25:27 +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
wtc%netscape.com
04a7a748cc
Bugzilla bug #17601 : fixed memory leak and some other problems in our
...
thread-private data code.
Modified files: primpl.h, ptthread.c, prcthr.c, prtpd.c, pruthr.c.
git-svn-id: svn://10.0.0.236/trunk@53699 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-16 23:44:41 +00:00
wtc%netscape.com
6b0d991d1d
Bugzilla bug #18968 : check for the case where RTLD_GLOBAL is not defined.
...
git-svn-id: svn://10.0.0.236/trunk@53682 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-16 21:05:41 +00:00
wtc%netscape.com
d6c5f3cedd
Bugzilla bug #16566 : PR_Assert should be defined only if DEBUG is defined.
...
git-svn-id: svn://10.0.0.236/trunk@53546 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-15 21:59:52 +00:00
wtc%netscape.com
251e30e5b4
Bugzilla bug #17699 : removed obsolete functions PR_SetThreadExit and
...
PR_GetThreadExit.
Modified files: pprthred.h, primpl.h, prcthr.c, prtpd.c, and pruthr.c.
git-svn-id: svn://10.0.0.236/trunk@53542 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-15 21:29:29 +00:00
wtc%netscape.com
b3a7327bd2
Bugzilla bug #18826 : some systems don't have RTLD_LOCAL defined. Thanks
...
to dejong@cs.umn.edu for the bug report and suggested fix.
git-svn-id: svn://10.0.0.236/trunk@53480 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-15 00:07:00 +00:00