the GNU ld or Solaris ld. Do not pass -B/usr/ccs/bin/ to gcc.
Modified files: configure configure.in autoconf.mk.in
lib/ds/Makefile.in lib/libc/src/Makefile.in pr/src/Makefile.in
git-svn-id: svn://10.0.0.236/trunk@140069 18797224-902f-48f8-a5cc-f745e15eee43
The patch is contributed by Michael Kaply <mkaply@us.ibm.com>. r=wtc.
Modified files: _os2 primpl.h os2thred.c
git-svn-id: svn://10.0.0.236/trunk@140063 18797224-902f-48f8-a5cc-f745e15eee43
FD_SETSIZE from the default 64 to 1024. Make PR_Poll fail with
PR_INVALID_ARGUMENT_ERROR if we try to add more than FD_SETSIZE fd's to a
fd_set. Do not pass an empty fd_set to select, and do not call select if
all three fd_sets are empty.
git-svn-id: svn://10.0.0.236/trunk@139803 18797224-902f-48f8-a5cc-f745e15eee43
that does not require setting FD_SETSIZE to 1024, which makes each fd_set
a 4 KB objec5.
git-svn-id: svn://10.0.0.236/trunk@138689 18797224-902f-48f8-a5cc-f745e15eee43
FD_SETSIZE from the default 64 to 1024. Make PR_Poll fail with
PR_INVALID_ARGUMENT_ERROR if we try to add more than FD_SETSIZE fd's to a
fd_set. Do not pass an empty fd_set to select, and do not call select if
all three fd_sets are empty.
git-svn-id: svn://10.0.0.236/trunk@138677 18797224-902f-48f8-a5cc-f745e15eee43
set them to the appropriate values. Calling mktime is not really correct
(it assumes the local time zone) and does not work on NetBSD.
git-svn-id: svn://10.0.0.236/trunk@138555 18797224-902f-48f8-a5cc-f745e15eee43
linker functions. Correctly handle the return value of NSUnLinkModule.
Pass NSADDIMAGE_OPTION_WITH_SEARCHING to NSAddImage.
cvs: ----------------------------------------------------------------------
git-svn-id: svn://10.0.0.236/trunk@138504 18797224-902f-48f8-a5cc-f745e15eee43
symbols. Added stubs so that PR_CreateThread ended up in its old position.
The patch is contributed by Colin Blakes <colin@theblakes.com>.
Modified Files: nspr_symvec.opt md/unix/openvms.c
git-svn-id: svn://10.0.0.236/trunk@138450 18797224-902f-48f8-a5cc-f745e15eee43
least one is up. This allows us to detect the local machine going from
offline to online.
git-svn-id: svn://10.0.0.236/trunk@138230 18797224-902f-48f8-a5cc-f745e15eee43
Changed old name "Rhapsody" to new name "Darwin".
Modified files: configure configure.in _darwin.h darwin.c
Added file: os_Darwin_ppc.s
git-svn-id: svn://10.0.0.236/trunk@138187 18797224-902f-48f8-a5cc-f745e15eee43
argument to NSUnLinkModule. Both macros have the same value (0), so this
is a cosmetic change.
git-svn-id: svn://10.0.0.236/trunk@136890 18797224-902f-48f8-a5cc-f745e15eee43
_PR_POLL_WITH_SELECT. We could still call FD_SET if the osfd was larger
than FD_SETSIZE. Fixed the bug that _PR_POLL_WITH_SELECT was defined after
the system header files had been included. Need to define it on the
compile command line. Define _USE_BIG_FDS on HP-UX. Because that macro
increases the size of fd_set to about 7500 bytes and PR_Poll allocates 3
fd_sets on the stack, also increased the minimum thread stack size to 128KB
on HP-UX.
Modified Files: configure configure.in _hpux.h _osf1.h ptio.c
git-svn-id: svn://10.0.0.236/trunk@136698 18797224-902f-48f8-a5cc-f745e15eee43
the callers to pass an argument to the call-once function.
Modified files: prinit.h nspr.def prinit.c
git-svn-id: svn://10.0.0.236/trunk@136571 18797224-902f-48f8-a5cc-f745e15eee43
AIX, HP-UX, Linux, Mac OS X, OSF1, Solaris, and Windows. Added the new
error code PR_LIBRARY_NOT_LOADED_ERROR for the error condition that the
library specified by "name" and "addr" is not loaded. Added a new test,
libfilename.c. Extended the PR_GetLibraryName function to not prepend any
directory if the first argument "dir" is NULL. The OSF1 implementation was
contributed by Steve Streeter <Stephen.Streeter@hp.com>.
Modified files: prerr.h prlink.h nspr.def pr/src/linking/Makefile.in
prlink.c compile-et.pl prerr.c prerr.et prerr.properties
pr/tests/Makefile.in runtests.ksh runtests.sh
Added file: pr/tests/libfilename.c
git-svn-id: svn://10.0.0.236/trunk@136465 18797224-902f-48f8-a5cc-f745e15eee43
The patch is contributed by Colin Blake <colin@theblakes.com>.
Modified Files: nspr_symvec.opt plds_symvec.opt plc_symvec.opt
git-svn-id: svn://10.0.0.236/trunk@136347 18797224-902f-48f8-a5cc-f745e15eee43
Mac OS X. 2. Reordered the Mac code in pr_LoadLibraryByPathName to try
loading various kinds of shared libraries in the order of most likely
success. The patch is contributed by Conrad Carlen <ccarlen@netscape.com>.
r=wtc. sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@136342 18797224-902f-48f8-a5cc-f745e15eee43
around year 2038. Use GetSystemTimeAsFileTime instead. The patch is
contributed by timeless@bemail.org.
Modified files: config/now.c _win95.h _winnt.h ntio.c ntmisc.c w95io.c
git-svn-id: svn://10.0.0.236/trunk@136305 18797224-902f-48f8-a5cc-f745e15eee43
the -z defs linker flag back.
Modified files: configure configure.in lib/ds/Makefile.in
lib/libc/src/Makefile.in pr/src/Makefile.in
2. Let pr/src/md/unix/Makefile.in be responsible for removing the
pr/src/cpu directory because it creates that directory. Note that the
'clean' target does not remove the directory because it doesn't remove
the .so's either.
Modified files: pr/src/Makefile.in, pr/src/md/unix/Makefile.in
git-svn-id: svn://10.0.0.236/trunk@135990 18797224-902f-48f8-a5cc-f745e15eee43
only). Define it as a no-op in optimized builds. Deleted PT_GetStats,
which is not useful.
Modified files: primpl.h, nspr.def, ptio.c
git-svn-id: svn://10.0.0.236/trunk@135927 18797224-902f-48f8-a5cc-f745e15eee43
additional copy of libnspr_flt4.so in pr/src/cpu/sparcv8plus if the
libnspr4.so installed in dist/lib is a symbolic link.
Modified files: pr/src/Makefile.in, pr/src/md/unix/Makefile.in
2. Made the 'release' and 'real_install' makefile targets install
libnspr_flt4.so in the cpu/sparcv8plus subdirectory of lib.
Modified files: config/rules.mk pr/src/md/unix/Makefile.in
git-svn-id: svn://10.0.0.236/trunk@135913 18797224-902f-48f8-a5cc-f745e15eee43
AIX because bos.rte.libc 4.3.3.88 includes a fix for a security bug that
greatly increases the amount of stack space used when calling functions
like gethostbyname. Thanks to Philip K. Warren <pkw@us.ibm.com> for the
fix.
git-svn-id: svn://10.0.0.236/trunk@135902 18797224-902f-48f8-a5cc-f745e15eee43
$(MAPFILE) should be removed by "make clean". In pr/src, the "cpu"
directory needs to be removed if NSDISTMODE is not "copy".
Modified Files:
pr/src/Makefile.in lib/ds/Makefile.in lib/libc/src/Makefile.in
git-svn-id: svn://10.0.0.236/trunk@135893 18797224-902f-48f8-a5cc-f745e15eee43
shared libraries are built with mapfiles that specify versioned export
symbols. We use the $ORIGIN and $ISALIST linker keywords to specify the
location of the ultrasparc filtee.
git-svn-id: svn://10.0.0.236/trunk@135843 18797224-902f-48f8-a5cc-f745e15eee43
function to always return 0 instead of delta time interval. The fix was
contributed by Peter Klavins <klavins@netspace.net.au>.
git-svn-id: svn://10.0.0.236/trunk@135410 18797224-902f-48f8-a5cc-f745e15eee43
counter frequency. Ignoring the high part of the frequency will cause
our interval timer code to malfunction if the high part is not zero.
Also took the opportunity to simplify the arithmetics.
git-svn-id: svn://10.0.0.236/trunk@135170 18797224-902f-48f8-a5cc-f745e15eee43
as NSPR is concerned. Invented a new macro AIX4_3_PLUS to indicate AIX 4.3
or higher.
Modified files: configure configure.in _pth.h prnetdb.c
git-svn-id: svn://10.0.0.236/trunk@135142 18797224-902f-48f8-a5cc-f745e15eee43