Commit Graph

1233 Commits

Author SHA1 Message Date
wtc%netscape.com
8a44425ba5 Bugzilla bug 95659: added _PR_CleanupStacks(), which is called from
PR_Cleanup().  The patch is contributed by jeff@NerdOne.com.
Modified files: primpl.h, prinit.c, prustack.c
2001-08-29 23:13:41 +00:00
wtc%netscape.com
5e402bc603 Bugzilla bug 94153: destroys the arena lock in PL_ArenaFinish. Also don't
need to hold the lock when destroying the arenas on the arena freelist.
The patch to destroy the arena lock was contributed by jeff@NerdOne.com.
2001-08-28 21:14:36 +00:00
wtc%netscape.com
83d6f3e66b Bugzilla bug 54353: free the log modules at NSPR cleanup. Thanks to
jeff@NerdOne.com for the patch.
2001-08-28 18:37:55 +00:00
wtc%netscape.com
4333c4a9e9 Bugzilla bug 96673: removed the unnecessary and non-portable initializers
for the sigaction structure.  Thanks rjesup@wgate.com (Randell Jesup) for
suggesting the fix.
2001-08-28 18:01:46 +00:00
cls%seawood.org
9bd8e241ee Escape ^ when calling grep as some shells interpret ^ instead of passing it to g
rep.
Thanks to dave@arsdigita.com (Drazen Kacar) for the patch.
Bug #96997 r=cls sr=wtc
2001-08-28 07:51:03 +00:00
wtc%netscape.com
4588c73f17 Merged brendan's fix from NSPRPUB_CLIENT_BRANCH (now obsolete). 2001-08-19 01:22:59 +00:00
wtc%netscape.com
7d46cbc739 Bugzilla bug 95744: handle the case that ENOTEMPTY and EEXIST have the
same value.  (They do on AIX 4.3.)
2001-08-17 13:31:15 +00:00
wtc%netscape.com
d5df6362a5 Bugzilla bug #88102: checked in a patch from Colin Blakes
<colin@theblakes.com> that allows him to easily switch between BSD V4.4
(the default) and BSD V4.3 sockets on OpenVMS.
2001-08-15 14:30:43 +00:00
cls%seawood.org
fda1d4c471 _MD_pr_poll should exit with error if select returns -1 and errno is not EINTR.
Bug #70808 r=darin
2001-08-14 01:01:58 +00:00
wtc%netscape.com
97852666ee Force a rebuild. 2001-08-13 19:55:38 +00:00
cls%seawood.org
de1bf3944c On BeOS, leave the stub libraries loaded as future versions of the BeOS kernel may unload the real libraries otherwise.
Thanks to Josh Soref <timeless@mac.com> for the patch.
Bug #83875 r=wtc,cls
2001-08-13 08:05:34 +00:00
cls%seawood.org
bdd892cb8d Adding --enable-strip option.
Bug #88045 r=wtc sr=waterson
2001-08-12 03:40:04 +00:00
wtc%netscape.com
74753646c9 Bugzilla bug #92810: increment or decrement the hashtable shift counter
only after we have successfully allocated the new buckets.  The patch
is from Brendan Eich.
2001-08-07 05:36:22 +00:00
larryh%netscape.com
0ba921175d Bugzilla: 92610. Mozilla on MacOS crashes in plarena 2001-07-27 20:34:04 +00:00
sdagley%netscape.com
149227605f Checking in beard's fix for bug #81659 from the 0.9.2 branch onto NSPR tip, r=pinkerton, sr=scc. 2001-07-25 03:20:12 +00:00
larryh%netscape.com
774eed2082 fix broken sed command 2001-07-24 23:50:38 +00:00
cls%seawood.org
772ee12667 Adding nsinstall & nspr-config. Bug #84824 r=wtc 2001-07-20 00:22:11 +00:00
wtc%netscape.com
ee05eeeee7 Bugzilla bug 88535: backed out some of the changes made in the previous
checkin.  Modified files: configure configure.in
2001-07-01 18:02:46 +00:00
wtc%netscape.com
cab7ee91e0 Bugzilla bug 88535: Use _OPTIMIZE_FLAGS and _DEBUG_FLAGS instead of
OPTIMIZER on Windows.  Set OPTIMIZER to _OPTIMIZE_FLAGS or _DEBUG_FLAGS.
Modified files: configure configure.in
2001-06-30 15:06:26 +00:00
wtc%netscape.com
2243f9864e Fixed build breakage on Mac. 2001-06-28 01:48:28 +00:00
wtc%netscape.com
52e7106288 Bugzilla bug 81659: restored the code that was accidentally deleted in
the previous checkin.
2001-06-27 15:14:34 +00:00
wtc%netscape.com
da5c3e2ff8 Bugzilla bug 86730: checked in optimization-related changes for OS/2
from Javier Pedemonte <pedemont@us.ibm.com>.
Modified files: configure configure.in
2001-06-27 03:02:24 +00:00
wtc%netscape.com
143d18e059 Bugzilla bug 84361: added large file support for Linux.
Modified files: configure configure.in _linux.h
Removed an unnecessary undefine of _FILE_OFFSET_BITS in solaris.c.
2001-06-27 03:00:34 +00:00
beard%netscape.com
66cad9ad74 Fix for bug #81659, r=pinkerton/wtc, sr=sfraser. 2001-06-27 01:54:48 +00:00
wtc%netscape.com
564c78bd80 Bugzilla bug 87493: PR_Accept() should retry after getting ECONNABORTED. 2001-06-24 06:02:24 +00:00
wtc%netscape.com
7d137da171 Bugzilla bug 87493: PR_Accept() should retry after getting ECONNABORTED. 2001-06-24 05:51:06 +00:00
wtc%netscape.com
25f3fcc95f Bugzilla bug 81011: Changed the return type of _PR_MD_TEST_AND_LOCK from
PRBool to PRIntn and documented its meaning.
Modifies files: _beos.h, _irix.h, _win16.h, _win95.h, primpl.h, os2cv.c.
2001-06-24 05:10:37 +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
67b5417285 Bugzilla Bug 63049: 64-bit Solaris does not need the libultrasparc4.so
(-f libatomic.so) filter library.
Modified files: configure configure.in _solaris.h pr/src/md/unix/Makefile
solaris.c.
Added file: os_SunOS_sparcv9.s.
2001-06-24 01:39:51 +00:00
wtc%netscape.com
7ae0287e30 Bug 64217: use locale-independent date format so that it doesn't
contain a quotation mark in any locale.  Thanks to tzafrir@technion.ac.il
for the bug report.
Modified Files:
	pr/src/Makefile.in lib/ds/Makefile.in lib/libc/src/Makefile.in
	lib/prstreams/Makefile.in
2001-06-23 14:42:24 +00:00
wtc%netscape.com
6df226985b Bugzilla bug #86797: made the configure script recognize darwin and
deleted the old name rhapsody.
Modified files: configure configure.in
2001-06-23 04:37:20 +00:00
wtc%netscape.com
3aeb80d883 Bugzilla bug #85673: added assembly implementation of the atomic routines
for OS/2 contributed by Michael Kaply of IBM.
Modified files: configure configure.in autoconf.mk.in rules.mk _os2.h
pr/src/md/os2/Makefile.in pr/src/md/os2/objs.mk os2misc.c
2001-06-23 04:09:19 +00:00
wtc%netscape.com
221b9800da Bugzilla bug #85673: added assembly implementation of the atomic routines
for OS/2 contributed by Michael Kaply of IBM.
2001-06-22 14:25:18 +00:00
wtc%netscape.com
4b0e8d0feb We no longer need to generate the .vms files on OpenVMS.
Modified files: config/rules.mk lib/ds/Makefile.in lib/libc/src/Makefile.in
lib/prstreams/Makefile.in pr/src/Makefile.in
2001-06-21 01:24:44 +00:00
wtc%netscape.com
4cde76f3bd Bugzilla bug #86941: worked around a TCP socket close() bug in Tru64
UNIX V5.1.
2001-06-20 22:53:38 +00:00
wtc%netscape.com
4c32289474 Bugzilla bug #86880: Map ECONNABORTED to PR_CONNECT_ABORTED_ERROR.
Thanks to Mark Wahl of Sun Microsystems for the bug report.
2001-06-20 18:03:47 +00:00
wtc%netscape.com
68e3e4fb7d Made the build_prerr rule work. 2001-06-14 23:02:04 +00:00
wtc%netscape.com
0bd1d755e4 Search in the Mozilla and boehm include directories only if
GC_LEAK_DETECTOR is defined.
2001-06-14 22:18:58 +00:00
wtc%netscape.com
d1f8da8b54 Deleted an extra line that was probably added incorrectly during merging. 2001-06-14 22:01:54 +00:00
wtc%netscape.com
eee2b1ecba Bugzilla bug #85979: always use the -xs compiler option in Solaris debug
builds.
Modified files: configure.in configure
2001-06-14 21:45:39 +00:00
wtc%netscape.com
1cf158507c Set CPU_ARCH for Linux.
Modified files: configure configure.in
2001-06-14 06:20:55 +00:00
wtc%netscape.com
14221aabfd Added Netscape/iPlanet internal binary release support. The new
variable RELEASE_OBJDIR_NAME is the object directory name used in
the "/share/builds/components" binary distribution area.  Also fixed
two typos (USE_USER_PTHREADS => USE_NSPR_THREADS).
Modified files: Makefile.in, configure, configure.in, config/autoconf.mk.in
2001-06-14 05:49:20 +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
sfraser%netscape.com
4bd2a71a05 Fix for bug 85514 -- use OTEnter/LeaveNotifer calls to fix synchronization problem caused by the OT notifier firing while we are inside OTSnd or OTRcv. r=gordon, wtc. a=blizzard 2001-06-14 01:35:05 +00:00
wtc%netscape.com
5f855f5339 Bugzilla bug #40941: Checked in Linux/ia64 patch from Bill Nottingham
<notting@redhat.com>.  It is for NSPR local threads, which we no longer
use now that we have pthreads.  I don't know if it works, but I check it
in anyway so that it is not lost.
2001-06-09 19:52:18 +00:00
gordon%netscape.com
e0f848551f Fix for bug 69285 "Mozilla is unresponsive after sleep", patch=sfraser, gordon, r=wtc. 2001-06-08 23:19:29 +00:00
wtc%netscape.com
e7e3c9ef1d Bugzilla bug #77264: the workaround for the new struct sockaddr_in6 in
glibc 2.2 is only needed when we compile with glibc 2.1.
Modified files: prsocket.c, ptio.c
2001-06-08 19:54:56 +00:00
wtc%netscape.com
296b3a2153 Added comments to explain the -Wp,-P compiler option for gcc on IRIX. 2001-06-07 01:15:32 +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
768f2af838 Define NS_USE_GCC. 2001-06-07 01:09:24 +00:00
larryh%netscape.com
ed3d3b6350 add target directories for Linux 2.4 kernel 2001-06-06 22:25:13 +00:00
wtc%netscape.com
b6a0ede958 Bugzilla bug #70834: made configure work on NetBSD. Thanks to
taya@sm.sony.co.jp (Shin'ichiro TAYA) for the patch.
Also fixed some typos.
Modified files: configure.in, configure.
2001-06-06 16:05:57 +00:00
wtc%netscape.com
024cd628f9 Bugzilla bug #83880: deleted code for turning off shared libraries.
Shared libraries, if supported by the platform, must be built.  Thanks
to Chris Seawood for the patch.
Modified files: configure.in, configure.
2001-06-06 04:52:44 +00:00
wtc%netscape.com
f864ebcadb Bugzilla bug #82436: assert that lock is not NULL in PR_Lock and PR_Unlock
to avoid crashing in an assertion statement like
PR_ASSERT(lock->owner != me) if lock is NULL.
2001-06-05 23:55:55 +00:00
wtc%netscape.com
83f5e097b0 Bugzilla bug #30746: in combined MxN thread model, let the primordial
thread remain a native thread.  Create a separate CPU thread to run
the local threads.
Modified files: prucpu.c, pruthr.c
2001-06-05 04:51:46 +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
cc0956733b Bugzilla bug #84035: we can't assume that 0 is an invalid value for the
pthread_t type and use 0 to indicate a lock has no owner.  Added a
'locked' boolean field explicitly to PRLock.  In PRMonitor, make the
owner field a PRThread* pointer, with a value of NULL indicating that
the monitor has no owner.  Thanks to Takis Psarogiannakopoulos for
reporting this bug and spending a year (off and on) tracking it down.
Modified files: _pth.h, primpl.h, and ptsynch.c.
2001-06-04 23:42:10 +00:00
larryh%netscape.com
97de1af860 Bugzilla 81666. new os2 locking 2001-06-04 22:20:48 +00:00
larryh%netscape.com
91994f317f Bugzilla: 79733. pruthr.c wrong MD calls 2001-06-04 21:52:20 +00:00
wtc%netscape.com
d5b0bb58cd Bugzilla bug #83930: fixed a typo in PR_LockFile. 2001-06-04 04:29:34 +00:00
wtc%netscape.com
3785d97929 Bugzilla bug #83845: the IPv6-to-IPv4 getpeername method was invoking
the getsockname method of the IPv4 socket layer.  Thanks to Terry Hayes
<thayes@netscape.com> for the bug fix.
2001-06-03 04:18:40 +00:00
larryh%netscape.com
f9530d4231 Gnu tar incompatible with Sun tar 2001-05-24 18:28:22 +00:00
larryh%netscape.com
71a0b19e19 Adding administrative/build files 2001-05-23 23:59:08 +00:00
wtc%netscape.com
12d8fd2a71 Bugzilla bug #77264: the IsValidNetAddrLen() check should accept both of
the possible sizes of struct sockaddr_in6 on Linux.
Modified files: prsocket.c, ptio.c.
2001-05-23 04:17:33 +00:00
wtc%netscape.com
d000404490 Bugzilla bug #77109: fixed NSPR library memory leaks on Mac. Patch is
contributed by Patrick Beard <beard@netscape.com>. r=sfraser,wtc.
2001-05-22 23:34:54 +00:00
larryh%netscape.com
04b923a327 correct copyright date 2001-05-22 23:03:54 +00:00
larryh%netscape.com
49ec000584 add directory admin 2001-05-22 22:57:36 +00:00
wtc%netscape.com
73fbfd545b Bugzilla bug #51135: IPv6 support on OpenVMS. Thanks to Colin Blakes
<colin@theblakes.com> for the patch.
Modified files: configure configure.in OpenVMS.mk _openvms.h pripv6.c
2001-05-22 18:50:21 +00:00
wtc%netscape.com
640403e3e4 Bugzilla bug #28711: enabled gcc to assemble os_Irix.s on IRIX. Thanks to
John Vandenberg <zeroJ@null.net> for the research and the fix.
Modified files: configure.in configure
2001-05-22 13:28:34 +00:00
wtc%netscape.com
b8e2e4c788 On Linux, use $(CC) to link the shared library. Define _REENTRANT in just
one place for Solaris.  Use the null command : instead of 'true'.
Modified files: configure.in, configure.
2001-05-21 22:55:09 +00:00
wtc%netscape.com
8e05fc6f8b Bugzilla bug #63019: NSS still uses NSPR static libraries, so we'll have
to continue to build NSPR static libraries until that NSS bug is fixed.
2001-05-21 22:45:31 +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
876c033b3a Don't use classic build system's OBJDIR_NAME and OBJDIR for Win32.
I am temporarily commenting out the code.  It needs to be clearned
up later.
Modified files: configure.in configure
2001-05-17 21:50:12 +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
wtc%netscape.com
00096755cf Removed MOZ_WIN32_TARGET, which is just a synonym of OS_TARGET.
Modified Files:
	configure configure.in config/autoconf.mk.in
	pr/src/md/windows/Makefile.in pr/src/md/windows/objs.mk
2001-05-17 02:27:02 +00:00
wtc%netscape.com
b959068cb0 Added the --enable-debug-rtl option for setting USE_DEBUG_RTL.
Modified Files:
	configure.in configure
2001-05-17 02:02:06 +00:00
wtc%netscape.com
ccf6d9f539 Verified that the autoconf build system is equivalent to the classic
build system on Win32.
Modified Files:
	configure configure.in
2001-05-17 01:46:09 +00:00
wtc%netscape.com
58625f3acb Verified that the autoconf build system is equivalent to the classic
build system on OSF1, IRIX, and FreeBSD.
	configure configure.in config/autoconf.mk.in config/config.mk
	lib/ds/Makefile.in lib/libc/src/Makefile.in pr/src/Makefile.in
2001-05-17 00:56:25 +00:00
larryh%netscape.com
11fce31b6f bugzilla: 80884. PR_Rmdir error 2001-05-16 00:04:34 +00:00
wtc%netscape.com
17680c472c Verified that the autoconf build system is equivalent to the classic
build system on AIX, HP-UX, Linux, and Solaris.  The 'release' makefile
target still doesn't quite work.
Modified Files:
	configure configure.in config/Makefile.in
	config/autoconf.mk.in config/config.mk config/nsinstall.c
	config/rules.mk lib/ds/Makefile.in lib/libc/src/Makefile.in
	pr/include/md/Makefile.in pr/src/misc/Makefile.in
2001-05-15 22:57:39 +00:00
wtc%netscape.com
0cb1f18b3d Restored the code that was accidentally deleted in rev. 3.3. 2001-05-14 22:24:12 +00:00
wtc%netscape.com
b3f5e1814f Restored code that was accidentally deleted in rev. 3.3. 2001-05-14 22:21:55 +00:00
wtc%netscape.com
3908b40881 Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-14 22:12:54 +00:00
wtc%netscape.com
5cf83526d8 Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-12 06:46:01 +00:00
wtc%netscape.com
75ea362396 Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-12 06:40:35 +00:00
wtc%netscape.com
f32c53c48b Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-12 06:26:43 +00:00
wtc%netscape.com
a3c435952d Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-12 06:15:54 +00:00
wtc%netscape.com
8137434163 Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-12 06:01:46 +00:00
wtc%netscape.com
4a9139a3c8 Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-12 05:31:44 +00:00
wtc%netscape.com
44941aece0 Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-12 05:12:58 +00:00
wtc%netscape.com
b90826da82 Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-12 04:56:57 +00:00
wtc%netscape.com
cb3e2fc976 Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-12 04:47:05 +00:00
wtc%netscape.com
00ddc0d707 Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-12 04:29:27 +00:00
wtc%netscape.com
ad583fbe5b Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-12 02:05:12 +00:00
wtc%netscape.com
b3f484691b Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-12 01:47:58 +00:00
wtc%netscape.com
b67462ffa6 Set NSPR version to 4.2 Beta. 2001-05-12 01:46:58 +00:00
wtc%netscape.com
1e5c959951 Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-12 01:31:18 +00:00
wtc%netscape.com
6a22bef151 Restored some deleted code. 2001-05-12 01:29:55 +00:00
wtc%netscape.com
7499a349b3 Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-12 01:17:17 +00:00
wtc%netscape.com
cb642bfbf4 Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-12 01:02:30 +00:00
wtc%netscape.com
b1696a7c97 Changed the license to MPL/GPL. 2001-05-12 01:00:41 +00:00
wtc%netscape.com
87da6fc235 Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-12 00:55:48 +00:00
wtc%netscape.com
da4bb17306 Merged NSPRPUB_CLIENT_BRANCH onto the trunk. Note that the Win16 stuff
has been deleted.
2001-05-12 00:49:17 +00:00
wtc%netscape.com
7def6a81bd Restored some deleted comments. 2001-05-12 00:36:58 +00:00
wtc%netscape.com
bef48de5a6 Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-12 00:36:57 +00:00
wtc%netscape.com
6e52a73ecc Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-12 00:08:21 +00:00
wtc%netscape.com
48b5deb759 Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-11 23:57:21 +00:00
wtc%netscape.com
9c72dbbd0c Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-11 23:49:42 +00:00
wtc%netscape.com
22925ad1c4 Bugzilla bug #76896: added PR_CALLBACK for OS/2. Thanks to Michael Kaply
<mkaply@us.ibm.com> for the patch.
Modified files: prcmon.h, prthread.h, prtime.h
2001-05-08 21:50:22 +00:00
sdagley%netscape.com
1b89d8d6cf #3616 - Enable long long in Mac version of NSPR (#defines the HAVE_LONG_LONG flag). sr=sfraser Checking in to NSPR tip to keep sync with version 3.3.2.2 on the NSPRPUB_CLIENT_BRANCH tag 2001-05-06 22:55:49 +00:00
wtc%netscape.com
bcaa5cf548 Bugzilla bug #70765: added more comments and use the byte count returned
by WriteFile as opposed to the len argument, just in case WriteFile writes
fewer bytes than requested.
2001-05-05 04:59:38 +00:00
wtc%netscape.com
27e9a829da Bugzilla bug #70295: fixed a bug introduced by my previous fix.
Modified files: prfile.c, ptio.c
2001-05-04 23:06:42 +00:00
larryh%netscape.com
00e58a0457 bugzilla: 70765. win2k file offset on networked drive 2001-04-25 22:08:38 +00:00
cls%seawood.org
235ca23653 Compaq changed uname to use osf as a basename instead of osf1 2001-04-16 23:21:31 +00:00
sfraser%netscape.com
ff576df0df These changes fix PR_Poll on Mac thusly: 1. Factor out checking the fds into a new function CheckPollDescs() 2. Factor out setting/clearing the polling thread on those fds into SetDescPollThread() 3. Be more careful about where we set the polling thread on the fds, ensuring that we turn off interrupts and hold a lock around the code that sets up the polling thread and checks for data on the fds. This fixes the race condition that causes this bug. 4. We now clear the polling thread on the fds when coming out of PR_Poll, so that the notifier doesn't attempt to wake the wrong thread when called when we're not polling. 5. Implement a 0-timeout version that behaves like select(). Bugzilla bugs 72965 and 60509. r=gordon, larryh. 2001-04-14 01:10:27 +00:00
sdagley%netscape.com
6f7f5f9d11 Fix #75928. Add prvrsion.c to Mac build so libVersionPoint() available (needed for for NSS 3.2.1 landing). r=javi@netscape.com,r/a=larryh@netscape.com Also sync'd Carbon targets in .mcp with version from NSPRPUB_CLIENT_BRANCH 2001-04-11 00:39:16 +00:00
cls%seawood.org
7e031eb081 Updating config.guess & config.sub with 2001-03-30 changes from the GNU master copy at :pserver:anoncvs@subversions.gnu.org:/cvs /config . 2001-04-05 04:41:13 +00:00
larryh%netscape.com
0ffcf38e58 bugzilla: 45343. re-implement PL_ArenaAllocate() 2001-04-03 23:23:02 +00:00
cls%seawood.org
8030422902 Add -lc to OS_LIBS for Linux.
Bug #72766
2001-03-25 04:44:02 +00:00
gordon%netscape.com
978b3710f5 Fix bug 73018 "SSL fails on Mac", check in for sfraser. r=pinkerton, sr=sfraser. 2001-03-23 22:41:07 +00:00
larryh%netscape.com
3248dfd91b bugzilla: 72261. fix linking problems 2001-03-21 19:36:31 +00:00
cls%seawood.org
448c273013 Fix for OS/2 emx build bustage.
Thanks to Dmitry Kubov <dmitry@north.cs.msu.su> for the patch.
Bug #72471 r=cls
2001-03-21 15:56:31 +00:00
gordon%netscape.com
0e33978665 Fix bug 72038 "FTP listings never stop loading on Mac", by sfraser and gordon. r= dougt, sr=scc. 2001-03-16 22:00:13 +00:00
gordon%netscape.com
90b20dc1a3 Fix bug 29338 "PR_Poll should not poll (spin) on Mac". Checking in for sfraser. r=dougt, sdagley, gordon, sr=sfraser, or vice versa. 2001-03-13 07:02:53 +00:00
cls%seawood.org
0172f6aa18 Irix requires the -f option when stripping non-executables. 2001-03-11 11:27:29 +00:00
cls%seawood.org
6f8a5d43c1 Use CC instead of LD to link.
Thanks to martin@NetBSD.ORG (Martin Husemann) for the patch.
Bug #61745 r=cls
2001-03-09 07:41:26 +00:00
cls%seawood.org
7716ca3226 Add individual boehm include path for our module dep tracking builds.
Thanks to L. David Baron <dbaron@fas.harvard.edu> for the patch.
Bug #59454 r=cls
2001-03-09 06:03:24 +00:00
cls%seawood.org
6ff6ea0cfd Actually use CPPFLAGS when passed to configure. 2001-03-09 04:51:09 +00:00
cls%seawood.org
143bbdb763 Set MD specific files for openbsd. 2001-03-07 04:20:28 +00:00
wtc%netscape.com
7e6b3bd5b2 Bugzilla bug #62877: deleted unused code added in the previous checkin. 2001-03-02 04:58:06 +00:00
wtc%netscape.com
f17c114167 Bugzilla bug #62877: checked in patches contributed by Javier Pedemonte
<pedemont@us.ibm.com> and Dmitry Kubov <dmitry@north.cs.msu.su>.
Modified files: prinet.h, _os2.h, os2poll.c, and os2sock.c.
2001-03-02 02:40:52 +00:00
wtc%netscape.com
2cb29553f8 Bugzilla bug #70381: zero the ipv6.ip field after we fail to parse a
string as an IPv6 address.  Thanks to Chris Elving for the bug report.
2001-02-28 01:02:45 +00:00
wtc%netscape.com
a647b1c101 Bugzilla bug #70295: do not hold _pr_flock_lock while calling the MD
lockfile function to avoid a deadlock.  The lockCount field of
PRFilePrivate may have the value of -1 to indicate that the MD lockfile
function is in progress.  Use _pr_flock_cv to wait for the completion
of the MD lockfile function.
Modified files: primpl.h, prfile.c, prio.c, ptio.c
2001-02-27 06:51:44 +00:00
cls%seawood.org
70a68f932e Fix nspr autoconf for OpenVMS.
Thanks to Colin Blake <colin@theblakes.com> for the patch.
Bug #69842 r=cls
2001-02-25 21:50:47 +00:00
wtc%netscape.com
21f455e99f Bugzilla bug #70116: make NSPR build on Win 98 with autoconf. Thanks to
David Avery <daa@distributed.net> for the bug report.
Modified files: configure, configure.in
2001-02-25 07:36:26 +00:00
wtc%netscape.com
2186cff612 Bugzilla bug #70058: define XP_UNIX on FreeBSD. Thanks to
Eric Hodel <drbrain-bugzilla@segment7.net> for the bug report.
Modified files: configure, configure.in
2001-02-24 22:00:46 +00:00
cls%seawood.org
42d4d89f4c Work for 9x users too 2001-02-24 08:18:12 +00:00
cls%seawood.org
1f2ef9daa4 Fix for OS/2 nspr autoconf bustage.
Thanks to Mike Kaply <mkaply@us.ibm.com> for the patch
Bug #70015 r=cls
2001-02-24 05:43:14 +00:00
cls%seawood.org
b8fad76766 Initial OS/2 nspr autoconf support. Bug #58804
Thanks to "Javier H Pedemonte" <pedemont@us.ibm.com> for the patch.
2001-02-24 05:39:43 +00:00
cls%seawood.org
79e7bb18c4 OS/2 platform dependent objs file. Thanks to Javier H. Pedemonte <pedemont@us.ibm.com> for the file. Bug #58804 2001-02-24 05:32:47 +00:00
cls%seawood.org
737ae63adf More generated files to ignore 2001-02-24 05:31:07 +00:00
wtc%netscape.com
d7b6d9ee3d Bugzilla bug #69496: set the minimum thread stack size on OpenVMS.
r=colin@theblakes.com.
Modified files: _openvms.h, ptthread.c
2001-02-22 23:38:32 +00:00
wtc%netscape.com
41ebfd961c Bugzilla bug #1816: allow building on Windows 98 with MKS or Cygwin tools. 2001-02-21 17:13:05 +00:00
cls%seawood.org
a3b2b44ba1 Allow spaces in --enable-optimize args. Bug #68246 r=leaf a=brendan 2001-02-09 21:30:09 +00:00
gordon%netscape.com
eeeb8dfe09 fix for bug 66508. r=pinkerton, sr=sfraser. Landing fix from 6.0 branch to detect orderlyDisconnects. 2001-02-07 01:03:35 +00:00
cls%seawood.org
dc35720a61 Automatically run config.status if configure changes. 2001-02-06 02:33:34 +00:00
cls%seawood.org
12ee1785dc Add -d to STRIP for bsdi 4.x 2001-02-04 04:59:26 +00:00
cls%seawood.org
a9db8787f2 bsdi 4.2 needs _PR_HAVE_GETPROTO_R & _PR_HAVE_GETPROTO_R_POINTER 2001-02-02 00:58:11 +00:00
cls%seawood.org
aa5a3e82db Landing autoconf support for all platforms except OS/2. 2001-01-29 05:36:31 +00:00
cls%seawood.org
d96d0bbfc2 Remove INSTALL. Add CPU_ARCH. 2001-01-29 05:34:20 +00:00
cls%seawood.org
5acc9729dd Create MOZ_CHECK_PTHREADS() macro that compiles a small test case using <pthread.h> so that systems like hpux & osf/1 will properly detect pthreads. 2001-01-27 22:57:59 +00:00
cls%seawood.org
ef94d9c12b Landing the following HPUX changes from the client branch:
1.18.19 - 1.18.2.22

Bring hpux section inline with HPUX.mk

Do not add +DA & +DS flags to CFLAGS until we figure out exactly how user define
d CFLAGS are supposed to interact with those.

Bug 58804
2001-01-27 22:55:12 +00:00
wtc%netscape.com
a081b936a2 Bugzilla bug #54796: PR_InitializeNetAddr and PR_SetNetAddr should zero
the socket address if the 'val' argument is not PR_IpAddrNull.
Reviewed by John Myers.
2001-01-27 15:22:02 +00:00
cls%seawood.org
a72d6e9220 Skip AC_PATH_PROG* checks for win32. r=bryner 2001-01-24 04:08:09 +00:00
wtc%netscape.com
7fc4e546c4 Bugzilla bug #66325: use the DYNAMIC_PATH flag for shl_load() only if the
specified path name is a plain file name (containing no directory), to
match the behavior of dlopen().
2001-01-23 20:46:25 +00:00
cls%seawood.org
bf882c78fb Add --enable-boehm to nspr autoconf 2001-01-23 15:55:29 +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
9a2f6fe5f5 gmake 3.79.1 requires that SHELL be evaluated immediately.
Thanks to Brian Ryner <bryner@uiuc.edu> for the patch.
2001-01-21 23:48:08 +00:00
cls%seawood.org
d343689a28 If MOZILLA_CLIENT is set and building on win32, set OS_TARGET to win95 like nsprpub/makefile.win does. 2001-01-21 06:42:27 +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
cls%seawood.org
5fe7b6a29d Landing changes to use autoconf on win32. Bug #58804 2001-01-19 09:44:03 +00:00
cls%seawood.org
bb5c53fa5e Add OS_LIBS to EXTRA_LIBS as necessary 2001-01-17 19:15:05 +00:00
cls%seawood.org
302068957b Don't link in OS_LIBS to shared libs by default 2001-01-17 19:14:16 +00:00
cls%seawood.org
2d4718acaa Add check for libpthreads (AIX). Set USE_PTHREADS properly for AIX. 2001-01-17 19:13:44 +00:00
cls%seawood.org
74fe5e6f9f Only define HAVE_LCHOWN if it is not already defined. Fixes AIX 2001-01-17 05:13:00 +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
e84cc06cfd Added BSDI logic from BSD_OS.mk 2001-01-04 23:37:29 +00:00
cls%seawood.org
6993f402e3 Upgrade to latest GNU cvs versions. 2001-01-04 09:29:40 +00:00
cls%seawood.org
6fdbc88979 Switch to $< & $@ so that VPATH can do its magic.
Bug #58804
2000-12-30 06:36:06 +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
a59f1f7e8e Bugzilla bug #63019: do not build static libraries unless the platform
does not have shared libraries.
2000-12-16 18:09:00 +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
cls%seawood.org
cac0928185 Change --enable-optimize to take an argument.
Bug #53486 r=timeless
2000-12-01 13:21:43 +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
cc726f2a63 Add gcc check for -pthreads if -pthread check fails. bug #44504 Thanks to madams
@janna.com (Mark G. Adams) for the patch.
2000-10-26 07:53:51 +00:00
cls%seawood.org
8a83c1e7af Treat irix64 builds as normal irix builds. 2000-10-25 21:36:02 +00:00
cls%seawood.org
d660fbbbb4 Fix Irix sections to properly handle USE_N32 2000-10-25 21:24:11 +00:00
cls%seawood.org
6d635df17c Fixed the strip check to work for cross-compile builds. Bug #11893 2000-10-25 03:30:47 +00:00
cls%seawood.org
08c9d5ab81 Set CROSS_COMPILE variable as appropriate so that cross-compiling works again. Bug #11890 2000-10-18 20:03:41 +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