1462 Commits

Author SHA1 Message Date
wchang0222%aol.com
22a3bbe81e Bugzilla bug 233048: support 64-bit Solaris SPARC build with gcc. The
patch is contributed by Vladim¡r Marek <<Vladimir.Marek@printsoft.cz>.
r=wtc.


git-svn-id: svn://10.0.0.236/trunk@152679 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 21:08:09 +00:00
wchang0222%aol.com
6318e14d2d Bugzilla bug 224161: fixed a regression that was introduced in the fix
for this bug.  There was a missing '$' and the incorrect use of () around
variable names.


git-svn-id: svn://10.0.0.236/trunk@152476 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-07 15:23:49 +00:00
wchang0222%aol.com
011dffed43 Bugzilla bug 231195: fixed the crash in PR_LogCleanup if NSPR_LOG_FILE is
set to WinDebug.  Thanks to timeless@bemail.org for the patch. r=wtc.


git-svn-id: svn://10.0.0.236/trunk@152373 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-05 15:57:46 +00:00
wchang0222%aol.com
7d1ab463c4 Bugzilla bug 232120: added support for NetBSD's pthread library. The patch
is contributed by Shin'ichiro TAYA <taya@netbsd.org>. r=wtc.
Modified Files: configure configure.in ptio.c


git-svn-id: svn://10.0.0.236/trunk@152264 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-04 01:40:56 +00:00
wchang0222%aol.com
51a83dbb0e Bugzilla bug 231504: made --disable-strip work. r=bryner.
git-svn-id: svn://10.0.0.236/trunk@152049 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-29 22:41:50 +00:00
wchang0222%aol.com
00bcaa852a Bugzilla bug 224161: added support for Mac OS X Panther SDK. We assume
that NEXT_ROOT is set in the environment.  The patch is contributed by
Mike Pinkerton <pinkerton@aol.net>. r=wtc.
Modified files: configure configure.in pr/src/linking/Makefile.in


git-svn-id: svn://10.0.0.236/trunk@151972 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-28 21:11:04 +00:00
wchang0222%aol.com
a09da9d17c Bugzilla bug 232226: use the -bnortllib linker flag when building AIX
shared libraries so that they do not include a reference to the run time
linker library - only the main program needs to have a reference to the
run-time linker library.  The patch is contributed by Philip K. Warren
<pkw@us.ibm.com>. r=wtc.


git-svn-id: svn://10.0.0.236/trunk@151922 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-27 23:10:18 +00:00
wchang0222%aol.com
3a1fbf11bf Bugzilla bug 231786: extended PR_GetAddrInfoByName to support PR_AF_INET.
The patch was contributed by John G. Myers <jgmyers@speakeasy.net>. r=wtc
and darin.


git-svn-id: svn://10.0.0.236/trunk@151718 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-22 22:27:23 +00:00
wchang0222%aol.com
199c5acfbc Bugzilla bug 230837: define the _MD_INIT_CONTEXT macro correctly -- it
needs to set *status to PR_TRUE. The patch was contributed by
timeless@bemail.org. r=wtc.
Modified Files: _os2.h _solaris.h _win95.h


git-svn-id: svn://10.0.0.236/trunk@151597 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-20 21:23:33 +00:00
wchang0222%aol.com
2a56e54553 Bugzilla bug 228899: pass the RTLD_MEMBER flag to dlopen on AIX so that we
can load a shared library that is a member of an archive.  The patch was
contributed by Michael Lew <mlew@us.ibm.com>. r=wtc.


git-svn-id: svn://10.0.0.236/trunk@151594 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-20 19:49:03 +00:00
wchang0222%aol.com
44b285be1d Bugzilla bug 222037: we need to adjust the address family field of
PRNetAddr on return from getpeername.  The patch is contributed by
Fredrik Holmqvist <thesuckiestemail@yahoo.se>.  r=wtc,darin.


git-svn-id: svn://10.0.0.236/trunk@151010 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-08 02:30:03 +00:00
wchang0222%aol.com
02c04ebafb Checked in Neutrino (NTO) changes received from Adrian Mardare
<amardare@qnx.com>.  r=wtc.
Modified Files: _nto.h pr/tests/Makefile.in


git-svn-id: svn://10.0.0.236/trunk@150911 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-06 01:55:21 +00:00
wchang0222%aol.com
d4d9a26b21 Regenerated the configure script with the right version of autoconf.
git-svn-id: svn://10.0.0.236/trunk@150658 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-23 05:10:44 +00:00
darin%meer.net
3d5ad313db fixes bug 222031 "OSX getaddrinfo returns concatenated results from /etc/hosts and DNS, which breaks /etc/hosts based ad blocking" r=wtc
git-svn-id: svn://10.0.0.236/trunk@149793 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-27 01:33:22 +00:00
wchang0222%aol.com
ed8c0fd1a2 Updated for NSPR 4.5.
Modified Files: configure configure.in repackage.sh vercheck.c


git-svn-id: svn://10.0.0.236/trunk@149706 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-25 01:20:40 +00:00
wchang0222%aol.com
4de17b3c1c Bugzilla bug 226686: we need to close the new socket if _MD_FAST_ACCEPT or
_MD_FAST_ACCEPT_READ fails.


git-svn-id: svn://10.0.0.236/trunk@149705 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-25 00:48:07 +00:00
wchang0222%aol.com
f8f63444a5 Bugzilla bug 226470: use a C compiler rather than a C++ compiler to compile
C code.  Removed -qarch=com, which is the default for the compiler now.
This patch is contributed by Philip K. Warren <pkw@us.ibm.com>.


git-svn-id: svn://10.0.0.236/trunk@149694 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-24 22:20:01 +00:00
wchang0222%aol.com
2aea9edecd Bugzilla bug 226356: test for NULL before dereferencing a pointer. The
patch is contributed by timeless@bemail.org.  r=wtc.
Modified Files: bthreads/btmon.c pthreads/ptsynch.c threads/prmon.c


git-svn-id: svn://10.0.0.236/trunk@149628 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-22 06:57:02 +00:00
darin%meer.net
fd25d21244 fixes bug 216021 "chekesp error if i link against a msvcrt that is built with strict calling rules" patch=wtc r=darin
git-svn-id: svn://10.0.0.236/trunk@149490 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-18 09:49:40 +00:00
darin%meer.net
38aa2b6a2d fixes bug 226022 "overflow error in PR_Poll means timeout < 1 second returns too quickly" patch=brofield@jellycan.com r=wtc,darin
git-svn-id: svn://10.0.0.236/trunk@149487 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-18 06:18:56 +00:00
wchang0222%aol.com
ea406ede5f Bugzilla bug 219913: define _PR_HAVE_THREADSAFE_GETHOST for OS/2 so that
we can issue concurrent gethostbyname calls.  Moved the definition of
_PR_GLOBAL_THREADS_ONLY, BSD_SELECT, and TCPV40HDRS from configure.in to
_os2.h.
Modified files: configure configure.in _os2.h


git-svn-id: svn://10.0.0.236/trunk@149388 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-16 01:10:49 +00:00
wchang0222%aol.com
2b8874ac88 Bugzilla bug 224707: added Linux HPPA support. The patch came from the
Debian Mozilla package (maintainer is Takuo KITAME <kitame@debian.org>).
Modified Files: _linux.cfg _linux.h


git-svn-id: svn://10.0.0.236/trunk@149383 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-16 00:03:50 +00:00
wchang0222%aol.com
0199ff8322 Bugzilla bug 207803: added 64-bit UltraSPARC FreeBSD support to NSPR. The
patch was contributed by Joe Marcus Clarke <marcus@freebsd.org>, Thomas
Moestl <tmm@FreeBSD.org>, and Kris Kennaway <kris@freebsd.org>.  r=wtc.
Modified Files: configure configure.in _freebsd.cfg _freebsd.h


git-svn-id: svn://10.0.0.236/trunk@149380 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-15 23:39:36 +00:00
wchang0222%aol.com
4480041b25 Bugzilla bug 225260: link NSPR dynamic shared libraries with the
-headerpad_max_install_names option. sr=sfraser.


git-svn-id: svn://10.0.0.236/trunk@149226 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-13 02:03:44 +00:00
darin%meer.net
148858946f fixes bug 223811 "getaddrinfo returns 3 addrinfo structs for each IP address [was: very long timeout for retrying IPv6 to IPv4 addresses]" r=wtc
git-svn-id: svn://10.0.0.236/trunk@148644 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-31 05:10:48 +00:00
wchang0222%aol.com
8e392fef5e Bugzilla bug 223427: added a note section so that the linker knows we are
not executing off the stack.  This patch is received from Christopher
Blizzard of Red Hat <blizzard@redhat.com>.


git-svn-id: svn://10.0.0.236/trunk@148340 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-24 04:12:54 +00:00
wchang0222%aol.com
d4c2b98b27 Use a larger buffer.
git-svn-id: svn://10.0.0.236/trunk@148335 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-24 01:34:28 +00:00
wchang0222%aol.com
0198e54fd4 Added a missing printf statement.
git-svn-id: svn://10.0.0.236/trunk@148334 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-24 01:17:42 +00:00
wchang0222%aol.com
d723099aa8 Added formattm.c, a test program for PR_FormatTime and
PR_FormatTimeUSEnglish.


git-svn-id: svn://10.0.0.236/trunk@148333 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-24 01:02:40 +00:00
wchang0222%aol.com
d9654c791b Bugzilla bug 217121: fixed a crash in strftime on Mac OS X. The patch is
contributed by Ben Goodger <bugs@bengoodger.com>.


git-svn-id: svn://10.0.0.236/trunk@148331 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-24 00:47:19 +00:00
wchang0222%aol.com
0904e36810 Bugzilla bug 214411: fixed a bug introduced in the previous checkin.
threadid_key_destructor may get called on the primordial thread if the app
doesn't call PR_Cleanup and the assertion would fail.  Thanks to
Gerard Roos <gerard.roos@adnovum.ch> for contributing the patch.


git-svn-id: svn://10.0.0.236/trunk@148302 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-23 00:43:36 +00:00
wchang0222%aol.com
917c4d903b Bugzilla bug 179828: released plarena.h and plarena.c under the
MPL/GPL/LGPL tri-license. r=gerv,wtc.


git-svn-id: svn://10.0.0.236/trunk@148115 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-19 00:10:22 +00:00
wchang0222%aol.com
6570fbdef2 Bugzilla bug 221385: we need to set tm_zone and tm_gmtoff on FreeBSD, too.
The patch is contributed by Tai-hwa Liang <fk9cs702@sneakemail.com>. r=wtc.


git-svn-id: svn://10.0.0.236/trunk@147915 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-13 19:40:06 +00:00
wchang0222%aol.com
49e6d5cfc2 Bugzilla bug 221124: declare variables with const. Thanks to
timeless@bemail.org for the patch.


git-svn-id: svn://10.0.0.236/trunk@147778 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-09 01:29:23 +00:00
darin%meer.net
8bbf992632 fixes bug 220020 "PR_EnumerateAddrInfo should not special case port 0" r=wtc
git-svn-id: svn://10.0.0.236/trunk@147172 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-23 17:47:44 +00:00
wtc%netscape.com
c5ab769ff9 Removed all obsolete <OS>.mk files, which have been replaced by the
configure script.


git-svn-id: svn://10.0.0.236/trunk@147015 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-18 02:16:20 +00:00
wtc%netscape.com
af60eacd93 Bugzilla bug 208973: removed obsolete Mac classic CFM build files.
git-svn-id: svn://10.0.0.236/trunk@147014 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-18 02:03:57 +00:00
wtc%netscape.com
5a63ead344 Bugzilla bug 219487: fixed build failure on OpenVMS. struct addrinfo is
defined in <netdb.h>.  We use AI_CANONNAME, a macro to be used with struct
addrinfo, to detect that.


git-svn-id: svn://10.0.0.236/trunk@147009 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-18 00:48:43 +00:00
wtc%netscape.com
ca8a6d2045 Bugzilla bug 219061: fixed build failure on OSF1. struct addrinfo is
defined in <netdb.h> on recent Tru64 Unix releases.  We use AI_CANONNAME,
a macro to be used with struct addrinfo, to detect that.


git-svn-id: svn://10.0.0.236/trunk@147002 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-17 20:26:20 +00:00
wtc%netscape.com
aba8c23c27 Bugzilla bug 218967: do not initialize unsigned chars with character
constants '\ddd' where ddd is an octal number larger than 127 (decimal).
Such character constants have negative integer values if 'char' is signed.
Thanks to timeless@bemail.org for the bug report and a suggested fix.


git-svn-id: svn://10.0.0.236/trunk@147000 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-17 20:14:25 +00:00
wtc%netscape.com
f6be4bc50f Bugzilla bug 124958: the pthread priority range is 0-31 on OpenBSD. The
patch is contributed by Mats Palmgren <mats.palmgren@bredband.net>.  r=wtc.


git-svn-id: svn://10.0.0.236/trunk@146964 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-16 20:46:14 +00:00
wtc%netscape.com
571b3c6755 Bugzilla bug 215581: checked in the rest of the GCC 3.2.2 for OS/2 patch
from Javier Pedemonte <pedemont@us.ibm.com>.
Modified Files: prio.h prtypes.h os2misc.c


git-svn-id: svn://10.0.0.236/trunk@146962 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-16 20:35:10 +00:00
wtc%netscape.com
2ae4080507 Bugzilla bug 215581: build with GCC 3.2.2 for OS/2. The patch is
contributed by Javier Pedemonte <pedemont@us.ibm.com>.  r=wtc.


git-svn-id: svn://10.0.0.236/trunk@146941 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-16 01:58:03 +00:00
wtc%netscape.com
a18b3b69a3 Bugzilla bug 124958: Checked in OpenBSD changes from Mats Palmgren
<mats.palmgren@bredband.net>.  Added support for 64-bit SPARC v9, ELF
objects, etc.
Modified Files: _openbsd.cfg prlink.c prnetdb.c prtime.c


git-svn-id: svn://10.0.0.236/trunk@146938 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-16 00:18:13 +00:00
seawood%netscape.com
a41d67cd3b When calling windres, use a temp file to work around resource issues.
Bug #213281 r=wtc


git-svn-id: svn://10.0.0.236/trunk@146890 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-15 03:48:56 +00:00
wtc%netscape.com
08b7e963ce fix mingw/vc7 bustage
git-svn-id: svn://10.0.0.236/trunk@146833 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-13 15:10:24 +00:00
wtc%netscape.com
a63f61e7a3 Bugzilla bug 219104: handle sockaddr structures that have a sa_len field.
That field should not be copied to PRNetAddr's.  The patch is contributed
by David Baron <dbaron@mozilla.org>.  r=wtc.


git-svn-id: svn://10.0.0.236/trunk@146828 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-13 13:41:29 +00:00
darin%meer.net
1fe4362795 fixing build bustage for mingw & vc7
git-svn-id: svn://10.0.0.236/trunk@146823 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-13 01:02:40 +00:00
wtc%netscape.com
0768a60390 Added a test for PR_GetAddrInfoByName.
git-svn-id: svn://10.0.0.236/trunk@146822 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-13 00:18:41 +00:00
darin%meer.net
5d644844e4 landing patch for bug 211501 "NSPR should provide getaddrinfo" r=wtc
git-svn-id: svn://10.0.0.236/trunk@146800 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-11 21:42:16 +00:00