On Mon, Oct 14, 2002 at 06:03:43PM +0100, Joern Rennecke wrote:
There were some kernel bugs that were causing expect to hang waiting
for a program that exited. One bug caused wait to sometimes not
return when the program died, this one was fixed in Jaguar. Another
caused loss of output from a program that had died (when the program
was killed the output buffers were not being flushed or something).
This one can be worked around by judicious sleep's before exit (I
think the folks here hacked around it this way in gcc - Stan or
somebody would know more). It is also fixed, but not in a released
kernel.
I see the very same problems in Linux. It's so bad with cross
compiles that
every regression test has to be checked by hand.
I wonder if this might be bugs that have been copied from a common
(BSD? conceptual?) ancestor. Could you send me the patches, so I can
look if
I find some equivalent code in the Linux kernel sources?
I never saw it under Linux. But please make sure you have an expect
with my patch applied. I believe expect in RedHat 8.0 is ok.
H.J.