* 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>
|
||||
|
||||
* 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;
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue