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
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
of the types int8, int16, and int32. This way people can include
nspr header and model.h in any order and won't get "type defined
twice" errors.
git-svn-id: svn://10.0.0.236/trunk@3522 18797224-902f-48f8-a5cc-f745e15eee43
necessary on IRIX 6.4 where -n32 is the default. Thanks to Tomi (a
CS student in Finland whose last name I forget) for the patch.
git-svn-id: svn://10.0.0.236/trunk@3520 18797224-902f-48f8-a5cc-f745e15eee43
but also WIN16 and OS2. I don't think WIN16 and OS2 have GetLastError().
Second, we always call DllErrorInternal() with the argument
_MD_ERRNO(), and _MD_ERRNO() is defined as GetLastError() on NT and
Win95.
git-svn-id: svn://10.0.0.236/trunk@3111 18797224-902f-48f8-a5cc-f745e15eee43
can be implicitly cast to void *. So the explicit (void *) cast
in the argument for PR_Free() should not be necessary.
git-svn-id: svn://10.0.0.236/trunk@3105 18797224-902f-48f8-a5cc-f745e15eee43
#ifndef AIX4_1 block. Thanks to C. Fung <carsonf@torolab.ibm.com>
for reporting this problem.
git-svn-id: svn://10.0.0.236/trunk@2910 18797224-902f-48f8-a5cc-f745e15eee43
format does not work. This patch is provided by Soren Juul Moller
<sjm@nwc.dk>.
git-svn-id: svn://10.0.0.236/trunk@2420 18797224-902f-48f8-a5cc-f745e15eee43
atomic routines. Thanks to Andrew Cassin <acassin@cs.mu.oz.au> for
this patch.
git-svn-id: svn://10.0.0.236/trunk@2157 18797224-902f-48f8-a5cc-f745e15eee43
branch is a temporary branch for us to copy the latest changes
from our internal development tree to the public mozilla tree.
git-svn-id: svn://10.0.0.236/trunk@1624 18797224-902f-48f8-a5cc-f745e15eee43
indicate that struct sockaddr_in on BSD/OS has a sa_len field.
The code in unix.c checks this macro. We acknowledge Bert Driehuis
<driehuis@playbeing.com> for reporting the bug and suggesting a fix.
git-svn-id: svn://10.0.0.236/trunk@1229 18797224-902f-48f8-a5cc-f745e15eee43
Thanks to David Nebinger (dnebinger@synertech.highmark.com) for reporting
the problem and suggesting the fix.
git-svn-id: svn://10.0.0.236/trunk@1221 18797224-902f-48f8-a5cc-f745e15eee43
'as') to assemble os_SunOS_ultrasparc.s because we need the -P option
of Solaris 'as' to run cpp and process header file inclusion. This
way we won't accidentally get GNU 'as', which doesn't understand -P.
We acknowledge Paul Kanz (pkanz@conix.com) for suggesting the fix.
git-svn-id: svn://10.0.0.236/trunk@1220 18797224-902f-48f8-a5cc-f745e15eee43
setjmp/signal seem to put machine instructions on the stack. This
fix is contributed by gatgul@voicenet.com (Uncle George).
git-svn-id: svn://10.0.0.236/trunk@1217 18797224-902f-48f8-a5cc-f745e15eee43
in netinet/in.h on SINIX 5.43. We acknowledge the help of Sanjay
Gupta <gupta@informix.com>.
git-svn-id: svn://10.0.0.236/trunk@1186 18797224-902f-48f8-a5cc-f745e15eee43
Chris Toshok (mcafee, toshok@netscape.com). It is classic NSPR,
local threads only (based on setjmp/longjmp).
git-svn-id: svn://10.0.0.236/trunk@1167 18797224-902f-48f8-a5cc-f745e15eee43