_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
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
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.
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
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
because gcc-compiled objects reference symbols not defined in -lc. The
correct fix is to use gcc to build the shared libraries, as we do on Linux.
Modified Files: configure.in configure
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
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.
$(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
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.
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.