Hi Alfred,
* Alfred Perlstein <alfred@freebsd.org> wrote:
> 1) download the suite.
> 2) run "sh test.sh" to see the bug
> 3) run "sh test.sh yes" to not see the bug (sleep called)
Hmmm... It seems this is a TTY bug. When you close a TTY, the final
close() call should get stuck until all data is actually drained. This
doesn't seem to happen properly.
You can easily test this by performing a tcdrain() right after running
your perl script:
#include <termios.h>
| int
| main(int argc, char *argv[])
| {
|
| tcdrain(0);
| }
I'll see what I can do.
--
Ed Schouten <ed@80386.nl>
WWW: http://80386.nl/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (FreeBSD)
iEYEARECAAYFAkuX5/AACgkQ52SDGA2eCwWA8gCfSTlqSQfoE0fK0kL35xTscdVD
FWsAn0OvE3D8r03afpO4ddVhcdip4+DJ
=esZ+
-----END PGP SIGNATURE-----