Simon Josefsson <[EMAIL PROTECTED]> writes:

> The 'cp' command seems successful.  The problem is most likely caused by
> the EIO error returned by read, which is inside the tcl process.  Why
> that happens needs more debugging...

Searching for 'tcl' and 'EIO' suggests this may be an old expect problem
related to pty's, for example search for EIO in:

http://expect.nist.gov/doc/seven-years.pdf

There is also notes in the 'expect' changelog about EIO:

6/24/90 2.6     Pty master returns EIO instead of EOF when pty slave closes.
                Bug in pty driver?  Until I figure this out, I have put in code
                to interpret EIO to EOF.

I'm not sure how to fix this though.  Maybe writing a replacement for
'cp' in tcl/expect works around it...

I recall that this didn't happen on one of my systems which runs debian
etch, only on my main machine which runs debian testing.  The tcl and
expect versions are the same though, so possibly the kernel or libc
changed here?

/Simon


_______________________________________________
Bug-mailutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-mailutils

Reply via email to