home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.shrubbery.net
/
2015-02-07.ftp.shrubbery.net.tar
/
ftp.shrubbery.net
/
pub
/
rancid
/
expect-hack1
< prev
next >
Wrap
Text File
|
2005-06-20
|
402b
|
14 lines
*** exp_chan.c.FCS Tue Aug 14 16:55:54 2001
--- exp_chan.c Tue Aug 14 16:59:25 2001
***************
*** 119,124 ****
--- 119,125 ----
* nonblocking, the read will never block.
*/
+ fcntl(esPtr->fdin, F_SETFL, O_NONBLOCK);
bytesRead = read(esPtr->fdin, buf, (size_t) toRead);
/*printf("ExpInputProc: read(%d,,) = %d\r\n",esPtr->fdin,bytesRead);*/
if (bytesRead > -1) {