diff options
author | Christopher Faylor <me@cgf.cx> | 2003-03-13 23:04:45 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2003-03-13 23:04:45 +0000 |
commit | a44f34ed05c4c3b8dbf24dfe6f62a9adb9784cd1 (patch) | |
tree | 8f2b33f79422530b94258853905b4611d362905a | |
parent | 7e977279eb28b83bf9e43eb289cc87f6be276986 (diff) | |
download | newlib-unlabeled-1.142.2.zip newlib-unlabeled-1.142.2.tar.gz newlib-unlabeled-1.142.2.tar.bz2 |
* fhandler_proc.cc (format_proc_cpuinfo): Fix vendor id in cpuid case.github/unlabeled-1.142.2unlabeled-1.142.2
* net.cc (cygwin_rcmd): Use correct file descriptor in call to fdsock.
(cygwin_rexec): Ditto.
-rw-r--r-- | winsup/cygwin/net.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/net.cc b/winsup/cygwin/net.cc index 53c8eff..dda0e31 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 |