unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* open-network-stream in batch mode causes SIGPOLL under GNU/Linux
@ 2005-09-30 18:15 Tetsuo Tsukamoto
  0 siblings, 0 replies; only message in thread
From: Tetsuo Tsukamoto @ 2005-09-30 18:15 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-09-30 18:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-30 18:15 open-network-stream in batch mode causes SIGPOLL under GNU/Linux Tetsuo Tsukamoto

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).