* net.cc (cygwin_rcmd): Use correct file descriptor in call to fdsock.
(cygwin_rexec): Ditto.
This commit is contained in:
parent
6fcd5661fe
commit
49a0d53c46
|
@ -1,3 +1,8 @@
|
||||||
|
2003-03-13 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* net.cc (cygwin_rcmd): Use correct file descriptor in call to fdsock.
|
||||||
|
(cygwin_rexec): Ditto.
|
||||||
|
|
||||||
2003-03-13 Christopher Faylor <cgf@redhat.com>
|
2003-03-13 Christopher Faylor <cgf@redhat.com>
|
||||||
|
|
||||||
* fhandler_tty.cc (fhandler_tty_slave::close): Fix typo in debug
|
* fhandler_tty.cc (fhandler_tty_slave::close): Fix typo in debug
|
||||||
|
|
|
@ -1931,7 +1931,7 @@ cygwin_rcmd (char **ahost, unsigned short inport, char *locuser,
|
||||||
|
|
||||||
fh = NULL;
|
fh = NULL;
|
||||||
if (newfd >= 0)
|
if (newfd >= 0)
|
||||||
fh = fdsock (*fd2p, "/dev/tcp", fd2s);
|
fh = fdsock (newfd, "/dev/tcp", fd2s);
|
||||||
if (fh)
|
if (fh)
|
||||||
*fd2p = newfd;
|
*fd2p = newfd;
|
||||||
else
|
else
|
||||||
|
@ -2015,7 +2015,7 @@ cygwin_rexec (char **ahost, unsigned short inport, char *locuser,
|
||||||
|
|
||||||
fh = NULL;
|
fh = NULL;
|
||||||
if (newfd >= 0)
|
if (newfd >= 0)
|
||||||
fh = fdsock (*fd2p, "/dev/tcp", fd2s);
|
fh = fdsock (newfd, "/dev/tcp", fd2s);
|
||||||
if (fh)
|
if (fh)
|
||||||
*fd2p = newfd;
|
*fd2p = newfd;
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue