Would someone please investigate this bug? ------- Start of forwarded message ------- From: Tetsuo Tsukamoto <[EMAIL PROTECTED]> To: bug-gnu-emacs@gnu.org Date: Sat, 01 Oct 2005 03:15:40 +0900 Subject: open-network-stream in batch mode causes SIGPOLL under GNU/Linux Sender: [EMAIL PROTECTED] X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on monty-python X-Spam-Level: X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.63
Hi, I experienced this strange problem with Emacs 21.3 and 22.0.50 (cvs) under GNU/Linux 2.4.xx or 2.6.xx, glibc 2.3.5. I have no idea if any other operating systems suffer. It will be reproduced by the following procedure. 1. Prepare an emacs lisp file. > % cat foo.el > (open-network-stream "foo" " *foo*" "localhost" "ssh") > foo It seems the fourth arg can be any valid service name. 2. Open a new terminal, or invoke a new shell process by M-x shell. The shell can be bash, zsh or any. 3. Execute the following command. > % emacs -batch -q -no-site-file -l ./foo.el Then Emacs exits before the command finishes, and the following error message appears. > SI/O possible The first "S" is the beginning of error message by Emacs, so this is "I/O possible". 4. When you repeat the same command in the same shell process, SIGPOLL will not occur, which seems to be the expected behavior. > % emacs -batch -q -no-site-file -l ./foo.el > Symbol's value as variable is void: foo I hope the problem will be fixed. - -- Tetsuo Tsukamoto _______________________________________________ Bug-gnu-emacs mailing list Bug-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs ------- End of forwarded message ------- _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel