117 Commits

Author SHA1 Message Date
wtc%netscape.com
90fdb6e3db Ports to many Unix variants. Added the OMIT_LIB_BUILD_TIME workaround
for platforms that don't have 'long long'.  In pr/src/Makefile and
lib/libc/src/Makefile, use single quotes so that we can avoid
using backslashes in double quotes (that doesn't work under
MKS shell).


git-svn-id: svn://10.0.0.236/trunk@12330 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 21:31:09 +00:00
wtc%netscape.com
dbef7f99ba Restored libultrasparc.so. Our prior attempt to eliminate this
library doesn't work.
Modified files: Makefile, objs.mk, os_SunOS_ultrasparc.s, solaris.c.


git-svn-id: svn://10.0.0.236/trunk@12132 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 00:34:51 +00:00
wtc%netscape.com
4931f7bde9 Fixed HP-UX classic NSPR build breakage.
git-svn-id: svn://10.0.0.236/trunk@12011 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 02:31:53 +00:00
wtc%netscape.com
eda3f587e1 Removed all the autoconf *.in files in mozilla/nsprpub.
git-svn-id: svn://10.0.0.236/trunk@11919 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 19:19:56 +00:00
wtc%netscape.com
7c127508ee More mozilla/nsprpub updates, including:
- Patch for MkLinux and glibc 2.1.  Removed the MKLINUX macro.
  This patch is contributed by Tom Rini <trini@kernel.crashing.org>.
- Patch to make the emulated threads work on ARM/Linux.  Contributed
  by raff@netwinder.org.


git-svn-id: svn://10.0.0.236/trunk@11916 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 18:58:25 +00:00
cyeh%netscape.com
24bc22fe14 removing obsolete files. use MANIFEST instead.
git-svn-id: svn://10.0.0.236/trunk@11913 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 18:42:02 +00:00
pinkerton%netscape.com
8693440d91 carbon fixes.
git-svn-id: svn://10.0.0.236/trunk@11390 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:27:42 +00:00
wtc%netscape.com
1184dba161 Fixed Linux pthreads build breakage. Define _PR_POLL_AVAILABLE on
glibc systems.


git-svn-id: svn://10.0.0.236/trunk@11349 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 14:28:25 +00:00
wtc%netscape.com
e372290bb4 Fixed DG/UX build problems in NSPR20 v3.0 beta. The patch is
contributed by Marc J. Fraioli (fraioli@dg-rtp.dg.com).


git-svn-id: svn://10.0.0.236/trunk@11243 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 20:13:23 +00:00
wtc%netscape.com
8720d10f81 Temporary fix: comment out the exit() wrapper so that at least
Mozilla client builds and runs.  We will fix the wrong exit status
bug or zombie sproc bug later (which the exit() wrapper is for).


git-svn-id: svn://10.0.0.236/trunk@11154 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 14:32:11 +00:00
wtc%netscape.com
80b381b2fb Temporarily comment out the symbol __exit, which is not found
on all versions of IRIX.


git-svn-id: svn://10.0.0.236/trunk@11152 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 07:28:04 +00:00
wtc%netscape.com
6c927fbaea Removed reference to nonexisting test file.
git-svn-id: svn://10.0.0.236/trunk@11140 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 02:28:57 +00:00
wtc%netscape.com
2a8fb8402d poll() doesn't work on some Linux machines, so we go back
to using select().


git-svn-id: svn://10.0.0.236/trunk@11139 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 02:23:06 +00:00
wtc%netscape.com
6682416805 Include <sys/time.h> for the definition of FD_SETSIZE.
git-svn-id: svn://10.0.0.236/trunk@11129 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 00:08:49 +00:00
wtc%netscape.com
4fde6a01fa Define _PR_POLL_AVAILABLE and _PR_USE_POLL only for glibc2.
git-svn-id: svn://10.0.0.236/trunk@11127 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 00:01:16 +00:00
wtc%netscape.com
5a2946eacf Include <poll.h> instead of <sys/poll.h>. Some machines don't
have <sys/poll.h>.


git-svn-id: svn://10.0.0.236/trunk@11126 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 23:54:51 +00:00
wtc%netscape.com
4b4994d255 Removed unused macro and enum constant definitions.
git-svn-id: svn://10.0.0.236/trunk@11065 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 20:38:11 +00:00
wtc%netscape.com
c0b3e1fb5a NSPR20 v3.0 beta landing from NSPRPUB_RELEASE_3_0_LANDING_BRANCH.
git-svn-id: svn://10.0.0.236/trunk@11064 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 20:34:39 +00:00
wtc%netscape.com
29a67aadb5 Got rid of references to "OSF1" in this file. Thanks to
raff@aromatic.com for the problem report and the patch.


git-svn-id: svn://10.0.0.236/trunk@10898 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 06:14:26 +00:00
wtc%netscape.com
4cd6f2440e Bugzilla bug #122: merged NetBSD patch contributed by
Frank van der Linden (frank@wins.uva.nl).


git-svn-id: svn://10.0.0.236/trunk@10887 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 03:55:47 +00:00
wtc%netscape.com
06d57ca345 NO_NSPR_PRIVATE_HEADER_BRANCH landing. Removed the inclusions of
private NSPR headers (prosdep.h and primpl.h) from the Mozilla source.
The part of prosdep.h that is actually needed by Mozilla was extracted
and put in the new file mozilla/include/xp_path.h.


git-svn-id: svn://10.0.0.236/trunk@10691 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 16:59:57 +00:00
wtc%netscape.com
ed3165f8cc Removed the NSPR20 macro definition for XP_MAC.
git-svn-id: svn://10.0.0.236/trunk@10527 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 01:04:58 +00:00
wtc%netscape.com
d01d831960 Backed out the HAVE_LONG_LONG change temporarily because
it breaks binary compatibility.  We will put it back in
after the v3.0 release is branched off.


git-svn-id: svn://10.0.0.236/trunk@10525 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 00:50:31 +00:00
wtc%netscape.com
1530a9b3df Bug fix: If the envp argument for PR_CreateProcess is NULL,
call execv (instead of execve) so that the new process inherits
the environment of the parent process.


git-svn-id: svn://10.0.0.236/trunk@10524 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 00:21:35 +00:00
wtc%netscape.com
4862b6113f Renamed the 'index' argument for PR_Get/SetThreadPrivate to 'tpdIndex'.
This is because BSD systems have a funciton named 'index' in
<string.h>, and if you compile with the -Wshadow flag, gcc warns
that our declaration of `index' shadows global declaration.
Thanks to Ben Laurie <ben@algroup.co.uk> for the problem report
and the suggested workaround.


git-svn-id: svn://10.0.0.236/trunk@10523 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 00:18:18 +00:00
wtc%netscape.com
ee405299d7 Added the 'const' qualifier to the 'fmt' argument for PR_FormatTime.
This patch is contributed by Ben Laurie <ben@algroup.co.uk>.
Files changed: prtime.h and prtime.c.


git-svn-id: svn://10.0.0.236/trunk@10521 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 23:52:13 +00:00
wtc%netscape.com
6a3fdcf92b Moved the obsolete function PR_SetStdioRedirect from probslet.h
back to prproces.h because we don't want to break source
compatibility in this release.


git-svn-id: svn://10.0.0.236/trunk@10458 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 01:00:52 +00:00
wtc%netscape.com
5f37fc94d7 Added PR_ProcessAttrSetCurrentDirectory to allow setting the current
working directory of the new process.  PR_SetStdioRedirect is renamed
PR_ProcessAttrSetStdioRedirect.  The old name is retained but moved
to obsolete/probslet.h.  This work is contributed by Ben Laurie
<ben@algroup.co.ul>.
Files changed: prproces.h, probslet.h, primpl.h, uxproces.c, ntmisc.c,
prinit.c, and parent.c.


git-svn-id: svn://10.0.0.236/trunk@10338 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 02:15:21 +00:00
wtc%netscape.com
b4e70e6d93 Define HAVE_LONG_LONG on BSDI. (Acknowledgements: Bert Driehuis
<driehuis@playbeing.org>.)


git-svn-id: svn://10.0.0.236/trunk@10236 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 01:10:21 +00:00
wtc%netscape.com
4541f18760 For DG/UX, rename its OS_ARCH fro "dgux" to "DGUX".
dgux.mk is also renamed DGUX.mk.


git-svn-id: svn://10.0.0.236/trunk@9963 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-13 04:18:06 +00:00
wtc%netscape.com
b4549fd4bb Port to Linux/Strong Arm 110. Only the pthreads version works.
Files changed: Linux.mk, _linux.cfg, _linux.h.


git-svn-id: svn://10.0.0.236/trunk@9962 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-13 03:43:33 +00:00
wtc%netscape.com
adfc66903c In CreateMacPathFromUnixPath, return paramErr if unixPath is nil.
git-svn-id: svn://10.0.0.236/trunk@9763 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 21:08:47 +00:00
wtc%netscape.com
02280d597b In CreateMacPathFromUnixPath, the length of the macPath buffer
should be (strlen(unixPath) + 2) instead of (strlen(unixPath) * 2).
This is because for a zero-length unixPath, the macPath is ":",
which needs two bytes.  Thanks to Patrick Beard <beard@netscape.com>
and Steve Dagley <sdagley@netscape.com> for reporting the bug and
suggesting a fix.


git-svn-id: svn://10.0.0.236/trunk@9758 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 20:49:14 +00:00
wtc%netscape.com
fb7f0ca845 Fixed dprintf as suggested by Patrick Beard (beard@netscape.com).
Now dprintf calls PR_vsnprintf instead of PR_vsmprintf, so that
dprintf does not allocate memory.  This is because PR_Assert (which
calls dprintf) can get called at interrupt time, and it is unsafe
to allocate memory at interrupt time on the Mac.


git-svn-id: svn://10.0.0.236/trunk@9585 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 01:17:41 +00:00
wtc%netscape.com
38ce488bd0 On Unix, include <sys/types.h> for 'uint'.
git-svn-id: svn://10.0.0.236/trunk@9318 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 03:43:07 +00:00
warren%netscape.com
c2d6c41bed Added PR_DestroyLogModule.
git-svn-id: svn://10.0.0.236/trunk@8915 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 00:17:18 +00:00
cls%seawood.org
bde336e65a Updates to autoconf files.
git-svn-id: svn://10.0.0.236/trunk@8491 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 04:04:57 +00:00
cls%seawood.org
4288391d23 AUTOCONF_1_0 landing.
git-svn-id: svn://10.0.0.236/trunk@8198 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 20:42:14 +00:00
wtc%netscape.com
be00ad7fad Define HAVE_LONG_LONG because gcc/g++ support 'long long'.
git-svn-id: svn://10.0.0.236/trunk@8123 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 15:00:22 +00:00
wtc%netscape.com
8d30332e71 Use $< so that VPATH works.
git-svn-id: svn://10.0.0.236/trunk@7907 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 04:39:45 +00:00
wtc%netscape.com
b0a48fbf1e Increase the timer interval from 1ms to 8ms.
git-svn-id: svn://10.0.0.236/trunk@7906 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 04:38:42 +00:00
wtc%netscape.com
c6841eb8dc Checked in DG/UX port contributed by Marc Fraioli <fraioli@dg-rtp.dg.com>.
New files: dgux.mk, _dgux.cfg, _dgux.h, and dgux.c.
Files changed: lib/msgc/tests/Makefile, pr/include/md/Makefile,
_unixos.h, prosdep.h, prsocket.c, pr/src/md/unix/Makefile,
pr/src/md/unix/objs.mk, unix.c.


git-svn-id: svn://10.0.0.236/trunk@7782 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 22:29:48 +00:00
wtc%netscape.com
542d02e511 The local threads don't work on RedHat 5.1 Sparc Linux (with glibc2).
I suspect it's because glibc2's setjmp/longjmp (Sparc version) does
not allow us to modify the jmp_buf.  So I added some comments and
a #error directive to force the build to fail.


git-svn-id: svn://10.0.0.236/trunk@7709 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 23:38:38 +00:00
wtc%netscape.com
94bbe5a07a Merged Linux/MIPS patch contributed by Ralf <ralf@uni-koblenz.de>.
Files changed: _linux.cfg and _linux.h.


git-svn-id: svn://10.0.0.236/trunk@6347 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 00:52:44 +00:00
wtc%netscape.com
d9b16d723f Bugzilla bug #263: Merged the NetBSD port of NSPR contributed by
Frank van der Linden <frank@wins.uva.nl>.


git-svn-id: svn://10.0.0.236/trunk@5857 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 23:33:36 +00:00
danm
6a6b1ec5ab glowcode, the right way. bug 299200 a:don
git-svn-id: svn://10.0.0.236/trunk@5270 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 02:04:46 +00:00
danm
99159ddc96 glowcode. bug 299200 a:don.
git-svn-id: svn://10.0.0.236/trunk@5225 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 16:33:15 +00:00
wtc
a046f097da In _PR_MD_OPEN_DIR, we append \*.* to the directory name,
but if the directory name ends in a slash or backslash,
we do not append the backslash.
Files changed: ntio.c and w95io.c.


git-svn-id: svn://10.0.0.236/trunk@4780 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 05:13:10 +00:00
wtc
481c4718e5 Bug #180965: Mac gets PR_IO_PENDING_ERROR. In
SendReceiveStream and SendReceiveDgram, make
sure that we set the io_pending flag of the current
thread to PR_FALSE before we return.
In gethostbyname(), just store the OS error code in
me->md.osErrCode.  Do not call macsock_map_error()
to map to NSPR error code.


git-svn-id: svn://10.0.0.236/trunk@4588 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 20:24:25 +00:00
spider
d56dcfe52f NORMANDY_DDAY merge...
git-svn-id: svn://10.0.0.236/trunk@4478 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 05:50:45 +00:00