-
Niels Möller authored
is a pty. (do_eof): Removed the pty ^D hack,a s it's now taken care of by close_fd_write. * src/io.c (io_set_type): New function. (close_fd_nicely): Call close_fd_write, for handling the write-related work. (close_fd_write): If the fd is a pty, write a EOF (^D) character. * src/io.h (lsh_fd): New attribute TYPE. Rev: ChangeLog:1.512 Rev: src/io.c:1.167 Rev: src/io.h:1.90 Rev: src/server_session.c:1.85
7fd991ee