472bcd2198
Compare fp with stdin not fileno(fp) with STDIN_FILENO, because if tail is called with 0 closed, then we are not going to be setting event filters for the file because we'll erroneously think it is stdin.