A tempest in a tty pot
Posted Aug 2, 2009 15:36 UTC (Sun) by
pflugstad (subscriber, #224)
In reply to:
A tempest in a tty pot by nix
Parent article:
A tempest in a tty pot
Good explanation, thanks!
Shouldn't emacs really be looping until it get EOF/close on the pipe
(which would implicitly loop on -EINTR)? Unfortunatley, I don't have
my copy of Stevens handy... it's been too long since I messed with tty/pty stuff.
Depending on the ordering of SIGCHLD and reading data from the pipe seems quite fragile to me. I'm surprised something as mature/old as Emacs depends on it.
(
Log in to post comments)