cls%seawood.org
bb5c53fa5e
Add OS_LIBS to EXTRA_LIBS as necessary
2001-01-17 19:15:05 +00:00
wtc%netscape.com
fc695b1218
Bugzilla bug #64278 : call sched_get_priority_min/max to get the minimum
...
and maximum priorities of the default scheduling policy. Thanks to
Matt Beauregard <marauder@marauder.tm> for reporting this bug.
2001-01-17 02:42:13 +00:00
wtc%netscape.com
1be1cd1ff7
Bugzilla bug #64471 : need to use the value of the 'xferred' argument when
...
sendfilev fails with EAGAIN/EWOULDBLOCK.
2001-01-11 05:17:52 +00:00
wtc%netscape.com
32fa8e0637
Bugzilla bug #64666 : using a minus (-) in a scan set is not portable.
...
Thanks to Michael Kaply <mkaply@us.ibm.com> for the bug report and patch.
2001-01-09 01:31:56 +00:00
wtc%netscape.com
9855a27e0a
Added const to clean up compiler warnings.
2001-01-06 05:26:24 +00:00
wtc%netscape.com
c7bc8495b4
Bugzilla bug #64471 : PR_SendFile detects and uses the new Solaris
...
sendfilev system call.
Modified files: unix_errors.c, ptio.c.
2001-01-06 04:26:17 +00:00
cls%seawood.org
d67e0d81fc
Preparations for building on win32 with autoconf Makefile.ins.
2000-12-30 05:44:01 +00:00
cls%seawood.org
0293179f8b
Sync'ing long lost changes between Makefile & Makefile.in
2000-12-30 00:47:58 +00:00
wtc%netscape.com
c505936cfb
Bugzilla bug #63697 : NetBSD 1.5 or newer has IPv6. Thanks to
...
martin@NetBSD.ORG (Martin Husemann) for the patch.
2000-12-28 17:04:04 +00:00
wtc%netscape.com
80ad6dc3ae
Bugzilla bug #62457 : set the flock structure correctly and use fcntl
...
file locking on AIX 4.3, HP-UX 11.00, IRIX, Linux, OSF1 V4.0, and Solaris.
Modified Files: AIX.mk, HP-UX.mk, IRIX.mk, Linux.mk, OSF1.mk, SunOS5.mk,
and unix.c.
2000-12-22 06:02:52 +00:00
wtc%netscape.com
2171ecc420
Bugzilla bug #63273 : define PR_Assert the same way in debug and optimized
...
builds.
2000-12-19 20:02:03 +00:00
wtc%netscape.com
a623ea50c6
Bugzilla bug #63273 : define PR_Assert in optimized builds too.
2000-12-19 05:56:58 +00:00
wtc%netscape.com
2d543b1f20
Bugzilla bug #51743 : removed the unnecessary pthread_mutex_trylock call
...
from PR_EnterMonitor. Thanks to Vinay Badami <badami@netscape.com> for
the fix.
2000-12-19 03:04:55 +00:00
wtc%netscape.com
15debdec61
Bugzilla bug #61746 : make NSPR local threads work on more NetBSD platforms.
...
Thanks to Charles Hannum <mycroft@netbsd.org> for the patch. r=wtc.
2000-12-10 15:20:03 +00:00
wtc%netscape.com
06f54183a4
Bugzilla bug #51406 : PR_GetConnectStatus should not invoke the new
...
'connectcontinue' method, which is not present in the PRIOMethods
table of NSPR 4.0.
Modified Files: prsocket.c ptio.c
2000-12-10 02:33:59 +00:00
larryh%netscape.com
3316612be8
Bugzilla: 61747. netbsd
2000-12-01 21:29:17 +00:00
larryh%netscape.com
5c5790cdb0
Bugzilla: 58575
2000-11-28 00:34:48 +00:00
larryh%netscape.com
246c2e438f
Bugzilla: 53014
2000-11-06 23:33:07 +00:00
larryh%netscape.com
a7c8f86bad
Bugzilla: 51655.
2000-11-06 23:27:49 +00:00
larryh%netscape.com
bb153ca860
Bugzilla: 49161. OpenVMS
2000-11-02 21:15:40 +00:00
cls%seawood.org
aeba6e6e07
Sync pr/src/Makefile* INCLUDES with subdirs so that parallel builds work again. Bug #31365
2000-10-18 05:01:29 +00:00
gordon%netscape.com
391c95c667
Fix for Bug 56170 "After mac goes to sleep, getting IMAP mail locks up machine". Changed case kOTOutStateErr, so that it returns an error. This enables us to detect when a connection is closed out from under us.
2000-10-13 21:49:44 +00:00
larryh%netscape.com
7a3f8caaf5
Bugzilla: 46651. buffsize -> bufsize
2000-10-11 22:51:04 +00:00
gordon%netscape.com
83a2e1f54a
Fix for bug 49990 "Networking fails after sleep/wake cycle" on Mac. rtm+, r=pinkerton, sr =sfraser. Added support for provide will/has closed OT events.
2000-10-10 21:25:27 +00:00
larryh%netscape.com
ff08774a52
Bugzilla: 55271. Attach thread on BeOS
2000-10-10 20:07:20 +00:00
wtc%netscape.com
62e8f2f3e5
Bugzilla bug #53902 : a better way to fix the va_list compilation problem
...
in an older version of NetBSD/macppc. Thanks to Martin Husemann
<martin@NetBSD.ORG> for the patch.
Modified files: _netbsd.h, prprf.c
2000-10-10 04:38:55 +00:00
wtc%netscape.com
7c4d774b06
Bugzilla bug #55740 : fixed a typo. Thanks to Martin Husemann
...
<martin@NetBSD.ORG> for the patch.
2000-10-10 04:28:11 +00:00
larryh%netscape.com
8e1e3465ff
Bugzilla: 55268. BeOS
2000-10-05 23:15:45 +00:00
wtc%netscape.com
44a8b535aa
Bugzilla bug #30746 : the primordial thread should wait for the timer
...
manager thread to start only if the timer manager thread is a local
thread, otherwise in native-threads-only mode, if NSPR is initialized
by a DLL, the primordial thread may be hung in PR_WaitCondVar because
the (native) timer manager thread does not get to run until the DLL is
initialized.
2000-09-01 18:26:28 +00:00
wtc%netscape.com
186f59fb5b
Set version number to 4.1.
2000-09-01 16:07:38 +00:00
wtc%netscape.com
b4d3758798
Bugzilla bug #40778 : backed out the previous checkin. I convinced myself
...
that users shouldn't be accessing the 'reserved_fn_n' fields at all.
Modified files: prio.h, priometh.c, prlayer.c, prsocket.c, ptio.c
2000-09-01 06:02:03 +00:00
wtc%netscape.com
860916575a
Bugzilla bug #40778 : renamed the 'connectcontinue' member of PRIOMethods
...
back to 'reserver_fn_4' to maintain source compatibility.
Modified files: prio.h, priometh.c, prlayer.c, prsocket.c, ptio.c
2000-09-01 01:14:34 +00:00
wtc%netscape.com
f2714e75a8
Bugzilla bug #45223 : backed out the HAVE_LONG_LONG define. The Mozilla
...
code is not ready for this change yet.
2000-08-30 17:12:11 +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
7a175af26c
Removed. The file is now mozilla/nsprpub/pr/src/memory/prgcleak.c.
2000-08-30 04:58:44 +00:00
wtc%netscape.com
c3a38486a6
Bugzilla bug #50386 : fixed PR_Sleep so that it won't return uninitialized
...
variable. Thanks to Fred Batty <fredb@iplanet.com> for reporting the bug.
2000-08-26 00:55:20 +00:00
wtc%netscape.com
cfddfeeb41
Bugzilla bug #15906 : added GC_LEAK_DETECTOR support for Linux.
...
Modified files: config.mk, primpl.h, pr/src/Makefile, pr/src/Makefile.in,
pr/src/memory/Makefile, pr/src/memory/Makefile.in, prthinfo.c, ptthread.c
2000-08-14 22:05:22 +00:00
wtc%netscape.com
df3cdee5ef
Bugzilla bug #39731 : the imported pipe needs to have its
...
secret->md.sync_file_io set to PR_TRUE on NT because unnamed pipes
don't support async io.
2000-08-11 18:36:38 +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
wtc%netscape.com
310e944631
Moved prgcleak.c from mozilla/nsprpub/pr/src/md/mac/prgcleak.c.
2000-08-11 01:02:37 +00:00
wtc%netscape.com
aa2c5c7732
Bugzilla bug #30746 : backed out the PR_SetConcurrency(2) workaround
...
because it introduced other problems.
2000-08-11 00:57:50 +00:00
wtc%netscape.com
20e4421fed
Added comments to explain the format of the PR_VERSION string.
...
Set version number to 4.1 Beta.
2000-08-10 21:19:17 +00:00
wtc%netscape.com
f1f2853c86
Bugzilla bug #34920 : fixed a bug in PR_EmulateAcceptRead that depended
...
on the implementation of an enum.
2000-08-10 02:40:12 +00:00
wtc%netscape.com
d961ab7c89
Bugzilla bug #39942 : additional tweaks related to the thread-private
...
error string buffer.
Modified files: prerror.c, prcthr.c, pruthr.c
2000-08-10 00:34:11 +00:00
larryh%netscape.com
9b6fafc3d8
remove priotest. The test is not valid
2000-08-09 21:42:35 +00:00
larryh%netscape.com
1ef6d945bb
BugZilla: 25982. MacOS retruns 1
2000-08-08 22:26:42 +00:00
wtc%netscape.com
0a8c15efe3
Make main() return int explicitly.
2000-08-08 21:33:51 +00:00
larryh%netscape.com
e1020697b7
BugZilla: 4090. cross platform breakage
2000-08-02 00:45:18 +00:00
larryh%netscape.com
59202f97ba
BugZilla: 25982. remove comment witin a comment
2000-08-02 00:09:07 +00:00
larryh%netscape.com
aaf178612d
change default hostname to mcom.com
2000-08-01 23:31:48 +00:00
larryh%netscape.com
98352022b1
BugZilla: 25983. comment cleanup
2000-08-01 22:08:35 +00:00
wtc%netscape.com
e357ca143e
Bugzilla bug #17223 : fixed an error found when I compiled on Mac.
2000-07-31 22:40:12 +00:00
larryh%netscape.com
6c627c4262
BugZilla: 46630. Log buffer size
2000-07-31 18:58:55 +00:00
wtc%netscape.com
ae1a9d87ac
Bugzilla bug #46417 : allow stdin, stdout, and stderr to be redirected
...
to the same osfd (e.g., a socket is bidirectional and hence we can
redirect both stdin and stdout to the same socket). Thanks to
Rob McCool <robm@robm.com> for the bug report and suggesting a fix.
2000-07-31 18:53:20 +00:00
wtc%netscape.com
c2bad4c7cd
Bugzilla bug #46525 : checked in a fix to silence a Purify UMR warning.
...
Thanks to Daniel Bratell <bratell@lysator.liu.se> for the bug report
and the fix.
2000-07-31 18:15:38 +00:00
wtc%netscape.com
a91f241a88
Bugzilla bug #45223 : define HAVE_LONG_LONG on Mac. Removed unused
...
variable dstLocalBaseMicroseconds and do not export
gJanuaryFirst1970Seconds.
Modified files: mactime.c, prcpucfg.h
2000-07-29 01:58:46 +00:00
wtc%netscape.com
16e36f84d8
Bugzilla bug #46909 : on Mac, define _PR_LOCAL_THREADS_ONLY in _macos.h
...
as opposed to prcpucfg.h.
2000-07-29 01:51:00 +00:00
wtc%netscape.com
554d574334
Bugzilla bug #45732 : define align of double and long long for powerpc
...
correctly, and define the macros HAVE_ALIGNED_LONGLONGS and
HAVE_ALIGNED_DOUBLES if long longs or doubles are 8-byte aligned.
Thanks to Kevin B. Hendricks <khendricks@ivey.uwo.ca> and
Franz.Sirl-kernel@lauterbach.com for reporting the bug and suggesting a
fix.
2000-07-29 00:38:00 +00:00
wtc%netscape.com
1480ad16b1
Bugzilla bug #45432 : fixed memory leak in pr_Mac_LoadNamedFragment and
...
pr_Mac_LoadIndexedFragment.
2000-07-29 00:27:37 +00:00
larryh%netscape.com
9a9152b4cc
BugZilla: 4090. PR_APPEND
2000-07-28 21:51:07 +00:00
wtc%netscape.com
952b503a2a
Bugzilla bug #45181 : improvement for imported fd's on NT.
...
Modified files: _winnt.h, prsocket.c, ntio.c
2000-07-28 06:28:05 +00:00
wtc%netscape.com
cbfa8b99d9
Get rid of PR_UNKNOWN_ERROR.
2000-07-28 05:12:51 +00:00
wtc%netscape.com
dacf1ff7d8
Fixed Bugzilla bug #45181 .
...
Modified files: _beos.h, _macos.h, _os2.h, _unixos.h, _win95.h, _winnt.h,
primpl.h, prfile.c, prio.c, prsocket.c, bfile.c, macsockotpt.c, os2io.c,
unix.c, ntio.c, w95io.c, prinit.c, ptio.c
2000-07-28 02:40:54 +00:00
larryh%netscape.com
0bc5a9e7be
BugZilla: 25982. Add function PR_PutEnv()
2000-07-27 21:20:48 +00:00
larryh%netscape.com
700ccc9e33
BugZilla: 45623
2000-07-19 22:03:36 +00:00
wtc%netscape.com
ecc670c100
Bugzilla bug #42900 : implement timeout for PR_Connect.
2000-07-18 23:35:24 +00:00
wtc%netscape.com
9f97e47f41
Declare the _nt_nonblock_xxx functions static. Changed the second
...
argument of _nt_nonblock_accept to be "struct sockaddr *".
2000-07-18 22:45:58 +00:00
wtc%netscape.com
077f42dcfd
Bugzilla bug #45683 : define FD_SETSIZE to be 4096. This patch is
...
contributed by Jerry Kirk <Jerry.Kirk@nexwarecorp.com>.
2000-07-17 22:51:42 +00:00
wtc%netscape.com
599d598411
Map error codes.
2000-07-15 17:32:33 +00:00
wtc%netscape.com
4a7d1ec880
Bugzilla bug #25981 : BSD-derived systems use systcl() to get the number
...
of processors. Thanks to Hans Lambermont <hans@blender.nl> for pointing
out the use of sysctl().
2000-07-15 17:23:57 +00:00
wtc%netscape.com
3b22399c97
Bugzilla bug #41524 : fixed build problems on NetBSD-current with ELF
...
object format. r=taya@sm.sony.co.jp . a=brendan@mozilla.org .
Modified files: NetBSD.mk, _netbsd.h, prlink.c
2000-07-06 21:14:15 +00:00
larryh%netscape.com
6ee12aa8b0
BugZilla: 43337. Better implementation
2000-06-28 22:32:47 +00:00
wtc%netscape.com
301653b08b
Bugzilla bug #43507 : install the SIGALRM signal handler in
...
_MD_EnableClockInterrupts before starting the interval timer.
Modified files: _unixos.h, unix.c
2000-06-28 02:49:24 +00:00
wtc%netscape.com
944208ec6d
Avoid code duplication.
2000-06-28 01:42:54 +00:00
wtc%netscape.com
6c3036d76a
Bugzilla bug #42874 : allow OpenProcessToken to fail with
...
ERROR_CALL_NOT_IMPLEMENTED (on non-NT systems) or ERROR_ACCESS_DENIED
(processes with insufficient access permissions).
2000-06-28 01:13:33 +00:00
wtc%netscape.com
ee6d656297
Bugzilla bug #39712 : backed out the workaround for a compiler bug.
...
The compiler bug is fixed in Service Pack 4 of MSVC 6.0.
2000-06-28 00:10:29 +00:00
wtc%netscape.com
b12450d7d1
Bugzilla bug #41832 : set the error codes if pthread_cond_wait or
...
pthread_cond_timedwait fails.
2000-06-28 00:01:49 +00:00
wtc%netscape.com
45d9c62efa
Bugzilla bug #42714 : removed dependency on winmm.dll. Replaced
...
timeGetTime() with GetTickCount().
Modified files: pr/src/Makefile, pr/src/Makefile.in, ntinrval.c
2000-06-27 20:54:02 +00:00
larryh%netscape.com
f3f1cc024f
BugZilla: 39942. PR_SetError() calls free()
2000-06-22 19:46:28 +00:00
larryh%netscape.com
7ef5b2d49e
BugZilla: 43337. PR_GetPeerName() asserts on NT
2000-06-22 00:39:09 +00:00
wtc%netscape.com
bb42c05858
bug #42100 , Carbon compatibility. r=gordon, saari, pinkerton, sfraser
2000-06-21 23:05:27 +00:00
wtc%netscape.com
b96235a348
Checked in IPv6 patch for OpenVMS from Colin Blake <colin@theblakes.com>.
2000-06-21 22:51:45 +00:00
wtc%netscape.com
86c2cf5d36
Bugzilla bug #40941 : added assembly language implementation of atomic
...
routines for IA-64 Linux. Thanks to David Mosberger <davidm@hpl.hp.com>
for the code review.
Modifies files: configure, configure.in, _linux.h, pr/src/md/unix/Makefile,
pr/src/md/unix/Makefile.in, pr/src/md/unix/objs.mk
Added files: os_Linux_ia64.s
2000-06-20 22:22:23 +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
1bf3b05cbc
Bugzilla bug #17806 : improved comments for PR_Poll.
2000-06-10 00:43:59 +00:00
wtc%netscape.com
6217542825
Bugzilla bug #17806 : made the comments for PR_Poll clearer about the
...
fact that the out_flags fields can only be checked on a successful
return.
2000-06-09 23:44:00 +00:00
wtc%netscape.com
ae154c05a3
Bugzilla bug #40542 : pass the correct size of struct sockaddr_in8 to
...
native socket functions on Solaris 8 for Intel/x86. r=larryh@netscape.com .
a=pdt. Thanks to dcran@us.ibm.com (Donnie Cranford) for the bug report.
Modified files: _solaris.h, primpl.h
2000-06-09 18:18:19 +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
5deb522567
Bugzilla bug #38599 : removed an extra semicolon.
2000-06-09 01:23:58 +00:00
wtc%netscape.com
0d184b4e3b
Bugzilla bug #38599 : pthreads PR_Poll optimizations. 1. Increased the
...
size of the stack pollfd structure array from 4 to 64. 2. Made the
malloc'ed pollfd structure array a thread private data.
Modified files: primpl.h, ptio.c, ptthread.c
2000-06-08 20:42:57 +00:00
wtc%netscape.com
c956729585
Define the new macro _PR_POLL_WITH_SELECT for OSF1 and HP-UX.
...
OSF1 and HP-UX report the POLLHUP event for a socket when the
shutdown(SHUT_WR) operation is called for the remote end, even though
the socket is still writeable. Use select(), instead of poll(), to
workaround this problem.
Modified files: _hpux.h, _osf1.h, ptio.c
2000-06-08 17:48:39 +00:00
wtc%netscape.com
7e98aced72
Bugzilla bug #40941 : define _PR_HAVE_LARGE_OFF_T for ia64.
...
Removed ia64 classic nspr user-level thread stuff because
it doesn't work.
2000-06-07 19:15:27 +00:00
wtc%netscape.com
29c97a7f8f
Bugzilla bug #40778 : PR_GetConnectStatus was passing the wrong fd to
...
the connectcontinue method.
Modified files: prsocket.c, ptio.c.
2000-06-07 18:49:23 +00:00
larryh%netscape.com
1270201640
BugZilla: 40941. IA-64 Linux
2000-06-06 23:12:09 +00:00
wtc%netscape.com
dfa1f51479
Make the ifdef's in PR_Socket a little easier to understand.
...
Modified files: prsocket.c, ptio.c
2000-06-06 02:14:17 +00:00
wtc%netscape.com
336084068a
Fixed typo. Thanks to whoever posted a patch in mozilla.patches.
...
(I can't connect to the news server right now.)
2000-06-03 18:20:32 +00:00