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>2003-03-14 02:04:45 +0300
committerChristopher Faylor <me@cgf.cx>2003-03-14 02:04:45 +0300
commita44f34ed05c4c3b8dbf24dfe6f62a9adb9784cd1 (patch)
tree8f2b33f79422530b94258853905b4611d362905a
parent7e977279eb28b83bf9e43eb289cc87f6be276986 (diff)
* fhandler_proc.cc (format_proc_cpuinfo): Fix vendor id in cpuid case.unlabeled-1.142.2
* net.cc (cygwin_rcmd): Use correct file descriptor in call to fdsock. (cygwin_rexec): Ditto.
-rw-r--r--winsup/cygwin/net.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/net.cc b/winsup/cygwin/net.cc
index 53c8eff1b..dda0e3113 100644
--- a/winsup/cygwin/net.cc
+++ b/winsup/cygwin/net.cc
@@ -1931,7 +1931,7 @@ cygwin_rcmd (char **ahost, unsigned short inport, char *locuser,
fh = NULL;
if (newfd >= 0)
- fh = fdsock (*fd2p, "/dev/tcp", fd2s);
+ fh = fdsock (newfd, "/dev/tcp", fd2s);
if (fh)
*fd2p = newfd;
else
@@ -2015,7 +2015,7 @@ cygwin_rexec (char **ahost, unsigned short inport, char *locuser,
fh = NULL;
if (newfd >= 0)
- fh = fdsock (*fd2p, "/dev/tcp", fd2s);
+ fh = fdsock (newfd, "/dev/tcp", fd2s);
if (fh)
*fd2p = newfd;
else