Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-03-16 00:49:12 +0300
committerChristopher Faylor <me@cgf.cx>2002-03-16 00:49:12 +0300
commitca175377858b9582040d995c4343e8edbdc524e2 (patch)
treeb390950dc9e821a3df08427c48ad0b1d553b73e3 /winsup/cygwin/net.cc
parenteeec2a483539433bd9bee2b74f0cdbf5a5094555 (diff)
* pinfo.cc (pinfo::init): Use PID_ALLPIDS flag to control when a redirected
block should be marked as nonexistent. (winpids::add): Use PID_ALLPIDS when looking for all pids. * cygwin.h (PID_ALLPIDS): New enum element.
Diffstat (limited to 'winsup/cygwin/net.cc')
-rw-r--r--winsup/cygwin/net.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/net.cc b/winsup/cygwin/net.cc
index 2008bbe74..17826d628 100644
--- a/winsup/cygwin/net.cc
+++ b/winsup/cygwin/net.cc
@@ -2456,7 +2456,7 @@ endhostent (void)
}
/* exported as recvmsg: standards? */
-extern "C" int
+extern "C" int
cygwin_recvmsg(int s, struct msghdr *msg, int flags)
{
int ret, nb;
@@ -2472,7 +2472,7 @@ cygwin_recvmsg(int s, struct msghdr *msg, int flags)
errno = ENOMEM;
return -1;
}
- nb = ret = cygwin_recvfrom (s, buf, tot, flags,
+ nb = ret = cygwin_recvfrom (s, buf, tot, flags,
(struct sockaddr *) msg->msg_name, (int *) &msg->msg_namelen);
p = buf;
while (nb > 0) {
@@ -2509,7 +2509,7 @@ cygwin_sendmsg(int s, const struct msghdr *msg, int flags)
memcpy (p, iov[i].iov_base, iov[i].iov_len);
p += iov[i].iov_len;
}
- ret = cygwin_sendto (s, buf, tot, flags,
+ ret = cygwin_sendto (s, buf, tot, flags,
(struct sockaddr *) msg->msg_name, msg->msg_namelen);
free (buf);
return ret;